| ??? 11/05/03 13:36 Read: times |
#57872 - About LPC932 PWM Mode ! |
I am using LPC932 with internal RC osc. to implement 4 channel PWMs under Asymm mode.
But I do now know how to adjust the duty cycle of each PWM channel. Current CCU reload values as below: TOR2H = 0x00; TOR2L = 0xFF; Is it enough to adjust [OCRAH:OCRAL], [OCRBH:OCRBL], [OCRCH:OCRCL], [OCRDH:OCRDL], directly ? [ORCxH:ORCxL] reasonable range is 0x0000 to 0x00FF (0% to 100%) Right ? |



