Struct Pdkeyr
#[repr(transparent)]pub struct Pdkeyr(pub u32);
Expand description
power-down key register
Tuple Fields§
§0: u32
Implementations§
§impl Pdkeyr
impl Pdkeyr
pub const fn pdkey1(&self) -> u32
pub const fn pdkey1(&self) -> u32
power-down key The following values must be written consecutively to unlock the PDREQ bit in ACR: PDKEY_1: 0x0415�2637 PDKEY_2: 0xFAFB�FCFD
pub fn set_pdkey1(&mut self, val: u32)
pub fn set_pdkey1(&mut self, val: u32)
power-down key The following values must be written consecutively to unlock the PDREQ bit in ACR: PDKEY_1: 0x0415�2637 PDKEY_2: 0xFAFB�FCFD
Trait Implementations§
impl Copy for Pdkeyr
impl Eq for Pdkeyr
impl StructuralPartialEq for Pdkeyr
Auto Trait Implementations§
impl Freeze for Pdkeyr
impl RefUnwindSafe for Pdkeyr
impl Send for Pdkeyr
impl Sync for Pdkeyr
impl Unpin for Pdkeyr
impl UnwindSafe for Pdkeyr
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