Type Alias rp2040_pac::xip_ssi::dmacr::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