
W79E804A/803A/802A
Publication Release Date: July 16, 2007
- 41 -
Revision A2
BIT
NAME
FUNCTION
7
PWMRUN
0: The PWM is not running.
1: The PWM counter is running.
0: The registers value of PWMP and PWMn are never loaded to counter and
Comparator registers.
1: The PWMP and PWMn registers load value to counter and compare registers
at the counter underflow. This bit is auto cleared by hardware at next clock
cycle.
0: The 10-bit counter down count is not underflow.
1: The 10-bit counter down count is underflow. This bit is Software clear.
1: Clear 10-bit PWM counter to 000H. This bit is auto cleared by hardware.
0: PWM3 out is non-inverted.
1: PWM3 output is inverted.
0: PWM2 out is non-inverted.
1: PWM2 output is inverted.
0: PWM1 out is non-inverted.
1: PWM1 output is inverted.
0: PWM0 out is non-inverted.
1: PWM0 output is inverted.
6
Load
5
CF
4
CLRPWM
3
PWM3I
2
PWM2I
1
PWM1I
0
PWM0I
PWM2 LOW BITS REGISTER
Bit:
7
6
5
4
3
2
1
0
PWM2.7
PWM2.6
PWM2.5
PWM2.4
PWM2.3
PWM2.2
PWM2.1
PWM2.0
Mnemonic: PWM2L
Address: DDh
BIT
NAME
FUNCTION
7~0
PWM2.[7:0] PWM 2 Low Bits Register.
PWM3 LOW BITS REGISTER
Bit:
7
6
5
4
3
2
1
0
PWM3.7
PWM3.6
PWM3.5
PWM3.4
PWM3.3
PWM3.2
PWM3.1
PWM3.0
Mnemonic: PWM2L
Address: DEh
BIT
NAME
FUNCTION
7~0
PWM3.[7:0] PWM 3 Low Bits Register.
PWM CONTROL REGISTER 2
Bit:
7
6
5
4
3
2
1
0
BKCH
BKPS
BPEN
BKEN
PWM3B
PWM2B
PWM1B
PWM0B
Mnemonic: PWMCON2
Address: DFh