#[repr(transparent)]pub struct Uartimsc(pub u32);
Expand description
Interrupt Mask Set/Clear Register, UARTIMSC
Tuple Fields§
§0: u32
Implementations§
Source§impl Uartimsc
impl Uartimsc
Sourcepub const fn rimim(&self) -> bool
pub const fn rimim(&self) -> bool
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 set_rimim(&mut self, val: bool)
pub fn set_rimim(&mut self, val: bool)
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 const fn ctsmim(&self) -> bool
pub const fn ctsmim(&self) -> bool
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 set_ctsmim(&mut self, val: bool)
pub fn set_ctsmim(&mut self, val: bool)
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 const fn dcdmim(&self) -> bool
pub const fn dcdmim(&self) -> bool
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 set_dcdmim(&mut self, val: bool)
pub fn set_dcdmim(&mut self, val: bool)
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 const fn dsrmim(&self) -> bool
pub const fn dsrmim(&self) -> bool
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 set_dsrmim(&mut self, val: bool)
pub fn set_dsrmim(&mut self, val: bool)
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 const fn rxim(&self) -> bool
pub const fn rxim(&self) -> bool
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 set_rxim(&mut self, val: bool)
pub fn set_rxim(&mut self, val: bool)
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 const fn txim(&self) -> bool
pub const fn txim(&self) -> bool
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 set_txim(&mut self, val: bool)
pub fn set_txim(&mut self, val: bool)
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 const fn rtim(&self) -> bool
pub const fn rtim(&self) -> bool
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 set_rtim(&mut self, val: bool)
pub fn set_rtim(&mut self, val: bool)
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 const fn feim(&self) -> bool
pub const fn feim(&self) -> bool
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 set_feim(&mut self, val: bool)
pub fn set_feim(&mut self, val: bool)
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 const fn peim(&self) -> bool
pub const fn peim(&self) -> bool
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.
Sourcepub fn set_peim(&mut self, val: bool)
pub fn set_peim(&mut self, val: bool)
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.
Sourcepub const fn beim(&self) -> bool
pub const fn beim(&self) -> bool
Break error interrupt mask. A read returns the current mask for the UARTBEINTR interrupt. On a write of 1, the mask of the UARTBEINTR interrupt is set. A write of 0 clears the mask.
Sourcepub fn set_beim(&mut self, val: bool)
pub fn set_beim(&mut self, val: bool)
Break error interrupt mask. A read returns the current mask for the UARTBEINTR interrupt. On a write of 1, the mask of the UARTBEINTR interrupt is set. A write of 0 clears the mask.