stm32/rtc: enable in rcc mod

This commit is contained in:
xoviat
2023-08-06 11:11:53 -05:00
parent 766b5fc6f6
commit 66c1712118
3 changed files with 44 additions and 0 deletions

View File

@ -73,6 +73,10 @@ pub struct Clocks {
#[cfg(any(rcc_h5, rcc_h50, rcc_h7, rcc_h7ab))]
pub adc: Option<Hertz>,
#[cfg(rcc_wb)]
/// Set only if the lsi or lse is configured
pub rtc: Option<Hertz>,
}
/// Frozen clock frequencies