STM32_PWM configuration structure. More...
#include <pwm_stm32.hpp>
Public Attributes | |
gpio_stm32_conf_t | gpio_config |
specify which gpio is used | |
uint32_t | timer |
specify which timer is used | |
rcc_periph_clken | rcc_timer |
rcc reference to the timer | |
pwm_stm32_channel_t | channel |
specify which channel is used | |
uint32_t | prescaler |
specify the clk divider | |
uint32_t | period |
specify the period of the PWM | |
uint32_t | pulse_us |
specify the pulse length in microseconds |
STM32_PWM configuration structure.