mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
93d2068a9e
This implements a basic Real Time Clock based on TIM2. As the timer is too fast and wraps around after just 8 bits, it is not used directly. Instead TIM2 is responsible for providing a 1 Hz tick by generating an alarm every second. The current time data is kept in the `.noinit` section, so it will survive a reboot, but the clock will not be updated while the bootloader runs, so expect inaccuracies. |
||
---|---|---|
.. | ||
adc.c | ||
cpuid.c | ||
eeprom.c | ||
gpio.c | ||
i2c.c | ||
Makefile | ||
pm.c | ||
pwm.c | ||
rtc.c | ||
rtt.c | ||
spi.c | ||
timer.c | ||
uart.c | ||
wdt.c |