Header file of IRQ interface.
const struct no_os_pwm_platform_ops stm32_pwm_ops
STM32 platform specific PWM platform ops structure.
Definition stm32_pwm.c:1201
stm32_pwm_slave_mode
Definition stm32_pwm.h:76
@ STM32_PWM_SM_DISABLE
Definition stm32_pwm.h:77
@ STM32_PWM_SM_TRIGGER
Definition stm32_pwm.h:78
@ STM32_PWM_SM_EXTERNAL1
Definition stm32_pwm.h:79
@ STM32_PWM_SM_GATED
Definition stm32_pwm.h:80
stm32_pwm_timer
Definition stm32_pwm.h:40
@ STM32_PWM_TIMER_TIM
Definition stm32_pwm.h:41
@ STM32_PWM_TIMER_LPTIM
Definition stm32_pwm.h:42
stm32_pwm_trigger_out
Definition stm32_pwm.h:65
@ PWM_TRGO_OC3REF
Definition stm32_pwm.h:72
@ PWM_TRGO_OC1REF
Definition stm32_pwm.h:70
@ PWM_TRGO_UPDATE
Definition stm32_pwm.h:68
@ PWM_TRGO_OC2REF
Definition stm32_pwm.h:71
@ PWM_TRGO_ENABLE
Definition stm32_pwm.h:67
@ PWM_TRGO_RESET
Definition stm32_pwm.h:66
@ PWM_TRGO_OC1
Definition stm32_pwm.h:69
@ PWM_TRGO_OC4REF
Definition stm32_pwm.h:73
stm32_pwm_trigger
Definition stm32_pwm.h:51
@ PWM_TS_ITR0
Definition stm32_pwm.h:53
@ PWM_TS_ITR1
Definition stm32_pwm.h:54
@ PWM_TS_ETR
Definition stm32_pwm.h:57
@ PWM_TS_ITR2
Definition stm32_pwm.h:55
@ PWM_TS_ITR3
Definition stm32_pwm.h:56
@ PWM_TS_NONE
Definition stm32_pwm.h:52
TimOCMode
Definition stm32_pwm.h:45
@ TIM_OC_TOGGLE
Definition stm32_pwm.h:46
@ TIM_OC_PWM1
Definition stm32_pwm.h:47
@ TIM_OC_PWM2
Definition stm32_pwm.h:48
stm32_pwm_trigger_polarity
Definition stm32_pwm.h:60
@ PWM_TRIG_POL_FALLING
Definition stm32_pwm.h:62
@ PWM_TRIG_POL_RISING
Definition stm32_pwm.h:61
Structure describing a callback to be registered.
Definition no_os_irq.h:136
Definition no_os_irq.h:117
Structure holding the STM32 PWM descriptor.
Definition stm32_pwm.h:128
struct no_os_callback_desc timer_callback
Definition stm32_pwm.h:150
uint32_t(* get_timer_clock)(void)
Definition stm32_pwm.h:144
bool timer_autoreload
Definition stm32_pwm.h:136
bool onepulse_enable
Definition stm32_pwm.h:156
void * htimer
Definition stm32_pwm.h:130
bool dma_enable
Definition stm32_pwm.h:154
bool complementary_channel
Definition stm32_pwm.h:142
uint32_t prescaler
Definition stm32_pwm.h:134
enum TimOCMode mode
Definition stm32_pwm.h:138
uint32_t repetitions
Definition stm32_pwm.h:152
struct no_os_irq_ctrl_desc * nvic_tim
Definition stm32_pwm.h:148
uint32_t clock_divider
Definition stm32_pwm.h:146
uint32_t timer_chn
Definition stm32_pwm.h:140
enum stm32_pwm_timer pwm_timer
Definition stm32_pwm.h:132
Structure holding the STM32 PWM parameters.
Definition stm32_pwm.h:87
uint32_t prescaler
Definition stm32_pwm.h:93
enum stm32_pwm_trigger_out trigger_output
Definition stm32_pwm.h:111
uint32_t repetitions
Definition stm32_pwm.h:117
uint32_t timer_chn
Definition stm32_pwm.h:99
enum TimOCMode mode
Definition stm32_pwm.h:97
bool complementary_channel
Definition stm32_pwm.h:101
uint32_t(* get_timer_clock)(void)
Definition stm32_pwm.h:103
bool onepulse_enable
Definition stm32_pwm.h:115
bool timer_autoreload
Definition stm32_pwm.h:95
bool dma_enable
Definition stm32_pwm.h:119
enum stm32_pwm_slave_mode slave_mode
Definition stm32_pwm.h:107
enum stm32_pwm_trigger_polarity trigger_polarity
Definition stm32_pwm.h:113
struct no_os_callback_desc timer_callback
Definition stm32_pwm.h:121
enum stm32_pwm_trigger trigger_source
Definition stm32_pwm.h:109
void * htimer
Definition stm32_pwm.h:89
enum stm32_pwm_timer pwm_timer
Definition stm32_pwm.h:91
uint32_t clock_divider
Definition stm32_pwm.h:105