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

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

#include <AudioTimerRP2040.h>

Inheritance diagram for audio_tools::TimerAlarmRepeatingRP2040:
audio_tools::TimerAlarmRepeatingDef

Public Member Functions

 TimerAlarmRepeatingRP2040 (TimerFunction function=DirectTimerCallback, int id=0)
 
bool begin (const my_repeating_timer_callback_t callback_f, uint32_t time, TimeUnit unit=MS) override
 
bool end ()
 
- 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 bool staticCallback (repeating_timer *ptr)
 

Protected Attributes

alarm_pool_t * ap = nullptr
 
my_repeating_timer_callback_t instanceCallback =nullptr
 
repeating_timer_t timer
 
- 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::TimerAlarmRepeatingRP2040::begin ( const my_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::TimerAlarmRepeatingRP2040::end ( )
inlinevirtual

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