cancel
Showing results for 
Search instead for 
Did you mean: 

How a GPIO pin binds to a PWM channel

Jimmy_Ma
Associate II

Hi Sir,

I tried to refer to the PWM example:

~\stm32cubeh7-v1-12-0\STM32Cube_FW_H7_V1.12.0\Projects\STM32H743I-EVAL\Examples\TIM\TIM_PWMOutput

 

I see the four GPIO pins are initialized:

Jimmy_Ma_1-1759295806483.png

 

And I see the four PWM channels are setup:

Jimmy_Ma_0-1759295773760.png

 

But I can't find the code where each GPIO pin is bound to each PWM channel or the ISR where each GPIO is toggled whenever a PWM channel interrupt occurs.

 

Please advise. Thanks.

 

Jimmy

 

0 REPLIES 0