rp2040_pac::spi0::sspdmacr

Type Alias 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