[−][src]Enum lpc55s6x_pac::ctimer0::ctcr::SELCCR
Possible values of the field SELCC
Variants
CHANNEL_0_RISING
Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
CHANNEL_0_FALLING
Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set).
CHANNEL_1_RISING
Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
CHANNEL_1_FALLING
Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set).
CHANNEL_2_RISING
Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
CHANNEL_2_FALLING
Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
_Reserved(u8)
Reserved
Methods
impl SELCCR
[src][−]
pub fn bits(&self) -> u8
[src][−]
Value of the field as raw bits
pub fn is_channel_0_rising(&self) -> bool
[src][−]
Checks if the value of the field is CHANNEL_0_RISING
pub fn is_channel_0_falling(&self) -> bool
[src][−]
Checks if the value of the field is CHANNEL_0_FALLING
pub fn is_channel_1_rising(&self) -> bool
[src][−]
Checks if the value of the field is CHANNEL_1_RISING
pub fn is_channel_1_falling(&self) -> bool
[src][−]
Checks if the value of the field is CHANNEL_1_FALLING
pub fn is_channel_2_rising(&self) -> bool
[src][−]
Checks if the value of the field is CHANNEL_2_RISING
pub fn is_channel_2_falling(&self) -> bool
[src][−]
Checks if the value of the field is CHANNEL_2_FALLING
Trait Implementations
impl PartialEq<SELCCR> for SELCCR
[src][+]
impl Copy for SELCCR
[src]
impl Debug for SELCCR
[src][+]
impl Clone for SELCCR
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self