Struct lpc55_pac::sct0::res::O8RES_W[][src]

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

Field O8RES writer - Effect of simultaneous set and clear on output 8.

Implementations

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

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

Writes variant to the field

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

No change.

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

Set output (or clear based on the SETCLR8 field in the OUTPUTDIRCTRL register).

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

Clear output (or set based on the SETCLR8 field).

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

Toggle output.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for O8RES_W<'a>

impl<'a> Sync for O8RES_W<'a>

impl<'a> Unpin for O8RES_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.