Struct stm32_metapac::pwr::regs::Csr3
#[repr(transparent)]pub struct Csr3(pub u32);
Expand description
PWR CPU control register 3.
Tuple Fields§
§0: u32
Implementations§
§impl Csr3
impl Csr3
pub const fn pdds(&self) -> Pdds
pub const fn pdds(&self) -> Pdds
Power Down Deepsleep. This bit allows CPU to define the Deepsleep mode.
pub fn set_pdds(&mut self, val: Pdds)
pub fn set_pdds(&mut self, val: Pdds)
Power Down Deepsleep. This bit allows CPU to define the Deepsleep mode.
pub const fn cssf(&self) -> bool
pub const fn cssf(&self) -> bool
Clear Standby and Stop flags (always read as 0) This bit is cleared to 0 by hardware.
pub fn set_cssf(&mut self, val: bool)
pub fn set_cssf(&mut self, val: bool)
Clear Standby and Stop flags (always read as 0) This bit is cleared to 0 by hardware.
pub const fn stopf(&self) -> bool
pub const fn stopf(&self) -> bool
STOP flag This bit is set by hardware and cleared only by any reset or by setting the CPU CSSF bit.
pub fn set_stopf(&mut self, val: bool)
pub fn set_stopf(&mut self, val: bool)
STOP flag This bit is set by hardware and cleared only by any reset or by setting the CPU CSSF bit.
Trait Implementations§
impl Copy for Csr3
impl Eq for Csr3
impl StructuralPartialEq for Csr3
Auto Trait Implementations§
impl Freeze for Csr3
impl RefUnwindSafe for Csr3
impl Send for Csr3
impl Sync for Csr3
impl Unpin for Csr3
impl UnwindSafe for Csr3
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
)