skimask,
Aw rat's, gave you a chance, but you missed it. :)
You were supposed to say "BAM".
Bit Angle Modulation.
For devices that rely on the "Average Current" resulting from a PWM signal, the PWM signal doesn't need to be exactly symmetrical waveforms based on consecutive ON and OFF cycles.
With BAM, you only need 8 interrupts per cycle. Each time period is "weighted" by it's bit position in the DutyCycle variable.
This way, you could turn every pin on a PIC18F8720 (all 67 of them) into PWM (BAM) outputs (at pretty high frequencies).
And of course, with DT_INTS, it's a piece of cake. :)
<br>