[][src]Enum lpc55_pac::ctimer0::ctcr::CINSEL_A

#[repr(u8)]pub enum CINSEL_A {
    CHANNEL_0,
    CHANNEL_1,
    CHANNEL_2,
    CHANNEL_3,
}

Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer.

Value on reset: 0

Variants

CHANNEL_0

0: Channel 0. CAPn.0 for CTIMERn

CHANNEL_1

1: Channel 1. CAPn.1 for CTIMERn

CHANNEL_2

2: Channel 2. CAPn.2 for CTIMERn

CHANNEL_3

3: Channel 3. CAPn.3 for CTIMERn

Trait Implementations

impl Clone for CINSEL_A[src]

impl Copy for CINSEL_A[src]

impl Debug for CINSEL_A[src]

impl From<CINSEL_A> for u8[src]

impl PartialEq<CINSEL_A> for CINSEL_A[src]

impl StructuralPartialEq for CINSEL_A[src]

Auto Trait Implementations

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, 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.