Struct msp432p401r::dma::dma_reqmaskset::SET_W[][src]

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

Field SET writer - Returns the request mask status of dma_req and dma_sreq, or disables the corresponding channel from generating DMA requests.

Implementations

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

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

Writes variant to the field

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

No effect. Use the DMA_REQMASKCLR Register to enable DMA requests.

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

Disables dma_req[C] and dma_sreq[C] from generating DMA requests. Writing to a bit where a DMA channel is not implemented has no effect.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for SET_W<'a>

impl<'a> Sync for SET_W<'a>

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