Struct lpc55_pac::gpio::pin::PORT_W[][src]

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

Field PORT writer - Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

Implementations

impl<'a> PORT_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 PORT_W<'a>

impl<'a> Sync for PORT_W<'a>

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