Type Alias rp2040_pac::uart0::uartdmacr::W
source · pub type W = W<UARTDMACR_SPEC>;
Expand description
Register UARTDMACR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn rxdmae(&mut self) -> RXDMAE_W<'_, UARTDMACR_SPEC>
pub fn rxdmae(&mut self) -> RXDMAE_W<'_, UARTDMACR_SPEC>
Bit 0 - Receive DMA enable. If this bit is set to 1, DMA for the receive FIFO is enabled.
sourcepub fn txdmae(&mut self) -> TXDMAE_W<'_, UARTDMACR_SPEC>
pub fn txdmae(&mut self) -> TXDMAE_W<'_, UARTDMACR_SPEC>
Bit 1 - Transmit DMA enable. If this bit is set to 1, DMA for the transmit FIFO is enabled.
sourcepub fn dmaonerr(&mut self) -> DMAONERR_W<'_, UARTDMACR_SPEC>
pub fn dmaonerr(&mut self) -> DMAONERR_W<'_, UARTDMACR_SPEC>
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.