1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/esp32/periph
Gunar Schorcht 25d04c4742 cpu/esp32: fixes and cleanups of RTC timer
- 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 .
2019-12-26 18:13:10 +01:00
..
adc_ctrl.c cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
adc.c cpu/esp32: replace ets_printf by printf 2019-11-22 11:11:19 +01:00
can.c cpu/esp32: module to print startup info 2019-11-28 18:59:09 +01:00
cpuid.c cpu: add esp32 2018-10-08 12:20:49 +02:00
dac.c cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
flash.c cpu/esp32: module to print startup info 2019-11-28 18:59:09 +01:00
gpio.c cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
hwrng.c cpu: add esp32 2018-10-08 12:20:49 +02:00
i2c_hw.c cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
i2c_sw.c cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
Makefile cpu/esp32: use periph.mk in perpih Makefile 2019-04-04 00:48:33 +02:00
pm.c cpu: add esp32 2018-10-08 12:20:49 +02:00
pwm.c many typo fixes 2019-11-23 22:39:07 +01:00
rtc.c cpu/esp32: fixes and cleanups of RTC timer 2019-12-26 18:13:10 +01:00
spi.c many typo fixes 2019-11-23 22:39:07 +01:00
timer.c cpu/esp32: fix typos 2019-11-23 22:39:36 +01:00
uart.c cpu/esp32/periph: flush UART TX FIFO before a baudrate change 2019-11-28 08:57:26 +01:00