cancel
Showing results for 
Search instead for 
Did you mean: 

How to change PWM polarity for different channels on the TIMER1 of STM32 using HAL?

RMull.2
Associate
 
2 REPLIES 2
prain
Senior III

change between CH_POLARITY_HIGH​ and CH_POLARITY_LOW in initialization struct and reinit pwm channel.

KnarfB
Principal III

Could also be selected in STMCubeMX/IDE Configuration GUI.