Struct Sr1
#[repr(transparent)]pub struct Sr1(pub u32);Expand description
Power status register 1
Tuple Fields§
§0: u32Implementations§
§impl Sr1
impl Sr1
pub const fn smpsbyprdy(&self) -> bool
pub const fn smpsbyprdy(&self) -> bool
SMPS Bypass ready
pub const fn set_smpsbyprdy(&mut self, val: bool)
pub const fn set_smpsbyprdy(&mut self, val: bool)
SMPS Bypass ready
pub const fn extsmpsrdy(&self) -> bool
pub const fn extsmpsrdy(&self) -> bool
External SMPS mode ready
pub const fn set_extsmpsrdy(&mut self, val: bool)
pub const fn set_extsmpsrdy(&mut self, val: bool)
External SMPS mode ready
pub const fn set_smpshprdy(&mut self, val: bool)
pub const fn set_smpshprdy(&mut self, val: bool)
SMPS High-power mode ready
Trait Implementations§
impl Copy for Sr1
impl Eq for Sr1
impl StructuralPartialEq for Sr1
Auto Trait Implementations§
impl Freeze for Sr1
impl RefUnwindSafe for Sr1
impl Send for Sr1
impl Sync for Sr1
impl Unpin for Sr1
impl UnsafeUnpin for Sr1
impl UnwindSafe for Sr1
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