Struct stm32_metapac::rcc::regs::Smpscr
#[repr(transparent)]pub struct Smpscr(pub u32);
Expand description
Step Down converter control register
Tuple Fields§
§0: u32
Implementations§
§impl Smpscr
impl Smpscr
pub fn set_smpssel(&mut self, val: u8)
pub fn set_smpssel(&mut self, val: u8)
Step Down converter clock selection
pub fn set_smpsdiv(&mut self, val: u8)
pub fn set_smpsdiv(&mut self, val: u8)
Step Down converter clock prescaler
pub fn set_smpssws(&mut self, val: u8)
pub fn set_smpssws(&mut self, val: u8)
Step Down converter clock switch status
Trait Implementations§
impl Copy for Smpscr
impl Eq for Smpscr
impl StructuralPartialEq for Smpscr
Auto Trait Implementations§
impl Freeze for Smpscr
impl RefUnwindSafe for Smpscr
impl Send for Smpscr
impl Sync for Smpscr
impl Unpin for Smpscr
impl UnwindSafe for Smpscr
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
)