[][src]Enum lpc54606_pac::ctimer0::ctcr::SELCC_A

#[repr(u8)]pub enum SELCC_A {
    CHANNEL_0_RISING,
    CHANNEL_0_FALLING,
    CHANNEL_1_RISING,
    CHANNEL_1_FALLING,
    CHANNEL_2_RISING,
    CHANNEL_2_FALLING,
}

Edge select. When bit 4 is 1, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is low. Values 0x2 to 0x3 and 0x6 to 0x7 are reserved.

Value on reset: 0

Variants

CHANNEL_0_RISING

0: Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set).

CHANNEL_0_FALLING

1: Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set).

CHANNEL_1_RISING

2: Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set).

CHANNEL_1_FALLING

3: Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set).

CHANNEL_2_RISING

4: Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set).

CHANNEL_2_FALLING

5: Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).

Trait Implementations

impl Clone for SELCC_A[src]

impl Copy for SELCC_A[src]

impl Debug for SELCC_A[src]

impl From<SELCC_A> for u8[src]

impl PartialEq<SELCC_A> for SELCC_A[src]

impl StructuralPartialEq for SELCC_A[src]

Auto Trait Implementations

impl Send for SELCC_A

impl Sync for SELCC_A

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