![]() |
GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Manipulates timers in an application main loop. More...
Go to the source code of this file.
Functions | |
| void | gp_app_timer_start (gp_timer *timer) |
| Inserts a timer into the widgets timer queue. | |
| void | gp_app_timer_stop (gp_timer *timer) |
| Removes a timer from the widgets timer queue. | |
| void | gp_app_timer_reschedule (gp_timer *timer, uint32_t expires_ms) |
| Reschedules a timer. | |
Manipulates timers in an application main loop.
Definition in file gp_app_timer.h.
| void gp_app_timer_reschedule | ( | gp_timer * | timer, |
| uint32_t | expires_ms ) |
Reschedules a timer.
If a timer is running (inserted into the timer queue) it's stopped before it's started again.
| timer | A timer. |
| expires_ms | A new timeout for the timer in miliseconds. |
| void gp_app_timer_start | ( | gp_timer * | timer | ) |
Inserts a timer into the widgets timer queue.
| timer | Pointer to a gp_timer. |