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

Structure holding the STM32 PWM descriptor. More...

#include <stm32_pwm.h>

Collaboration diagram for stm32_pwm_desc:
Collaboration graph
[legend]

Public Attributes

TIM_HandleTypeDef htimer
 
struct no_os_gpio_descgpio
 
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_descnvic_tim
 
struct no_os_callback_desc timer_callback
 
uint32_t repetitions
 
bool dma_enable
 

Detailed Description

Structure holding the STM32 PWM descriptor.

Member Data Documentation

◆ clock_divider

uint32_t stm32_pwm_desc::clock_divider

Get timer source clock divider

◆ complementary_channel

bool stm32_pwm_desc::complementary_channel

Complementary channel

◆ dma_enable

bool stm32_pwm_desc::dma_enable

◆ get_timer_clock

uint32_t(* stm32_pwm_desc::get_timer_clock) (void)

Get timer source clock function

◆ gpio

struct no_os_gpio_desc* stm32_pwm_desc::gpio

Timer GPIO instance

◆ htimer

TIM_HandleTypeDef stm32_pwm_desc::htimer

PWM Timer Instance

◆ mode

enum TimOCMode stm32_pwm_desc::mode

Timer output compare Mode

◆ nvic_tim

struct no_os_irq_ctrl_desc* stm32_pwm_desc::nvic_tim

Interrupt controller descriptor

◆ prescaler

uint32_t stm32_pwm_desc::prescaler

Timer prescaler

◆ repetitions

uint32_t stm32_pwm_desc::repetitions

◆ timer_autoreload

bool stm32_pwm_desc::timer_autoreload

Timer autoreload enable

◆ timer_callback

struct no_os_callback_desc stm32_pwm_desc::timer_callback

Timer callback

◆ timer_chn

uint32_t stm32_pwm_desc::timer_chn

PWM timer channel


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