pub enum HspiError {
InvalidConfiguration,
InvalidCommand,
EmptyBuffer,
}
Expand description
Error used for HSPI implementation
Variants§
InvalidConfiguration
Peripheral configuration is invalid
InvalidCommand
Operation configuration is invalid
EmptyBuffer
Size zero buffer passed to instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HspiError
impl RefUnwindSafe for HspiError
impl Send for HspiError
impl Sync for HspiError
impl Unpin for HspiError
impl UnwindSafe for HspiError
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