#[repr(u32)]pub enum GetSysInfoFlag {
ChipInfo = 1,
Critical = 2,
CpuInfo = 4,
FlashDevInfo = 8,
BootRandom = 16,
BootInfo = 64,
}Expand description
Flags that the get_sys_info/ rom function can take
Variants§
ChipInfo = 1
The flag used to get a chip’s unique identifier
Critical = 2
The flag used to get the critical register’s value
CpuInfo = 4
The flag used to get the current running CPU Architecture
FlashDevInfo = 8
The flag used to get flash device info
BootRandom = 16
The flag used to get the random 128 bit integer generated on boot
BootInfo = 64
The flag used to get boot diagnostic info
Auto Trait Implementations§
impl Freeze for GetSysInfoFlag
impl RefUnwindSafe for GetSysInfoFlag
impl Send for GetSysInfoFlag
impl Sync for GetSysInfoFlag
impl Unpin for GetSysInfoFlag
impl UnwindSafe for GetSysInfoFlag
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<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more