stm32: more docs.

This commit is contained in:
Dario Nieuwenhuis
2023-12-19 00:05:54 +01:00
parent 138318f611
commit 49534cd405
23 changed files with 55 additions and 6 deletions

View File

@ -1,4 +1,4 @@
//! RTC peripheral abstraction
//! Real Time Clock (RTC)
mod datetime;
#[cfg(feature = "low-power")]
@ -163,7 +163,7 @@ impl RtcTimeProvider {
}
}
/// RTC Abstraction
/// RTC driver.
pub struct Rtc {
#[cfg(feature = "low-power")]
stop_time: Mutex<CriticalSectionRawMutex, Cell<Option<RtcInstant>>>,