pub enum EfcError {
Unaligned,
CommandError,
LockError,
FlashError,
AddressBoundsError,
UnsupportedCommandError,
InvalidGpnvmBitError,
InvalidBufferSizeError,
InvalidUserSignatureSizeError,
NotWithinFlashPageBoundsError,
InvalidFlashBank,
}Variants§
Unaligned
An operation was attempted on an unaligned boundary
CommandError
Bad keyword has been written to the EEFC_FCR register
LockError
Attempted write to a locked page, must be unlocked first to succeed
FlashError
WriteVerify test of flash memory has failed (possibly EraseVerify)
AddressBoundsError
Address outside of flash region bounds
UnsupportedCommandError
Unsupported command FMD key for given function
InvalidGpnvmBitError
Invalid GPNVM bit
InvalidBufferSizeError
Invalid buffer sizef
InvalidUserSignatureSizeError
Invalid UserSignature size
NotWithinFlashPageBoundsError
Not within page bounds
InvalidFlashBank
Invalid flash bank
Trait Implementations§
Source§impl NorFlashError for EfcError
impl NorFlashError for EfcError
Source§fn kind(&self) -> NorFlashErrorKind
fn kind(&self) -> NorFlashErrorKind
Convert a specific NOR flash error into a generic error kind.
Auto Trait Implementations§
impl Freeze for EfcError
impl RefUnwindSafe for EfcError
impl Send for EfcError
impl Sync for EfcError
impl Unpin for EfcError
impl UnsafeUnpin for EfcError
impl UnwindSafe for EfcError
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