Type Alias rp2040_pac::uart0::uartdmacr::R

source ·
pub type R = R<UARTDMACR_SPEC>;
Expand description

Register UARTDMACR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn rxdmae(&self) -> RXDMAE_R

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

source

pub fn txdmae(&self) -> TXDMAE_R

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

source

pub fn dmaonerr(&self) -> DMAONERR_R

Bit 2 - DMA on error. If this bit is set to 1, the DMA receive request outputs, UARTRXDMASREQ or UARTRXDMABREQ, are disabled when the UART error interrupt is asserted.