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

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

#include <AudioTimerAVR.h>

Inheritance diagram for TimerAlarmRepeatingDriverAVR:
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 tickerCallback ()
 

Protected Member Functions

void setupTimer (uint64_t sample_rate)
 
const char * toString (TimeUnit unit)
 

Protected Attributes

repeating_timer_callback_t callback = nullptr
 
void * object = nullptr
 

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.


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