Expand description
A simple AsyncTimer implementation for the Rtc peripheral in the STM32F103 running at 1kHz.
Structs§
- Duration
U32 - A segment of time, encoding a duration in such a manner that it compares and adds to a RTC instant efficiently.
- Instant
U32 - An instant of time, encoding the RTC instant value exactly as the RTC peripheral does.
Functions§
- handle_
interrupt - Handle the RTC interrupt alarm and wake up the appropriate waker.