Switch on/off complex PWM

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaBo_288066
Level 2
Level 2
        Hi all, is there any method to switch on/off a PWM signal generated by a complex i/o? Once the i/o is configured by CyU3PGpioSetComplexConfig() it starts to generate the signal but if I want to stop and restore it? Can I only use CyU3PGpioDisable() and another CyU3PGpioSetComplexConfig() to restart? Thanks, DaX   
0 Likes
1 Reply
Anonymous
Not applicable

Hi,

   

Yes. you need to use the CyU3PGpioDisable. I am afraid there is no better method.

   

Regards,

   

- Madhu Sudhan