Type Alias rp2040_pac::spi0::sspdmacr::W

source ·
pub type W = W<SSPDMACR_SPEC>;
Expand description

Register SSPDMACR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rxdmae(&mut self) -> RXDMAE_W<'_, SSPDMACR_SPEC>

Bit 0 - Receive DMA Enable. If this bit is set to 1, DMA for the receive FIFO is enabled.

source

pub fn txdmae(&mut self) -> TXDMAE_W<'_, SSPDMACR_SPEC>

Bit 1 - Transmit DMA Enable. If this bit is set to 1, DMA for the transmit FIFO is enabled.

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