diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-12-19 00:05:54 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-12-19 00:10:36 +0100 |
| commit | 49534cd4056f20bdf5fa6058b0865afc5fcf38ee (patch) | |
| tree | c70844cbd6201ea4ded266d53fc6ebd79931659a /embassy-stm32/src/rtc | |
| parent | 138318f6118322af199888bcbd53ef49114f89bd (diff) | |
stm32: more docs.
Diffstat (limited to 'embassy-stm32/src/rtc')
| -rw-r--r-- | embassy-stm32/src/rtc/mod.rs | 4 |
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) |
| 2 | mod datetime; | 2 | mod 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. |
| 167 | pub struct Rtc { | 167 | pub 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>>>, |
