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 StructuralEq for Csr3
impl StructuralPartialEq for Csr3
Auto Trait Implementationsยง
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