[][src]Enum lpc55_pac::syscon::comp_int_ctrl::INT_CTRL_A

[]
#[repr(u8)]pub enum INT_CTRL_A {
    EDGE_DISABLE,
    LVL_DISABLE,
    EDGE_RISING,
    LVL_HIGH,
    EDGE_FALLING,
    LVL_LOW,
    EDGE_BOTH,
    LVL_DIS2,
}
[]

Comparator interrupt type selector:.

Value on reset: 0

Variants

EDGE_DISABLE
[]

0: The analog comparator interrupt edge sensitive is disabled.

LVL_DISABLE
[]

1: The analog comparator interrupt level sensitive is disabled.

EDGE_RISING
[]

2: analog comparator interrupt is rising edge sensitive.

LVL_HIGH
[]

3: Analog Comparator interrupt is high level sensitive.

EDGE_FALLING
[]

4: analog comparator interrupt is falling edge sensitive.

LVL_LOW
[]

5: Analog Comparator interrupt is low level sensitive.

EDGE_BOTH
[]

6: analog comparator interrupt is rising and falling edge sensitive.

LVL_DIS2
[]

7: The analog comparator interrupt level sensitive is disabled.

Trait Implementations

impl Clone for INT_CTRL_A[src][+]

impl Copy for INT_CTRL_A[src]

impl Debug for INT_CTRL_A[src][+]

impl From<INT_CTRL_A> for u8[src][+]

impl PartialEq<INT_CTRL_A> for INT_CTRL_A[src][+]

impl StructuralPartialEq for INT_CTRL_A[src]

Auto Trait Implementations

impl Send for INT_CTRL_A

impl Sync for INT_CTRL_A

impl Unpin for INT_CTRL_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[src]

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.