[−][src]Enum lpc55_pac::sct0::ev::ev_ctrl::DIRECTION_A
Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved.
Value on reset: 0
Variants
0: Direction independent. This event is triggered regardless of the count direction.
1: Counting up. This event is triggered only during up-counting when BIDIR = 1.
2: Counting down. This event is triggered only during down-counting when BIDIR = 1.
Trait Implementations
impl Clone for DIRECTION_A
[src]
pub fn clone(&self) -> DIRECTION_A
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DIRECTION_A
[src]
impl Debug for DIRECTION_A
[src]
impl From<DIRECTION_A> for u8
[src]
pub fn from(variant: DIRECTION_A) -> Self
[src]
impl PartialEq<DIRECTION_A> for DIRECTION_A
[src]
pub fn eq(&self, other: &DIRECTION_A) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for DIRECTION_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>,