Struct rp2040_pac2::uart::regs::Uartdmacr[][src]

#[repr(transparent)]pub struct Uartdmacr(pub u32);

DMA Control Register, UARTDMACR

Implementations

impl Uartdmacr[src]

pub const fn dmaonerr(&self) -> bool[src]

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.

pub fn set_dmaonerr(&mut self, val: bool)[src]

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.

pub const fn txdmae(&self) -> bool[src]

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

pub fn set_txdmae(&mut self, val: bool)[src]

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

pub const fn rxdmae(&self) -> bool[src]

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

pub fn set_rxdmae(&mut self, val: bool)[src]

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

Trait Implementations

impl Clone for Uartdmacr[src]

impl Copy for Uartdmacr[src]

impl Default for Uartdmacr[src]

Auto Trait Implementations

impl Send for Uartdmacr

impl Sync for Uartdmacr

impl Unpin for Uartdmacr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.