English
Language : 

W79E825A Datasheet, PDF (30/127 Pages) Winbond – 8-BIT MICROCONTROLLER
W79E825A/824A/823B/822B Data Sheet
Continued .
BIT NAME
2 OE2
1 CO2
0 CMF2
FUNCTION
Output enable:
1: The comparator output is connected to the CMP2 pin if the comparator is
enabled (CE2 = 1). This output is asynchronous to the CPU clock.
Comparator output:
Synchronized to the CPU clock to allow reading by software. Cleared when the
comparator is disabled (CE2 = 0).
Comparator interrupt flag:
This bit is set by hardware whenever the comparator output CO2 changes state.
This bit will cause a hardware interrupt if enabled and of sufficient priority.
Cleared by software and when the comparator is disabled (CE2 = 0).
PORT 0 OUTPUT MODE 1
Bit: 7
P0M1.7
6
P0M1.6
5
P0M1.5
4
P0M1.4
3
P0M1.3
2
P0M1.2
Mnemonic: P0M1
BIT NAME
FUNCTION
7-0 P0M1.[7:0] To control the output configuration of P0 bits [7:0]
1
0
P0M1.1 P0M1.0
Address: B1h
PORT 0 OUTPUT MODE 2
Bit: 7
P0M2.7
6
P0M2.6
5
P0M2.5
4
P0M2.4
3
P0M2.3
2
P0M2.2
Mnemonic: P0M2
BIT NAME
FUNCTION
7-0 P0M2.[7:0] To control the output configuration of P0 bits [7:0]
1
0
P0M2.1 P0M2.0
Address: B2h
PORT 1 OUTPUT MODE 1
Bit: 7
6
5
4
3
2
P1M1.7 P1M1.6 -
P1M1.4 P1M1.3 P1M1.2
Mnemonic: P1M1
BIT NAME
FUNCTION
7-0 P1M1.[7:0] To control the output configuration of P1 bits [7:0]
1
0
P1M1.1 P1M1.0
Address: B3h
PORT 1 OUTPUT MODE 2
Bit: 7
6
5
P1M2.7 P1M2.6 -
Mnemonic: P1M2
4
P1M2.4
3
P1M2.3
2
P1M2.2
1
0
P1M2.1 P1M2.0
Address: B4h
- 30 -