2004-11-28 05:44 PM
2004-11-25 06:12 AM
How to vary the frequency of the PWM, using ATR ?
2004-11-28 05:44 PM
You can vary the PWM frequency by varying the ATR register value. The ATR value is loaded into the counter register at each overflow(OVF) event. You can calculate the ATR value for selecting a particluar frequency according to your counter clock selection.