|
|
System timer configuration. More...
Defines | |
#define | os_timers_init() DOC_HIDDEN |
timer initialization function | |
#define | os_timers_start() DOC_HIDDEN |
runs timers | |
#define | os_timers_stop() DOC_HIDDEN |
stops timers |
System timer configuration.
#define os_timers_init | ( | ) | DOC_HIDDEN |
timer initialization function
Initialization of system tick interrupt and hardware timer for this purpose. This function should be called from user code at the beginning, when is non-empty.
#define os_timers_start | ( | ) | DOC_HIDDEN |
runs timers
The macro starts hardware timer and enables hardware interrupts.
#define os_timers_stop | ( | ) | DOC_HIDDEN |
stops timers
The macro stops hardware timer used for system tick interrupt.