mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 06:25:09 +00:00
Previous adjtime() implementation was limited to adjusting system timer tick period. This commit reimplements the internals to use a kernel watchdog timer. Platform-independent part of the code now works also for adjusting hires RTC and tickless timer rate. User code facing API is unchanged. Architecture code API has changed: up_adj_timer_period() is replaced by up_adjtime(). Other improvements: - Support query of remaining adjustment by passing NULL to first argument of adjtime(). This matches Linux behavior. - Improve resolution available for architecture driver, previously limited to 1 microsecond per tick. Now 1 nanosecond per second. |
||
|---|---|---|
| .. | ||
| arch_alarm.c | ||
| arch_rtc.c | ||
| arch_timer.c | ||
| capture.c | ||
| CMakeLists.txt | ||
| cs2100-cp.c | ||
| ds3231.c | ||
| ds3231.h | ||
| Kconfig | ||
| Make.defs | ||
| mcp794xx.c | ||
| mcp794xx.h | ||
| oneshot.c | ||
| pcf85263.c | ||
| pcf85263.h | ||
| pl031.c | ||
| pwm.c | ||
| rpmsg_rtc.c | ||
| rtc.c | ||
| rx8010.c | ||
| rx8010.h | ||
| timer.c | ||
| watchdog.c | ||