Merge pull request #1766 from xoviat/rtc-w

stm32/rtc: add start/stop wakeup
This commit is contained in:
xoviat
2023-08-22 21:50:53 +00:00
committed by GitHub
4 changed files with 227 additions and 1 deletions

View File

@ -74,7 +74,7 @@ pub struct Clocks {
#[cfg(any(rcc_h5, rcc_h50, rcc_h7, rcc_h7ab))]
pub adc: Option<Hertz>,
#[cfg(rcc_wb)]
#[cfg(any(rcc_wb, rcc_f4, rcc_f410))]
/// Set only if the lsi or lse is configured
pub rtc: Option<Hertz>,
}