Enum stm32wlxx_hal::spi::Error
source · pub enum Error {
Framing,
Crc,
ModeFault,
Overrun,
RxDma,
TxDma,
}
Expand description
SPI errors
Variants§
Framing
Frame format error
Crc
CRC check error
ModeFault
NSS mode fault
Overrun
FIFO overrun
RxDma
RX DMA error
This can only occur on SPI transfers that use the RX DMA.
TxDma
TX DMA error
This can only occur on SPI transfers that use the TX DMA.
Trait Implementations§
source§impl PartialEq for Error
impl PartialEq for Error
impl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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