no-OS
|
Structure holding the STM32 PWM parameters. More...
#include <stm32_pwm.h>
Public Attributes | |
uint32_t | prescaler |
bool | timer_autoreload |
enum TimOCMode | mode |
uint32_t | timer_chn |
bool | complementary_channel |
uint32_t(* | get_timer_clock )(void) |
uint32_t | clock_divider |
bool | trigger_enable |
enum stm32_pwm_trigger | trigger_source |
enum stm32_pwm_trigger_out | trigger_output |
bool | onepulse_enable |
uint32_t | repetitions |
bool | dma_enable |
struct no_os_callback_desc | timer_callback |
Structure holding the STM32 PWM parameters.
uint32_t stm32_pwm_init_param::clock_divider |
Get timer source clock divider
bool stm32_pwm_init_param::complementary_channel |
Complementary channel
bool stm32_pwm_init_param::dma_enable |
uint32_t(* stm32_pwm_init_param::get_timer_clock) (void) |
Get timer source clock function
enum TimOCMode stm32_pwm_init_param::mode |
Timer output compare Mode
bool stm32_pwm_init_param::onepulse_enable |
uint32_t stm32_pwm_init_param::prescaler |
Timer prescaler (0 to 0xFFFF)
uint32_t stm32_pwm_init_param::repetitions |
bool stm32_pwm_init_param::timer_autoreload |
Timer autoreload enable
struct no_os_callback_desc stm32_pwm_init_param::timer_callback |
Timer callback
uint32_t stm32_pwm_init_param::timer_chn |
PWM timer channel
bool stm32_pwm_init_param::trigger_enable |
Enable trigger source
enum stm32_pwm_trigger_out stm32_pwm_init_param::trigger_output |
Trigger out selection
enum stm32_pwm_trigger stm32_pwm_init_param::trigger_source |
Trigger source selection