#[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.
Trait Implementations§
impl Copy for Uartimsc
impl Eq for Uartimsc
impl StructuralPartialEq for Uartimsc
Auto Trait Implementations§
impl Freeze for Uartimsc
impl RefUnwindSafe for Uartimsc
impl Send for Uartimsc
impl Sync for Uartimsc
impl Unpin for Uartimsc
impl UnwindSafe for Uartimsc
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)