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_reglps(&mut self, val: bool)
pub fn set_reglps(&mut self, val: bool)
Low-power regulator started
pub fn set_reglpf(&mut self, val: bool)
pub fn set_reglpf(&mut self, val: bool)
Low-power regulator 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
)