stm32f1: Store adc clock rate in Clocks struct

This commit is contained in:
Sjoerd Simons
2021-12-30 10:50:28 +01:00
parent ecb09b7313
commit a93b1141e9
2 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,9 @@ pub struct Clocks {
#[cfg(rcc_f4)]
pub pll48: Option<Hertz>,
#[cfg(rcc_f1)]
pub adc: Hertz,
}
/// Frozen clock frequencies