no-OS
Public Attributes | List of all members
stm32_pwm_init_param Struct Reference

Structure holding the STM32 PWM parameters. More...

#include <stm32_pwm.h>

Collaboration diagram for stm32_pwm_init_param:
Collaboration graph
[legend]

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
 

Detailed Description

Structure holding the STM32 PWM parameters.

Member Data Documentation

◆ clock_divider

uint32_t stm32_pwm_init_param::clock_divider

Get timer source clock divider

◆ complementary_channel

bool stm32_pwm_init_param::complementary_channel

Complementary channel

◆ dma_enable

bool stm32_pwm_init_param::dma_enable

◆ get_timer_clock

uint32_t(* stm32_pwm_init_param::get_timer_clock) (void)

Get timer source clock function

◆ mode

enum TimOCMode stm32_pwm_init_param::mode

Timer output compare Mode

◆ onepulse_enable

bool stm32_pwm_init_param::onepulse_enable

◆ prescaler

uint32_t stm32_pwm_init_param::prescaler

Timer prescaler (0 to 0xFFFF)

◆ repetitions

uint32_t stm32_pwm_init_param::repetitions

◆ timer_autoreload

bool stm32_pwm_init_param::timer_autoreload

Timer autoreload enable

◆ timer_callback

struct no_os_callback_desc stm32_pwm_init_param::timer_callback

Timer callback

◆ timer_chn

uint32_t stm32_pwm_init_param::timer_chn

PWM timer channel

◆ trigger_enable

bool stm32_pwm_init_param::trigger_enable

Enable trigger source

◆ trigger_output

enum stm32_pwm_trigger_out stm32_pwm_init_param::trigger_output

Trigger out selection

◆ trigger_source

enum stm32_pwm_trigger stm32_pwm_init_param::trigger_source

Trigger source selection


The documentation for this struct was generated from the following file: