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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.