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
..
2019-11-23 22:39:36 +01:00
2019-11-22 11:11:19 +01:00
2019-11-28 18:59:09 +01:00
2018-10-08 12:20:49 +02:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:36 +01:00
2018-10-08 12:20:49 +02:00
2019-11-23 22:39:36 +01:00
2019-11-23 22:39:36 +01:00
2018-10-08 12:20:49 +02:00
2019-11-23 22:39:07 +01:00
2019-11-23 22:39:07 +01:00
2019-11-23 22:39:36 +01:00