pub enum Event {
Rbne,
Tbe,
Error,
}Expand description
An SPI event that can raise an interrupt.
Variants§
Rbne
A word arrived in DATA, cleared by reading it.
Tbe
The transmit buffer is free — true at idle, so listening for this needs
unlisten from inside the handler once nothing is left to send.
Error
Any of the STAT error flags, which share this one enable. Cleared by
take_error, which a handler must call — nothing
else drains them.
Trait Implementations§
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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