Struct stm32_metapac::rcc::regs::Sscgr
#[repr(transparent)]pub struct Sscgr(pub u32);
Expand description
spread spectrum clock generation register
Tuple Fields§
§0: u32
Implementations§
§impl Sscgr
impl Sscgr
pub fn set_modper(&mut self, val: u16)
pub fn set_modper(&mut self, val: u16)
Modulation period
pub fn set_incstep(&mut self, val: u16)
pub fn set_incstep(&mut self, val: u16)
Incrementation step
pub fn set_spreadsel(&mut self, val: Spreadsel)
pub fn set_spreadsel(&mut self, val: Spreadsel)
Spread Select
pub fn set_sscgen(&mut self, val: bool)
pub fn set_sscgen(&mut self, val: bool)
Spread spectrum modulation enable
Trait Implementations§
impl Copy for Sscgr
impl Eq for Sscgr
impl StructuralPartialEq for Sscgr
Auto Trait Implementations§
impl Freeze for Sscgr
impl RefUnwindSafe for Sscgr
impl Send for Sscgr
impl Sync for Sscgr
impl Unpin for Sscgr
impl UnwindSafe for Sscgr
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
)