pub struct Status {
pub tx_busy: bool,
pub rx_busy: bool,
pub tx_underflow: bool,
pub rx_overflow: bool,
pub rx_break: bool,
pub rx_framing_error: bool,
pub rx_parity_error: bool,
}Expand description
Represents the status of the USART peripheral.
Fields§
§tx_busy: boolTransmitter busy flag
rx_busy: boolReceiver busy flag
tx_underflow: boolTransmit data underflow detected
rx_overflow: boolReceive data overflow detected
rx_break: boolBreak detected on receive
rx_framing_error: boolFraming error detected on receive
rx_parity_error: boolParity error detected on receive
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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