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

#[repr(u8)]
pub enum PSEL_A {
    VDDADJ,
    VTEMP,
    VEXT1,
    VEXT2,
}

This bitfield selects the positive input to the comparator.

Value on reset: 0

Variants

VDDADJ

0: Use VDDADJ for the positive input.

VTEMP

1: Use the temperature sensor output for the positive input.

VEXT1

2: Use external voltage 1 for positive input.

VEXT2

3: Use external voltage 1 for positive input.

Trait Implementations

impl Clone for PSEL_A[src]

impl Copy for PSEL_A[src]

impl Debug for PSEL_A[src]

impl From<PSEL_A> for u8[src]

impl PartialEq<PSEL_A> for PSEL_A[src]

impl StructuralPartialEq for PSEL_A[src]

Auto Trait Implementations

impl Send for PSEL_A

impl Sync for PSEL_A

impl Unpin for PSEL_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.