|
arduino-audio-tools
|
Common Interface definition for TimerAlarmRepeating. More...
#include <AudioTimer.h>
Public Member Functions | |
| TimerAlarmRepeating ()=default | |
| Default constructor. | |
| TimerAlarmRepeating (TimerAlarmRepeatingDriverBase &timer) | |
| Construct a new Timer Alarm Repeating object by passing your object which has been customized with some special platform specific parameters. | |
| virtual | ~TimerAlarmRepeating ()=default |
| bool | begin (repeating_timer_callback_t callback_f, uint32_t time, TimeUnit unit=MS) |
| void * | callbackParameter () |
| TimerAlarmRepeatingDriverBase * | driver () |
| Provides access to the driver. | |
| bool | end () |
| operator bool () | |
| Returns true if the timer is active. | |
| void | setCallbackParameter (void *obj) |
| void | setDriver (TimerAlarmRepeatingDriverBase &timer) |
| Allows to set a different driver. | |
| void | setIsSave (bool is_save) |
| virtual void | setTimer (int timer) |
| virtual void | setTimerFunction (TimerFunction function=DirectTimerCallback) |
Protected Attributes | |
| bool | is_active = false |
| void * | object = nullptr |
| TimerAlarmRepeatingDriverBase * | p_timer = &timer |
| TimerAlarmRepeatingDriver | timer |
Common Interface definition for TimerAlarmRepeating.
|
default |
Default constructor.
|
inline |
Construct a new Timer Alarm Repeating object by passing your object which has been customized with some special platform specific parameters.
| timer |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
Provides access to the driver.
|
inline |
|
inline |
Allows to set a different driver.
|
inlinevirtual |
|
protected |
|
protected |