[][src]Enum ambiq_apollo1_pac::vcomp::cfg::LVLSEL_A

#[repr(u8)]
pub enum LVLSEL_A {
    _0P58V,
    _0P77V,
    _0P97V,
    _1P16V,
    _1P35V,
    _1P55V,
    _1P74V,
    _1P93V,
    _2P13V,
    _2P32V,
    _2P51V,
    _2P71V,
    _2P90V,
    _3P09V,
    _3P29V,
    _3P48V,
}

When the reference input NSEL is set to NSEL_DAC, this bitfield selects the voltage level for the negative input to the comparator.

Value on reset: 0

Variants

_0P58V

0: Set Reference input to 0.58 Volts.

_0P77V

1: Set Reference input to 0.77 Volts.

_0P97V

2: Set Reference input to 0.97 Volts.

_1P16V

3: Set Reference input to 1.16 Volts.

_1P35V

4: Set Reference input to 1.35 Volts.

_1P55V

5: Set Reference input to 1.55 Volts.

_1P74V

6: Set Reference input to 1.74 Volts.

_1P93V

7: Set Reference input to 1.93 Volts.

_2P13V

8: Set Reference input to 2.13 Volts.

_2P32V

9: Set Reference input to 2.32 Volts.

_2P51V

10: Set Reference input to 2.51 Volts.

_2P71V

11: Set Reference input to 2.71 Volts.

_2P90V

12: Set Reference input to 2.90 Volts.

_3P09V

13: Set Reference input to 3.09 Volts.

_3P29V

14: Set Reference input to 3.29 Volts.

_3P48V

15: Set Reference input to 3.48 Volts.

Trait Implementations

impl Clone for LVLSEL_A[src]

impl Copy for LVLSEL_A[src]

impl Debug for LVLSEL_A[src]

impl From<LVLSEL_A> for u8[src]

impl PartialEq<LVLSEL_A> for LVLSEL_A[src]

impl StructuralPartialEq for LVLSEL_A[src]

Auto Trait Implementations

impl Send for LVLSEL_A

impl Sync for LVLSEL_A

impl Unpin for LVLSEL_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.