Note about timer resolution
This commit is contained in:
parent
1935a642b2
commit
666b62c784
|
@ -7,6 +7,10 @@ The tmr module allows access to simple timers. It is aimed at setting up regular
|
|||
|
||||
What the tmr module is *not* however, is a time keeping module. While all timeouts are expressed in milliseconds, the accuracy is limited and compounding errors would lead to rather inaccurate time keeping. Consider using the [rtctime](rtctime.md) module for "wall clock" time.
|
||||
|
||||
!!! note
|
||||
|
||||
The resolution of the timers is determined by FreeRTOS' tick rate. The default rate of 100 kHz (resulting in 10 ms resolution) can be changed with `make menuconfig` at item `Component config ---> FreeRTOS ---> Tick rate (Hz)`.
|
||||
|
||||
## tmr.create()
|
||||
|
||||
Creates a dynamic timer object.
|
||||
|
|
Loading…
Reference in New Issue