pub struct Interrupts {
pub rx_ready: bool,
pub tx_ready: bool,
pub rx_overrun: bool,
pub tx_underrun: bool,
pub slave_select_asserted: bool,
pub slave_select_deasserted: bool,
}Expand description
Used to enable or disable SPI interrupts
Fields§
§rx_ready: boolRX Ready
tx_ready: boolTX Ready
rx_overrun: boolReceiver Overrun
tx_underrun: boolTransmitter Underrun
slave_select_asserted: boolSlave Select Asserted
slave_select_deasserted: boolSlave Select Deasserted
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