#[repr(u8)]pub enum CkstatCkmode {
Show 16 variants
CKMODE0000 = 0,
CKMODE0001 = 1,
_RESERVED_2 = 2,
CKMODE0011 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
CKMODE0111 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
CKMODE1111 = 15,
}Variants§
CKMODE0000 = 0
Core clock is on
CKMODE0001 = 1
Core clock is off
_RESERVED_2 = 2
CKMODE0011 = 3
Core and platform clocks are off
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
CKMODE0111 = 7
Core, platform, and peripheral clocks are off, but no change in Low-Power mode
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
CKMODE1111 = 15
Core, platform, and peripheral clocks are off, and core enters Low-Power mode
Implementations§
Source§impl CkstatCkmode
impl CkstatCkmode
Trait Implementations§
Source§impl Clone for CkstatCkmode
impl Clone for CkstatCkmode
Source§fn clone(&self) -> CkstatCkmode
fn clone(&self) -> CkstatCkmode
Returns a duplicate 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 CkstatCkmode
impl Debug for CkstatCkmode
Source§impl From<CkstatCkmode> for u8
impl From<CkstatCkmode> for u8
Source§fn from(val: CkstatCkmode) -> u8
fn from(val: CkstatCkmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CkstatCkmode
impl From<u8> for CkstatCkmode
Source§fn from(val: u8) -> CkstatCkmode
fn from(val: u8) -> CkstatCkmode
Converts to this type from the input type.
Source§impl Ord for CkstatCkmode
impl Ord for CkstatCkmode
Source§fn cmp(&self, other: &CkstatCkmode) -> Ordering
fn cmp(&self, other: &CkstatCkmode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CkstatCkmode
impl PartialEq for CkstatCkmode
Source§impl PartialOrd for CkstatCkmode
impl PartialOrd for CkstatCkmode
impl Copy for CkstatCkmode
impl Eq for CkstatCkmode
impl StructuralPartialEq for CkstatCkmode
Auto Trait Implementations§
impl Freeze for CkstatCkmode
impl RefUnwindSafe for CkstatCkmode
impl Send for CkstatCkmode
impl Sync for CkstatCkmode
impl Unpin for CkstatCkmode
impl UnwindSafe for CkstatCkmode
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