#[repr(u8)]pub enum GAIN_A {
GAIN1_6 = 0,
GAIN1_5 = 1,
GAIN1_4 = 2,
GAIN1_3 = 3,
GAIN1_2 = 4,
GAIN1 = 5,
GAIN2 = 6,
GAIN4 = 7,
}
Expand description
Gain control
Value on reset: 0
Variants§
GAIN1_6 = 0
0: 1/6
GAIN1_5 = 1
1: 1/5
GAIN1_4 = 2
2: 1/4
GAIN1_3 = 3
3: 1/3
GAIN1_2 = 4
4: 1/2
GAIN1 = 5
5: 1
GAIN2 = 6
6: 2
GAIN4 = 7
7: 4
Trait Implementations§
impl Copy for GAIN_A
impl StructuralPartialEq for GAIN_A
Auto Trait Implementations§
impl Freeze for GAIN_A
impl RefUnwindSafe for GAIN_A
impl Send for GAIN_A
impl Sync for GAIN_A
impl Unpin for GAIN_A
impl UnwindSafe for GAIN_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)