mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
25d04c4742
- Unecessary definitions are removed. - Since the 48-bit RTC hardware timer uses a RC oscillator as clock, it is pretty inaccurate and leads to a RTC time deviation of up to 3 seconds per minute. Therefore, a calibration during the boot time determines a correction factor for the 48-bit RTC hardware timer. Function _rtc_time_to_us uses now this correction factor and converts a raw 48-bit RTC time to a corrected time in microseconds. Thus, the 48-bit RTC timer becomes much more accurate, but it can't still reach the accuracy of the PLL driven 64-bit system timer. The Advantage of using RTC over 64-bit sydtem timer is that it also continues in deep sleep mode and after software reset. - If the 64-bit system timer is used to emulate the RTC timer, it uses the RTC hardware timer to continue its operation after software . |
||
---|---|---|
.. | ||
adc_ctrl.c | ||
adc.c | ||
can.c | ||
cpuid.c | ||
dac.c | ||
flash.c | ||
gpio.c | ||
hwrng.c | ||
i2c_hw.c | ||
i2c_sw.c | ||
Makefile | ||
pm.c | ||
pwm.c | ||
rtc.c | ||
spi.c | ||
timer.c | ||
uart.c |