aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rtc
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-12-19 00:05:54 +0100
committerDario Nieuwenhuis <[email protected]>2023-12-19 00:10:36 +0100
commit49534cd4056f20bdf5fa6058b0865afc5fcf38ee (patch)
treec70844cbd6201ea4ded266d53fc6ebd79931659a /embassy-stm32/src/rtc
parent138318f6118322af199888bcbd53ef49114f89bd (diff)
stm32: more docs.
Diffstat (limited to 'embassy-stm32/src/rtc')
-rw-r--r--embassy-stm32/src/rtc/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rtc/mod.rs b/embassy-stm32/src/rtc/mod.rs
index fa359cdae..11b252139 100644
--- a/embassy-stm32/src/rtc/mod.rs
+++ b/embassy-stm32/src/rtc/mod.rs
@@ -1,4 +1,4 @@
1//! RTC peripheral abstraction 1//! Real Time Clock (RTC)
2mod datetime; 2mod datetime;
3 3
4#[cfg(feature = "low-power")] 4#[cfg(feature = "low-power")]
@@ -163,7 +163,7 @@ impl RtcTimeProvider {
163 } 163 }
164} 164}
165 165
166/// RTC Abstraction 166/// RTC driver.
167pub struct Rtc { 167pub struct Rtc {
168 #[cfg(feature = "low-power")] 168 #[cfg(feature = "low-power")]
169 stop_time: Mutex<CriticalSectionRawMutex, Cell<Option<RtcInstant>>>, 169 stop_time: Mutex<CriticalSectionRawMutex, Cell<Option<RtcInstant>>>,