WT61P4 v1.03
Monitor Controller
PWM
PWM0: 12-bit PWM and +5/3.3V push-pull output, shared with I/O.
PWM1 ~ PWM15: 8-bit PWM and +5/3.3V push-pull output, shared with I/O.
The corresponding PWM register controls the PWM duty cycle. Duty cycle range is from 0/256 to
255/256. PWM0 duty cycle range is from 0/4096 to 4095/4096.
LSB 3-bit of the PWM1~PWM15 will extend Tpwm to the frame0~7, Fig.
000: no Tpwm extended.
001: extended Tpwm to the frame 4.
010: extended Tpwm to the frame 2 and 6.
011: extended Tpwm to the frame 2, 4 and 6.
100: extended Tpwm to the frame 1, 3, 5 and 7.
101: extended Tpwm to the frame 1, 3, 4, 5 and 7.
110: extended Tpwm to the frame 1, 2, 3, 5, 6 and 7.
111: extended Tpwm to the frame 1, 2, 3, 4, 5, 6 and 7.
PWMCLK=0, Tpwm=1/12MHz. PWMCLK=1, Tpwm=1/1.5MHz. Tframe=32Tpwm.
MSB 5-bit of the PWM1~PWM15: 0/32 to 31/32 duty of the Tframe.
LSB 6-bit of the PWM0 will extend Tpwm to the frame0~63, Fig.
000000 : no Tpwm extended.
000001 : extended Tpwm to the frame 32.
000010 : extended Tpwm to the frame 16 and 48.
000100 : extended Tpwm to the frame 8, 24, 40 and 56.
001000 : extended Tpwm to the frame 4, 12, 20, 28, 36, 44, 52 and 60.
010000 : extended Tpwm to the frame 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58 and 62.
100000 : extended Tpwm to the frame 1, 3, 5, 7, 9, ………57, 59, 61 and 63.
PWMCLK=0, Tpwm=1/12MHz. PWMCLK=1, Tpwm=1/1.5MHz. Tframe=64Tpwm.
MSB 6-bit of the PWM0: 0/64 to 63/64 duty of the Tframe.
Frame 0 Frame 1 Frame 2 Frame 3 Frame 4 Frame 5 Frame 6 Frame 7
Tpwm
PWM=00001000B
32 Tpwm
256 Tpwm
Tpwm
PWM=00000001B
PWM=00000010B
PWM=00000100B
Tpwm
Tpwm
Tpwm
Tpwm
2Tpwm
Tpwm
Tpwm
Tpwm
Tpwm
PWM=00001001B
PWM=00010010B
2Tpwm
2Tpwm
3Tpwm
2Tpwm
2
Tpwm
2Tpwm
3Tpwm
2Tpwm
2Tpwm
Fig. 14 PWM output waveform
Weltrend Semiconductor, Inc.
Page 39