Struct stm32_metapac::rcc::regs::Hsecr
#[repr(transparent)]pub struct Hsecr(pub u32);
Expand description
Clock HSE register
Tuple Fields§
§0: u32
Implementations§
§impl Hsecr
impl Hsecr
pub fn set_unlocked(&mut self, val: bool)
pub fn set_unlocked(&mut self, val: bool)
Register lock system
pub fn set_hsegmc(&mut self, val: u8)
pub fn set_hsegmc(&mut self, val: u8)
HSE current control
pub fn set_hsetune(&mut self, val: u8)
pub fn set_hsetune(&mut self, val: u8)
HSE capacitor tuning
Trait Implementations§
impl Copy for Hsecr
impl Eq for Hsecr
impl StructuralPartialEq for Hsecr
Auto Trait Implementations§
impl Freeze for Hsecr
impl RefUnwindSafe for Hsecr
impl Send for Hsecr
impl Sync for Hsecr
impl Unpin for Hsecr
impl UnwindSafe for Hsecr
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
)