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

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

#include <AudioTimerMBED.h>

Inheritance diagram for TimerAlarmRepeatingDriverMBED:
TimerAlarmRepeatingDriverBase

Public Member Functions

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

Protected Member Functions

const char * toString (TimeUnit unit)
 

Static Protected Member Functions

static void tickerCallback ()
 

Protected Attributes

repeating_timer_callback_t callback
 
void * object = nullptr
 
mbed::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.


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