English
Language : 

W79E825A Datasheet, PDF (24/127 Pages) Winbond – 8-BIT MICROCONTROLLER
W79E825A/824A/823B/822B Data Sheet
CLOCK CONTROL
Bit: 7
6
5
4
3
2
-
-
-
T1M
T0M
-
Mnemonic: CKCON
BIT NAME
FUNCTION
7-5 - Reserved.
Timer 1 clock select:
4 T1M 0: Timer 1 uses a divide by 12 clocks.
1: Timer 1 uses a divide by 4 clocks.
Timer 0 clock select:
3 T0M 0: Timer 0 uses a divide by 12 clocks.
1: Timer 0 uses a divide by 4 clocks.
2-0 - Reserved.
1
0
-
-
Address: 8Eh
PORT 1
Bit: 7
6
5
4
3
2
1
0
P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1
P1.0
Mnemonic: P1
Address: 90h
P1.7-0: General purpose Input/Output port. Most instructions will read the port pins in case of a port
read access, however in case of read-modify-write instructions, the port latch is read. These alternate
functions are described below:
BIT NAME
FUNCTION
7
P1.7 PWM 2 Pin.
6
P1.6 PWM 1 Pin.
5
P1.5 /RST Pin or Input Pin by alternative.
4
P1.4 /INT1 interrupt.
3
P1.3 /INT0 interrupt or SDA of I2C.
2
P1.2 Timer 0 or SCL of I2C.
1
P1.1 RXD of Serial port.
0
P1.0 TXD of Serial port.
Note: The initial value of the port is set by CONFIG1.PRHI bit. The default setting for CONFIG1.PRHI =1 which the alternative
function output is turned on upon reset. If CONFIG1.PRHI is set to 0, the user has to write a 1 to port SFR to turn on the
alternative function output.
DIVIDER CLOCK
Bit: 7
6
5
4
3
2
1
0
DIVM.7 DIVM.6 DIVM.5 DIVM.4 DIVM.3 DIVM.2 DIVM.1 DIVM.0
Mnemonic: DIVM
Address: 95h
- 24 -