On some architectures tick time cannot be expressed as integer number of microseconds, introducing error in calculations using sys_clock_us_per_tick variable. This commit deprecates the sys_clock_us_per_tick variable and replaces its usage by more precise calculations based on sys_clock_hw_cycles_per_sec and sys_clock_ticks_per_sec. Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| timer_api | ||
| timer_monotonic | ||