Struct stm32_metapac::pwr::regs::Pdr1
#[repr(transparent)]pub struct Pdr1(pub u32);
Expand description
PWR debug register 1.
Tuple Fields§
§0: u32
Implementations§
§impl Pdr1
impl Pdr1
pub fn set_unlocked(&mut self, val: Unlocked)
pub fn set_unlocked(&mut self, val: Unlocked)
Debug Register Unlocked.
pub fn set_sdfpwmen(&mut self, val: bool)
pub fn set_sdfpwmen(&mut self, val: bool)
Step down converter force PWM mode.
pub fn set_sync_adc(&mut self, val: SyncAdc)
pub fn set_sync_adc(&mut self, val: SyncAdc)
(Non-User bit).
Trait Implementations§
impl Copy for Pdr1
impl Eq for Pdr1
impl StructuralPartialEq for Pdr1
Auto Trait Implementations§
impl Freeze for Pdr1
impl RefUnwindSafe for Pdr1
impl Send for Pdr1
impl Sync for Pdr1
impl Unpin for Pdr1
impl UnwindSafe for Pdr1
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
)