[][src]Enum lpc54606_pac::pint::pmcfg::CFG1_A

#[repr(u8)]pub enum CFG1_A {
    CONSTANT_HIGH,
    STICKY_RISING_EDGE,
    STICKY_FALLING_EDGE,
    STICKY_RISING_FALLING_EDGE,
    HIGH_LEVEL,
    LOW_LEVEL,
    CONSTANT_ZERO,
    EVENT,
}

Specifies the match contribution condition for bit slice 1.

Value on reset: 0

Variants

CONSTANT_HIGH

0: Constant HIGH. This bit slice always contributes to a product term match.

STICKY_RISING_EDGE

1: Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.

STICKY_FALLING_EDGE

2: Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.

STICKY_RISING_FALLING_EDGE

3: Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.

HIGH_LEVEL

4: High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.

LOW_LEVEL

5: Low level. Match occurs when there is a low level on the specified input.

CONSTANT_ZERO

6: Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).

EVENT

7: Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.

Trait Implementations

impl Clone for CFG1_A[src]

impl Copy for CFG1_A[src]

impl Debug for CFG1_A[src]

impl From<CFG1_A> for u8[src]

impl PartialEq<CFG1_A> for CFG1_A[src]

impl StructuralPartialEq for CFG1_A[src]

Auto Trait Implementations

impl Send for CFG1_A

impl Sync for CFG1_A

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