Struct Isr
#[repr(transparent)]pub struct Isr(pub u32);Expand description
Interrupt & status register
Tuple Fields§
§0: u32Implementations§
§impl Isr
impl Isr
pub const fn rxne(&self) -> bool
pub const fn rxne(&self) -> bool
Read data register not empty (RXFNE, RXFIFO not empty, in FIFO mode)
pub const fn set_rxne(&mut self, val: bool)
pub const fn set_rxne(&mut self, val: bool)
Read data register not empty (RXFNE, RXFIFO not empty, in FIFO mode)
pub const fn set_txe(&mut self, val: bool)
pub const fn set_txe(&mut self, val: bool)
Transmit data register empty (TXFNF, TXFIFO not full, in FIFO mode)
pub const fn udr(&self) -> bool
pub const fn udr(&self) -> bool
SPI slave underrun error flag (not available on all chips/instances; not available on LPUART)
pub const fn set_udr(&mut self, val: bool)
pub const fn set_udr(&mut self, val: bool)
SPI slave underrun error flag (not available on all chips/instances; not available on LPUART)
pub const fn set_wuf(&mut self, val: bool)
pub const fn set_wuf(&mut self, val: bool)
Wakeup from Stop mode flag (not available on STM32U3, U5, WBA)
pub const fn tcbgt(&self) -> bool
pub const fn tcbgt(&self) -> bool
Transmission complete before guard time flag (not available on all chips/instances; not available on LPUART)
Trait Implementations§
impl Copy for Isr
impl Eq for Isr
impl StructuralPartialEq for Isr
Auto Trait Implementations§
impl Freeze for Isr
impl RefUnwindSafe for Isr
impl Send for Isr
impl Sync for Isr
impl Unpin for Isr
impl UnsafeUnpin for Isr
impl UnwindSafe for Isr
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
Mutably borrows from an owned value. Read more