Hi,
I am sort of confused at how to create an "enable" signal for a set of PWM signals.
What I have right now is a up-down counter, and my PWMs are generated by comparing to a value on the up and down part of the counter.
What I want to do is create an enable signal (which is independent of the counter signal) that when turned LOW, the PWMs are turned off, but when turned HIGH, the PWMs are turned back on.
is there some simple code that someone can show me to see how this is done? I have attached a diagram to show what i want to do. The diagram shows the a) counter, b) enable signal c) PWM
http://i.imgur.com/LMrJV.png
thanks