Struct stm32_metapac::pwr::regs::Sr2
#[repr(transparent)]pub struct Sr2(pub u32);
Expand description
Power status register 2
Tuple Fields§
§0: u32
Implementations§
§impl Sr2
impl Sr2
pub fn set_c2boots(&mut self, val: bool)
pub fn set_c2boots(&mut self, val: bool)
PU2 boot/wakeup request source information
pub fn set_rfbusys(&mut self, val: bool)
pub fn set_rfbusys(&mut self, val: bool)
Radio BUSY signal status
pub fn set_rfbusyms(&mut self, val: bool)
pub fn set_rfbusyms(&mut self, val: bool)
Radio BUSY masked signal status
pub fn set_smpsrdy(&mut self, val: bool)
pub fn set_smpsrdy(&mut self, val: bool)
SMPS ready flag
pub fn set_ldordy(&mut self, val: bool)
pub fn set_ldordy(&mut self, val: bool)
LDO ready flag
pub fn set_rfeolf(&mut self, val: bool)
pub fn set_rfeolf(&mut self, val: bool)
Radio end of life flag
pub fn set_regmrs(&mut self, val: bool)
pub fn set_regmrs(&mut self, val: bool)
regulator2 low power flag
pub fn set_flashrdy(&mut self, val: bool)
pub fn set_flashrdy(&mut self, val: bool)
Flash ready
pub fn set_reglps(&mut self, val: bool)
pub fn set_reglps(&mut self, val: bool)
regulator1 started
pub fn set_reglpf(&mut self, val: bool)
pub fn set_reglpf(&mut self, val: bool)
regulator1 low power flag
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
)