Module stm32f103_rtc

Source
Expand description

A simple AsyncTimer implementation for the Rtc peripheral in the STM32F103 running at 1kHz.

Structs§

DurationU32
A segment of time, encoding a duration in such a manner that it compares and adds to a RTC instant efficiently.
InstantU32
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.