Pablo Igor Vicente

How to force PWM output

Discussion created by Pablo Igor Vicente on May 7, 2012
Latest reply on May 10, 2012 by bigmac



I am using a TPM timer in edge-aligned PWM mode in MC9S08SH32.

During normal operation the channel value register sets the duty cycle of the PWM output signal, but on an external interrupt request I want to force the PWM output to 0. What is the best approach to do this?



Thanks in advance.