arduino-audio-tools
Loading...
Searching...
No Matches
UserCallback Class Reference

Internal class to manage User callbacks. An optinal parameter can be passed to the callback method We support 4 timers. More...

#include <CodecOpusOgg.h>

Public Member Functions

void call ()
void call ()
void setup (repeating_timer_callback_t my_callback, void *user_data, bool lock)
void setup (repeating_timer_callback_t my_callback, void *user_data, bool lock)

Protected Attributes

bool lock
repeating_timer_callback_t my_callback = nullptr
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED
void * user_data = nullptr

Detailed Description

Internal class to manage User callbacks. An optinal parameter can be passed to the callback method We support 4 timers.

Author
Phil Schatzmann

Member Function Documentation

◆ call() [1/2]

void call ( )
inline

◆ call() [2/2]

void call ( )
inline

◆ setup() [1/2]

void setup ( repeating_timer_callback_t my_callback,
void * user_data,
bool lock )
inline

◆ setup() [2/2]

void setup ( repeating_timer_callback_t my_callback,
void * user_data,
bool lock )
inline

Member Data Documentation

◆ lock

bool lock
protected

◆ my_callback

repeating_timer_callback_t my_callback = nullptr
protected

◆ timerMux

portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED
protected

◆ user_data

void * user_data = nullptr
protected

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