Type Definition stm32g4::stm32g484::crs::cr::TRIM_W

source · []
pub type TRIM_W<'a, const O: u8> = FieldWriter<'a, u32, CR_SPEC, u8, u8, 7, O>;
Expand description

Field TRIM writer - HSI48 oscillator smooth trimming These bits provide a user-programmable trimming value to the HSI48 oscillator. They can be programmed to adjust to variations in voltage and temperature that influence the frequency of the HSI48. The default value is 32, which corresponds to the middle of the trimming interval. The trimming step is around 67 kHz between two consecutive TRIM steps. A higher TRIM value corresponds to a higher output frequency. When the AUTOTRIMEN bit is set, this field is controlled by hardware and is read-only.