stm32/rtc: enable in rcc mod
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user