Struct stm32_metapac::pwr::regs::Cr3
#[repr(transparent)]pub struct Cr3(pub u32);
Expand description
Power control register 3
Tuple Fields§
§0: u32
Implementations§
§impl Cr3
impl Cr3
pub fn set_ulpmen(&mut self, val: bool)
pub fn set_ulpmen(&mut self, val: bool)
ULPMEN
pub const fn ucpd_stdby(&self) -> bool
pub const fn ucpd_stdby(&self) -> bool
UCPD_STDBY
pub fn set_ucpd_stdby(&mut self, val: bool)
pub fn set_ucpd_stdby(&mut self, val: bool)
UCPD_STDBY
pub const fn ucpd_dbdis(&self) -> bool
pub const fn ucpd_dbdis(&self) -> bool
UCPD_DBDIS
pub fn set_ucpd_dbdis(&mut self, val: bool)
pub fn set_ucpd_dbdis(&mut self, val: bool)
UCPD_DBDIS
Trait Implementations§
impl Copy for Cr3
impl Eq for Cr3
impl StructuralPartialEq for Cr3
Auto Trait Implementations§
impl Freeze for Cr3
impl RefUnwindSafe for Cr3
impl Send for Cr3
impl Sync for Cr3
impl Unpin for Cr3
impl UnwindSafe for Cr3
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
)