arduino-audio-tools
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TimerAlarmRepeatingDriverESP8266 Class Reference

Repeating Timer functions for repeated execution: Plaease use the typedef TimerAlarmRepeating. More...

#include <AudioTimerESP8266.h>

Inheritance diagram for TimerAlarmRepeatingDriverESP8266:
TimerAlarmRepeatingDriverBase

Public Member Functions

bool begin (repeating_timer_callback_t callback_f, uint32_t time, TimeUnit unit=MS) override
 
void * callbackParameter ()
 
bool end () override
 
void setCallbackParameter (void *obj)
 
virtual void setIsSave (bool is_save)
 Not used.
 
virtual void setTimer (int timer)
 
virtual void setTimerFunction (TimerFunction function=DirectTimerCallback)
 

Static Public Member Functions

static void complexHandler (void *param)
 

Protected Member Functions

const char * toString (TimeUnit unit)
 

Protected Attributes

void(* current_timer_callback )()
 
void * object = nullptr
 
Ticker ticker
 

Detailed Description

Repeating Timer functions for repeated execution: Plaease use the typedef TimerAlarmRepeating.

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

bool begin ( repeating_timer_callback_t  callback_f,
uint32_t  time,
TimeUnit  unit = MS 
)
inlineoverridevirtual

Starts the alarm timer

Implements TimerAlarmRepeatingDriverBase.

◆ complexHandler()

static void complexHandler ( void *  param)
inlinestatic

We can not do any I2C calls in the interrupt handler so we need to do this in a separate task


The documentation for this class was generated from the following file: