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 trim value. When HSITRIM is written, HSICAL is updated with the sum of HSITRIM and the 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 trim value. When HSITRIM is written, HSICAL is updated with the sum of HSITRIM and the 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.