Struct lpc55_pac::secgpio::mpin0::MPORTP_W[][src]

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

Field MPORTP writer - Masked port register (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.

Implementations

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

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for MPORTP_W<'a>

impl<'a> Sync for MPORTP_W<'a>

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