pub struct Interrupts {
pub RXRDY: bool,
pub TXRDY: bool,
pub TXIDLE: bool,
pub DELTACTS: bool,
pub TXDIS: bool,
pub OVERRUN: bool,
pub DELTARXBRK: bool,
pub START: bool,
pub FRAMERR: bool,
pub PARITYERR: bool,
pub RXNOISE: bool,
pub ABERR: bool,
}Expand description
Used to enable or disable USART interrupts
See USART::enable_interrupts, USART::disable_interrupts,
usart::Tx::enable_interrupts, usart::Tx::disable_interrupts,
usart::Rx::enable_interrupts, and
usart::Rx::disable_interrupts.
Fields§
§RXRDY: boolReceiver ready
TXRDY: boolTransmitter ready
TXIDLE: boolTransmitter idle
DELTACTS: boolChange of CTS signal detected
TXDIS: boolTransmitter disabled
OVERRUN: boolOverrun error
DELTARXBRK: boolRXBRK flag has changed state
START: boolStart detected
FRAMERR: boolFraming error
PARITYERR: boolParity error
RXNOISE: boolReceived noise
ABERR: boolAutobaud error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interrupts
impl RefUnwindSafe for Interrupts
impl Send for Interrupts
impl Sync for Interrupts
impl Unpin for Interrupts
impl UnwindSafe for Interrupts
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