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

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

#include <AudioTimerAVR.h>

Inheritance diagram for audio_tools::TimerAlarmRepeatingAVR:
audio_tools::TimerAlarmRepeatingDef

Public Member Functions

 TimerAlarmRepeatingAVR (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 tickerCallback ()
 

Protected Member Functions

void setupTimer (uint64_t sample_rate)
 

Protected Attributes

repeating_timer_callback_t callback = nullptr
 
- 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::TimerAlarmRepeatingAVR::begin ( repeating_timer_callback_t  callback_f,
uint32_t  time,
TimeUnit  unit = MS 
)
inlineoverridevirtual

Starts the alarm timer

Implements audio_tools::TimerAlarmRepeatingDef.

◆ end()

bool audio_tools::TimerAlarmRepeatingAVR::end ( )
inlineoverridevirtual

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