#[repr(transparent)]pub struct Dbg(pub u32);
Expand description
Debug for OTP power-on state machine
Tuple Fields§
§0: u32
Implementations§
source§impl Dbg
impl Dbg
sourcepub fn set_psm_done(&mut self, val: bool)
pub fn set_psm_done(&mut self, val: bool)
PSM done status flag
sourcepub fn set_boot_done(&mut self, val: bool)
pub fn set_boot_done(&mut self, val: bool)
PSM boot done status flag
sourcepub const fn rosc_up_seen(&self) -> bool
pub const fn rosc_up_seen(&self) -> bool
Ring oscillator was seen up and running
sourcepub fn set_rosc_up_seen(&mut self, val: bool)
pub fn set_rosc_up_seen(&mut self, val: bool)
Ring oscillator was seen up and running
sourcepub fn set_rosc_up(&mut self, val: bool)
pub fn set_rosc_up(&mut self, val: bool)
Ring oscillator is up and running
sourcepub fn set_psm_state(&mut self, val: u8)
pub fn set_psm_state(&mut self, val: u8)
Monitor the PSM FSM’s state
sourcepub const fn customer_rma_flag(&self) -> bool
pub const fn customer_rma_flag(&self) -> bool
The chip is in RMA mode
sourcepub fn set_customer_rma_flag(&mut self, val: bool)
pub fn set_customer_rma_flag(&mut self, val: bool)
The chip is in RMA mode
Trait Implementations§
impl Copy for Dbg
impl Eq for Dbg
impl StructuralPartialEq for Dbg
Auto Trait Implementations§
impl Freeze for Dbg
impl RefUnwindSafe for Dbg
impl Send for Dbg
impl Sync for Dbg
impl Unpin for Dbg
impl UnwindSafe for Dbg
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§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
)