Struct stm32_metapac::rcc::regs::Icscr3
#[repr(transparent)]pub struct Icscr3(pub u32);
Expand description
RCC internal clock sources calibration register 3
Tuple Fields§
§0: u32
Implementations§
§impl Icscr3
impl Icscr3
pub const fn hsical(&self) -> u16
pub const fn hsical(&self) -> u16
HSI clock calibration These bits are initialized at startup with the factory-programmed HSI calibration value. When HSITRIM[4:0] is written, HSICAL[11:0] is updated with the sum of HSITRIM[4:0] and the initial factory trim value.
pub fn set_hsical(&mut self, val: u16)
pub fn set_hsical(&mut self, val: u16)
HSI clock calibration These bits are initialized at startup with the factory-programmed HSI calibration value. When HSITRIM[4:0] is written, HSICAL[11:0] is updated with the sum of HSITRIM[4:0] and the initial factory trim value.
pub const fn hsitrim(&self) -> u8
pub const fn hsitrim(&self) -> u8
HSI clock trimming These bits provide an additional user-programmable trimming value that is added to the HSICAL[11:0] bits. It can be programmed to adjust to voltage and temperature variations that influence the frequency of the HSI.
pub fn set_hsitrim(&mut self, val: u8)
pub fn set_hsitrim(&mut self, val: u8)
HSI clock trimming These bits provide an additional user-programmable trimming value that is added to the HSICAL[11:0] bits. It can be programmed to adjust to voltage and temperature variations that influence the frequency of the HSI.
Trait Implementations§
impl Copy for Icscr3
impl Eq for Icscr3
impl StructuralPartialEq for Icscr3
Auto Trait Implementations§
impl Freeze for Icscr3
impl RefUnwindSafe for Icscr3
impl Send for Icscr3
impl Sync for Icscr3
impl Unpin for Icscr3
impl UnwindSafe for Icscr3
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
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)
clone_to_uninit
)