Type Alias rp2040_pac::uart0::uartimsc::R
source · pub type R = R<UARTIMSC_SPEC>;
Expand description
Register UARTIMSC
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn rimim(&self) -> RIMIM_R
pub fn rimim(&self) -> RIMIM_R
Bit 0 - nUARTRI modem interrupt mask. A read returns the current mask for the UARTRIINTR interrupt. On a write of 1, the mask of the UARTRIINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn ctsmim(&self) -> CTSMIM_R
pub fn ctsmim(&self) -> CTSMIM_R
Bit 1 - nUARTCTS modem interrupt mask. A read returns the current mask for the UARTCTSINTR interrupt. On a write of 1, the mask of the UARTCTSINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn dcdmim(&self) -> DCDMIM_R
pub fn dcdmim(&self) -> DCDMIM_R
Bit 2 - nUARTDCD modem interrupt mask. A read returns the current mask for the UARTDCDINTR interrupt. On a write of 1, the mask of the UARTDCDINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn dsrmim(&self) -> DSRMIM_R
pub fn dsrmim(&self) -> DSRMIM_R
Bit 3 - nUARTDSR modem interrupt mask. A read returns the current mask for the UARTDSRINTR interrupt. On a write of 1, the mask of the UARTDSRINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn rxim(&self) -> RXIM_R
pub fn rxim(&self) -> RXIM_R
Bit 4 - Receive interrupt mask. A read returns the current mask for the UARTRXINTR interrupt. On a write of 1, the mask of the UARTRXINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn txim(&self) -> TXIM_R
pub fn txim(&self) -> TXIM_R
Bit 5 - Transmit interrupt mask. A read returns the current mask for the UARTTXINTR interrupt. On a write of 1, the mask of the UARTTXINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn rtim(&self) -> RTIM_R
pub fn rtim(&self) -> RTIM_R
Bit 6 - Receive timeout interrupt mask. A read returns the current mask for the UARTRTINTR interrupt. On a write of 1, the mask of the UARTRTINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn feim(&self) -> FEIM_R
pub fn feim(&self) -> FEIM_R
Bit 7 - Framing error interrupt mask. A read returns the current mask for the UARTFEINTR interrupt. On a write of 1, the mask of the UARTFEINTR interrupt is set. A write of 0 clears the mask.
sourcepub fn peim(&self) -> PEIM_R
pub fn peim(&self) -> PEIM_R
Bit 8 - Parity error interrupt mask. A read returns the current mask for the UARTPEINTR interrupt. On a write of 1, the mask of the UARTPEINTR interrupt is set. A write of 0 clears the mask.