Timers
The Timers window shows information about all timers in the system. To open it go to View | [<application name>] Zephyr | Timers.
The following configuration options must be enabled to display the timers:
•CONFIG_TRACING
•CONFIG_TRACING_OBJECT_TRACKING
•CONFIG_TRACING_TIMER
Column name |
Description |
---|---|
Address |
The address of the timer structure. A variable name is also shown if it is found in the symbol information. |
State |
The current state of the timer. Possible values are: •RUNNING: The timer is active. •INACTIVE: The timer is inactive. •UNKNOWN: The timer state could not be determined. •ERROR: There was an error reading the timer information. All the information for this timer is invalid. |
Period |
The period in ticks, specifying the interval between all timer expirations after the first one. A tick is an internal count of the kernel, configurable via CONFIG_SYS_CLOCK_TICKS_PER_SEC. |
Expiry Function |
The function that is executed each time the timer expires. When possible, the function name is displayed. Otherwise the address is shown. The value [NONE] means that no function is configured. |
Stop Function |
The function that is executed if the timer is stopped prematurely while running. When possible, the function name is displayed. Otherwise the address is shown. The value [NONE] means that no function is configured. |
Status |
The number of expirations since the status value was last read. |