Enum imxrt_hal::lpspi::LpspiError
source · pub enum LpspiError {
FrameSize,
Fifo(Direction),
Busy,
NoData,
}
Expand description
Possible errors when interfacing the LPSPI.
Variants§
FrameSize
The transaction frame size is incorrect.
The frame size, in bits, must be between 8 bits and 4095 bits.
Fifo(Direction)
FIFO error in the given direction.
Busy
Bus is busy at the start of a transfer.
NoData
Caller provided no data.
Trait Implementations§
source§impl Clone for LpspiError
impl Clone for LpspiError
source§fn clone(&self) -> LpspiError
fn clone(&self) -> LpspiError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LpspiError
impl Debug for LpspiError
source§impl PartialEq for LpspiError
impl PartialEq for LpspiError
source§fn eq(&self, other: &LpspiError) -> bool
fn eq(&self, other: &LpspiError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LpspiError
impl Eq for LpspiError
impl StructuralEq for LpspiError
impl StructuralPartialEq for LpspiError
Auto Trait Implementations§
impl RefUnwindSafe for LpspiError
impl Send for LpspiError
impl Sync for LpspiError
impl Unpin for LpspiError
impl UnwindSafe for LpspiError
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