Enum d1_pac::smhc::smhc_cmd::BOOT_MOD_A
source · #[repr(u8)]pub enum BOOT_MOD_A {
NORMAL = 0,
MANDATORY_BOOT = 1,
ALTERNATE_BOOT = 2,
}
Expand description
Boot Mode
Value on reset: 0
Variants§
NORMAL = 0
0: Normal command
MANDATORY_BOOT = 1
1: Mandatory Boot operation
ALTERNATE_BOOT = 2
2: Alternate Boot operation
Trait Implementations§
source§impl Clone for BOOT_MOD_A
impl Clone for BOOT_MOD_A
source§fn clone(&self) -> BOOT_MOD_A
fn clone(&self) -> BOOT_MOD_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 BOOT_MOD_A
impl Debug for BOOT_MOD_A
source§impl From<BOOT_MOD_A> for u8
impl From<BOOT_MOD_A> for u8
source§fn from(variant: BOOT_MOD_A) -> Self
fn from(variant: BOOT_MOD_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for BOOT_MOD_A
impl PartialEq for BOOT_MOD_A
impl Copy for BOOT_MOD_A
impl Eq for BOOT_MOD_A
impl StructuralPartialEq for BOOT_MOD_A
Auto Trait Implementations§
impl Freeze for BOOT_MOD_A
impl RefUnwindSafe for BOOT_MOD_A
impl Send for BOOT_MOD_A
impl Sync for BOOT_MOD_A
impl Unpin for BOOT_MOD_A
impl UnwindSafe for BOOT_MOD_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)