[][src]Struct k210_pac::dmac::channel::ctl::SRC_TR_WIDTH_W

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

Write proxy for field src_tr_width

Methods

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

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

Writes variant to the field

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

8 bits

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

16 bits

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

32 bits

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

64 bits

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

128 bits

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

256 bits

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

512 bits

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Unpin for SRC_TR_WIDTH_W<'a>

impl<'a> Send for SRC_TR_WIDTH_W<'a>

impl<'a> !Sync for SRC_TR_WIDTH_W<'a>

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]