|
TM STM32F4xx Libraries
v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
|
Custom timer structure. More...
#include <tm_stm32f4_delay.h>
Data Fields | |
| uint32_t | ARR |
| uint32_t | AutoReload |
| uint32_t | CNT |
| uint8_t | Enabled |
| void(* | Callback )(void *) |
| void * | UserParameters |
Custom timer structure.
| uint32_t ARR |
Auto reload value
| uint32_t AutoReload |
Set to 1 if timer should be auto reloaded when it reaches zero
| void(* Callback) (void *) |
Callback which will be called when timer reaches zero
| uint32_t CNT |
Counter value, counter counts down
| uint8_t Enabled |
Set to 1 when timer is enabled
| void* UserParameters |
Pointer to user parameters used for callback function