#[repr(u8)]
pub enum MAMP1_A {
Amp1,
Amp3,
Amp7,
Amp15,
Amp31,
Amp63,
Amp127,
Amp255,
Amp511,
Amp1023,
Amp2047,
Amp4095,
}
Expand description
DAC channel1 mask/amplitude selector
Value on reset: 0
Variants
Amp1
0: Unmask bit0 of LFSR/ triangle amplitude equal to 1
Amp3
1: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
Amp7
2: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
Amp15
3: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
Amp31
4: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
Amp63
5: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
Amp127
6: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
Amp255
7: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
Amp511
8: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
Amp1023
9: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
Amp2047
10: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
Amp4095
11: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Trait Implementations
impl Copy for MAMP1_A
impl StructuralPartialEq for MAMP1_A
Auto Trait Implementations
impl RefUnwindSafe for MAMP1_A
impl Send for MAMP1_A
impl Sync for MAMP1_A
impl Unpin for MAMP1_A
impl UnwindSafe for MAMP1_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more