arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
audio_tools::TimerAlarmRepeatingESP8266 Class Reference

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

#include <AudioTimerESP8266.h>

Inheritance diagram for audio_tools::TimerAlarmRepeatingESP8266:
audio_tools::TimerAlarmRepeatingDef

Public Member Functions

 TimerAlarmRepeatingESP8266 (TimerFunction function=DirectTimerCallback, int id=0)
 
bool begin (repeating_timer_callback_t callback_f, uint32_t time, TimeUnit unit=MS) override
 
bool end () override
 
- Public Member Functions inherited from audio_tools::TimerAlarmRepeatingDef
virtual bool begin (repeating_timer_callback_t callback_f, uint32_t time, TimeUnit unit=MS)=0
 
void * callbackParameter ()
 
virtual bool end ()=0
 
void setCallbackParameter (void *obj)
 

Static Public Member Functions

static void complexHandler (void *param)
 

Protected Attributes

void(* current_timer_callback )()
 
Ticker ticker
 
- Protected Attributes inherited from audio_tools::TimerAlarmRepeatingDef
void * object =nullptr
 

Detailed Description

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

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

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

Starts the alarm timer

Implements audio_tools::TimerAlarmRepeatingDef.

◆ complexHandler()

static void audio_tools::TimerAlarmRepeatingESP8266::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

◆ end()

bool audio_tools::TimerAlarmRepeatingESP8266::end ( )
inlineoverridevirtual

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