no-OS
|
Structure holding the STM32 PWM descriptor. More...
#include <stm32_pwm.h>
Public Attributes | |
TIM_HandleTypeDef | htimer |
struct no_os_gpio_desc * | gpio |
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 |
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
struct no_os_gpio_desc* stm32_pwm_desc::gpio |
Timer GPIO instance
TIM_HandleTypeDef stm32_pwm_desc::htimer |
PWM Timer Instance
enum TimOCMode stm32_pwm_desc::mode |
Timer output compare Mode
struct no_os_irq_ctrl_desc* stm32_pwm_desc::nvic_tim |
Interrupt controller descriptor
uint32_t stm32_pwm_desc::prescaler |
Timer prescaler
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