#include <applicfg.h>
#include "timer.h"
#include "ObjDict.h"
#include "main.h"
Go to the source code of this file.
|
| TIMER_HANDLE | SetAlarm (CO_Data *d, UNS32 id, TimerCallback_t callback, TIMEVAL value, TIMEVAL period) |
| | Set an alarm to execute a callback function when expired.
|
| |
| TIMER_HANDLE | DelAlarm (TIMER_HANDLE handle) |
| | Delete an alarm before expiring.
|
| |
| void | TimeDispatch (void) |
| | TimeDispatch is called on each timer expiration -—.
|
| |
- Date
- Created on: Oct 10, 2024
- Author
- Jerry Ukwela (jeu6@.nosp@m.case.nosp@m..edu)
Definition in file timer.c.
◆ min_val
Value:
Definition at line 25 of file timer.c.
◆ last_timer_raw
| TIMER_HANDLE last_timer_raw = -1 |
◆ tdcount
◆ timers
| s_timer_entry timers[MAX_NB_TIMER] = {{TIMER_FREE, NULL, NULL, 0, 0, 0},} |
◆ total_sleep_time
| TIMEVAL total_sleep_time = TIMEVAL_MAX |