|
arduino-audio-tools
|
STM32 Repeating Timer functions for repeated execution: Please use the typedef TimerAlarmRepeating. By default the TIM1 is used. More...
#include <AudioTimerSTM32.h>
Public Member Functions | |
| TimerAlarmRepeatingDriverSTM32 () | |
| ~TimerAlarmRepeatingDriverSTM32 () | |
| 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. | |
| void | setTimer (int timerIdx) override |
| selects the timer: 0 = TIM1, 1 = TIM2,2 = TIM3, 3 = TIM4, 4 = TIM5 | |
| void | setTimer (TIM_TypeDef *timerDef) |
| select the timer | |
| virtual void | setTimerFunction (TimerFunction function=DirectTimerCallback) |
Protected Member Functions | |
| const char * | toString (TimeUnit unit) |
Protected Attributes | |
| void * | object = nullptr |
| HardwareTimer * | timer = nullptr |
| int | timer_index |
| TIM_TypeDef * | timers [6] = {TIM1, TIM2, TIM3, TIM4, TIM5} |
STM32 Repeating Timer functions for repeated execution: Please use the typedef TimerAlarmRepeating. By default the TIM1 is used.
|
inline |
|
inline |
|
inlineoverridevirtual |
Starts the alarm timer
Implements TimerAlarmRepeatingDriverBase.
|
inlineinherited |
|
inlineoverridevirtual |
Reimplemented from TimerAlarmRepeatingDriverBase.
selects the timer: 0 = TIM1, 1 = TIM2,2 = TIM3, 3 = TIM4, 4 = TIM5
Reimplemented from TimerAlarmRepeatingDriverBase.
|
inline |
select the timer
|
inlinevirtualinherited |
|
protected |
|
protected |