Struct lpc55_pac::sct0::outputdirctrl::SETCLR2_W[][src]

pub struct SETCLR2_W<'a> { /* fields omitted */ }

Field SETCLR2 writer - Set/clear operation on output 2. Value 0x3 is reserved. Do not program this value.

Implementations

impl<'a> SETCLR2_W<'a>[src]

pub fn variant(self, variant: SETCLR2_A) -> &'a mut W[src]

Writes variant to the field

pub fn independent(self) -> &'a mut W[src]

Set and clear do not depend on the direction of any counter.

pub fn l_reversed(self) -> &'a mut W[src]

Set and clear are reversed when counter L or the unified counter is counting down.

pub fn h_reversed(self) -> &'a mut W[src]

Set and clear are reversed when counter H is counting down. Do not use if UNIFY = 1.

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for SETCLR2_W<'a>

impl<'a> Sync for SETCLR2_W<'a>

impl<'a> Unpin for SETCLR2_W<'a>

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.