STM32 Repeating Timer functions for repeated execution: Please use the typedef TimerAlarmRepeating. By default the TIM1 is used.
More...
#include <AudioTimerSTM32.h>
|
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) |
|
|
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.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ begin()
bool begin |
( |
repeating_timer_callback_t |
callback_f, |
|
|
uint32_t |
time, |
|
|
TimeUnit |
unit = MS |
|
) |
| |
|
inlineoverridevirtual |
◆ end()
◆ setTimer()
void setTimer |
( |
int |
timerIdx | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: