#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.