[][src]Struct lpc55_pac::dma0::channel::xfercfg::WIDTH_W

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

Write proxy for field WIDTH

Implementations

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

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

Writes variant to the field

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

8-bit. 8-bit transfers are performed (8-bit source reads and destination writes).

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

16-bit. 6-bit transfers are performed (16-bit source reads and destination writes).

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

32-bit. 32-bit transfers are performed (32-bit source reads and destination writes).

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for WIDTH_W<'a>[src]

impl<'a> !Sync for WIDTH_W<'a>[src]

impl<'a> Unpin for WIDTH_W<'a>[src]

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.