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. |
||
---|---|---|
.. | ||
avr_libc_extra | ||
include | ||
periph | ||
cpu.c | ||
doc.txt | ||
irq_arch.c | ||
Makefile | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
startup.c | ||
thread_arch.c |