Type Alias W

Source
pub type W = W<DMACR_SPEC>;
Expand description

Register DMACR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn rdmae(&mut self) -> RDMAE_W<'_, DMACR_SPEC>

Bit 0 - Receive DMA enable

Source

pub fn tdmae(&mut self) -> TDMAE_W<'_, DMACR_SPEC>

Bit 1 - Transmit DMA enable

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual