Struct rp2040_pac2::uart::regs::Uartdmacr [−][src]
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]
fn clone(&self) -> Uartdmacr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Uartdmacr
[src]
impl Default for Uartdmacr
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,