|
arduino-audio-tools
|
Repeating Timer functions for simple scheduling of repeated execution using esp_timer_create() More...
#include <AudioTimerESP32.h>
Public Member Functions | |
| virtual | ~TimerAlarmRepeatingDriverESP32 () |
| bool | begin (repeating_timer_callback_t callback_f, uint32_t time, TimeUnit unit=MS) override |
| Starts the alarm timer. | |
| void * | callbackParameter () |
| bool | end () override |
| ends the timer and if necessary the task | |
| void | setCallbackParameter (void *obj) |
| void | setIsSave (bool is_save) override |
| Not used. | |
| virtual void | setTimer (int timer) |
| void | setTimerFunction (TimerFunction function) override |
Protected Member Functions | |
| const char * | toString (TimeUnit unit) |
Protected Attributes | |
| bool | initialized = false |
| void * | object = nullptr |
| esp_timer_handle_t | rtsp_timer = nullptr |
| bool | started = false |
| uint64_t | time_us = 0 |
| TimerFunction | timer_function = TimerCallbackInThread |
Repeating Timer functions for simple scheduling of repeated execution using esp_timer_create()
|
inlinevirtual |
|
inlineoverridevirtual |
Starts the alarm timer.
Implements TimerAlarmRepeatingDriverBase.
|
inlineinherited |
|
inlineoverridevirtual |
ends the timer and if necessary the task
Reimplemented from TimerAlarmRepeatingDriverBase.
Not used.
Reimplemented from TimerAlarmRepeatingDriverBase.
Reimplemented in TimerAlarmRepeatingDriverRenesas, and TimerAlarmRepeatingDriverSTM32.
|
inlineoverridevirtual |
Reimplemented from TimerAlarmRepeatingDriverBase.
|
protected |
|
protected |
|
protected |