|
TM STM32F4xx Libraries
v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
|
PWM Timer data. More...
#include <tm_stm32f4_pwm.h>
Data Fields | |
| TIM_TypeDef * | TIM |
| uint32_t | Period |
| uint32_t | Prescaler |
| uint32_t | Frequency |
| uint32_t | Micros |
| uint32_t | CH_Periods [4] |
| uint8_t | CH_Init |
PWM Timer data.
| uint8_t CH_Init |
Flag to check if specific channel is already initialized
| uint32_t CH_Periods[4] |
Array of periods for PWM compare
| uint32_t Frequency |
PWM frequency used
| uint32_t Micros |
Microseconds used for one period. This is not useful in large pwm frequency, but good for controlling servos or similar, Where you need exact time of pulse high
| uint32_t Period |
Period used, set on initialization for PWM
| uint32_t Prescaler |
Prescaler used for PWM frequency
| TIM_TypeDef* TIM |
Pointer to timer used