#[repr(u8)]pub(crate) enum InfoMode {
Revision = 0,
}Expand description
Info mode bytes (Param1).
Only the Revision mode is implemented because it is the only one
this project consumes. The chip supports four other modes (KeyValid,
State, Gpio, VolatileKeyPermission); they can be added if a
concrete need arises.
Source: CryptoAuthLib lib/calib/calib_command.h, INFO_MODE_* constants.
Variants§
Revision = 0
Return the silicon revision (4 bytes).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InfoMode
impl RefUnwindSafe for InfoMode
impl Send for InfoMode
impl Sync for InfoMode
impl Unpin for InfoMode
impl UnsafeUnpin for InfoMode
impl UnwindSafe for InfoMode
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