#[repr(u8)]pub enum RESET_CMD_STATE_A {
VALUE1 = 1,
VALUE2 = 2,
VALUE3 = 0,
}
Expand description
Progress of the reset procedure
Value on reset: 0
Variants§
VALUE1 = 1
1: after writing 0x52
VALUE2 = 2
2: after writing 0x45 (if 0x52 was written before)
VALUE3 = 0
0: default
Trait Implementations§
source§impl Clone for RESET_CMD_STATE_A
impl Clone for RESET_CMD_STATE_A
source§fn clone(&self) -> RESET_CMD_STATE_A
fn clone(&self) -> RESET_CMD_STATE_A
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 RESET_CMD_STATE_A
impl Debug for RESET_CMD_STATE_A
source§impl From<RESET_CMD_STATE_A> for u8
impl From<RESET_CMD_STATE_A> for u8
source§fn from(variant: RESET_CMD_STATE_A) -> Self
fn from(variant: RESET_CMD_STATE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RESET_CMD_STATE_A
impl PartialEq for RESET_CMD_STATE_A
source§fn eq(&self, other: &RESET_CMD_STATE_A) -> bool
fn eq(&self, other: &RESET_CMD_STATE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RESET_CMD_STATE_A
impl Eq for RESET_CMD_STATE_A
impl IsEnum for RESET_CMD_STATE_A
impl StructuralPartialEq for RESET_CMD_STATE_A
Auto Trait Implementations§
impl Freeze for RESET_CMD_STATE_A
impl RefUnwindSafe for RESET_CMD_STATE_A
impl Send for RESET_CMD_STATE_A
impl Sync for RESET_CMD_STATE_A
impl Unpin for RESET_CMD_STATE_A
impl UnwindSafe for RESET_CMD_STATE_A
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