Enum stm32_hal2::spi::SpiInterrupt
source · [−]pub enum SpiInterrupt {
NumberOfTransactionsReload,
ModeFault,
Tifre,
CrcError,
Overrun,
Underrun,
Txtfie,
EotSuspTxc,
Dxp,
Txp,
Rxp,
}
Expand description
Possible interrupt types. Enable these in SPIx_IER. Check with SR. Clear with IFCR
Variants
NumberOfTransactionsReload
Additional number of transactions reload interrupt enable (TSERFIE)
ModeFault
Mode fault (MODFIE)
Tifre
TIFRE (TIFREIE)
CrcError
CRC error (CRCEIE)
Overrun
Overrun (OVRIE)
Underrun
Underrun (UNDRIE)
Txtfie
TXTFIE
EotSuspTxc
EOT, SUSP, and TXC (EOTIE)
Dxp
DXP (TXPIE)
Txp
TXP (TXPIE)
Rxp
RXP (RXPIE)
Trait Implementations
sourceimpl Clone for SpiInterrupt
impl Clone for SpiInterrupt
sourcefn clone(&self) -> SpiInterrupt
fn clone(&self) -> SpiInterrupt
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for SpiInterrupt
Auto Trait Implementations
impl RefUnwindSafe for SpiInterrupt
impl Send for SpiInterrupt
impl Sync for SpiInterrupt
impl Unpin for SpiInterrupt
impl UnwindSafe for SpiInterrupt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more