![]() |
no-OS
|
Structure holding the STM32 PWM descriptor. 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 |
| struct no_os_irq_ctrl_desc * | nvic_tim |
| struct no_os_callback_desc | timer_callback |
| uint32_t | repetitions |
| bool | dma_enable |
| bool | onepulse_enable |
Structure holding the STM32 PWM descriptor.
| uint32_t stm32_pwm_desc::clock_divider |
Get timer source clock divider
| bool stm32_pwm_desc::complementary_channel |
Complementary channel
| bool stm32_pwm_desc::dma_enable |
| uint32_t(* stm32_pwm_desc::get_timer_clock) (void) |
Get timer source clock function
| void* stm32_pwm_desc::htimer |
PWM Timer Handle
| enum TimOCMode stm32_pwm_desc::mode |
Timer output compare Mode
| struct no_os_irq_ctrl_desc* stm32_pwm_desc::nvic_tim |
Interrupt controller descriptor
| bool stm32_pwm_desc::onepulse_enable |
| uint32_t stm32_pwm_desc::prescaler |
Timer prescaler
| enum stm32_pwm_timer stm32_pwm_desc::pwm_timer |
Type of timer used for PWM
| uint32_t stm32_pwm_desc::repetitions |
| bool stm32_pwm_desc::timer_autoreload |
Timer autoreload enable
| struct no_os_callback_desc stm32_pwm_desc::timer_callback |
Timer callback
| uint32_t stm32_pwm_desc::timer_chn |
PWM timer channel