![]() |
no-OS
|
Structure holding the STM32 PWM parameters. More...
#include <stm32_pwm.h>
Public Attributes | |
| void * | htimer |
| enum stm32_pwm_timer | pwm_timer |
| 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 |
| enum stm32_pwm_slave_mode | slave_mode |
| enum stm32_pwm_trigger | trigger_source |
| enum stm32_pwm_trigger_out | trigger_output |
| enum stm32_pwm_trigger_polarity | trigger_polarity |
| 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
| void* stm32_pwm_init_param::htimer |
PWM Timer Handle
| 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)
| enum stm32_pwm_timer stm32_pwm_init_param::pwm_timer |
Type of timer used for PWM
| uint32_t stm32_pwm_init_param::repetitions |
| enum stm32_pwm_slave_mode stm32_pwm_init_param::slave_mode |
Slave mode
| 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
| enum stm32_pwm_trigger_out stm32_pwm_init_param::trigger_output |
Trigger out selection
| enum stm32_pwm_trigger_polarity stm32_pwm_init_param::trigger_polarity |
Trigger polarity selection
| enum stm32_pwm_trigger stm32_pwm_init_param::trigger_source |
Trigger source selection