[−][src]Enum lpc55_pac::ctimer0::ctcr::CINSEL_A
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
0: Channel 0. CAPn.0 for CTIMERn
1: Channel 1. CAPn.1 for CTIMERn
2: Channel 2. CAPn.2 for CTIMERn
3: Channel 3. CAPn.3 for CTIMERn
Trait Implementations
impl Clone for CINSEL_A
[src]
pub fn clone(&self) -> CINSEL_A
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
pub fn eq(&self, other: &CINSEL_A) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for CINSEL_A
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,