Enum lpc55_pac::sct0::outputdirctrl::SETCLR12_A
source · [−]#[repr(u8)]
pub enum SETCLR12_A {
INDEPENDENT,
L_REVERSED,
H_REVERSED,
}
Expand description
Set/clear operation on output 12. Value 0x3 is reserved. Do not program this value.
Value on reset: 0
Variants
INDEPENDENT
0: Set and clear do not depend on the direction of any counter.
L_REVERSED
1: Set and clear are reversed when counter L or the unified counter is counting down.
H_REVERSED
2: Set and clear are reversed when counter H is counting down. Do not use if UNIFY = 1.
Trait Implementations
sourceimpl Clone for SETCLR12_A
impl Clone for SETCLR12_A
sourcefn clone(&self) -> SETCLR12_A
fn clone(&self) -> SETCLR12_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SETCLR12_A
impl Debug for SETCLR12_A
sourceimpl From<SETCLR12_A> for u8
impl From<SETCLR12_A> for u8
sourcefn from(variant: SETCLR12_A) -> Self
fn from(variant: SETCLR12_A) -> Self
Performs the conversion.
sourceimpl PartialEq<SETCLR12_A> for SETCLR12_A
impl PartialEq<SETCLR12_A> for SETCLR12_A
impl Copy for SETCLR12_A
impl StructuralPartialEq for SETCLR12_A
Auto Trait Implementations
impl RefUnwindSafe for SETCLR12_A
impl Send for SETCLR12_A
impl Sync for SETCLR12_A
impl Unpin for SETCLR12_A
impl UnwindSafe for SETCLR12_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more