Struct stm32_metapac::pwr::regs::Sr2
#[repr(transparent)]pub struct Sr2(pub u32);
Expand description
PWR status register 2
Tuple Fields§
§0: u32
Implementations§
§impl Sr2
impl Sr2
pub const fn flash_rdy(&self) -> bool
pub const fn flash_rdy(&self) -> bool
Flash ready flag This bit is set by hardware to indicate when the Flash memory is ready to be accessed after wakeup from power-down. To place the Flash memory in power-down, set either FPD_SLP or FPD_STP bit. Note: If the system boots from SRAM, the user application must wait till FLASH_RDY bit is set, prior to jumping to Flash memory.
pub fn set_flash_rdy(&mut self, val: bool)
pub fn set_flash_rdy(&mut self, val: bool)
Flash ready flag This bit is set by hardware to indicate when the Flash memory is ready to be accessed after wakeup from power-down. To place the Flash memory in power-down, set either FPD_SLP or FPD_STP bit. Note: If the system boots from SRAM, the user application must wait till FLASH_RDY bit is set, prior to jumping to Flash memory.
Trait Implementations§
impl Copy for Sr2
impl Eq for Sr2
impl StructuralPartialEq for Sr2
Auto Trait Implementations§
impl Freeze for Sr2
impl RefUnwindSafe for Sr2
impl Send for Sr2
impl Sync for Sr2
impl Unpin for Sr2
impl UnwindSafe for Sr2
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
)