
Preliminary W79E225A/227A Data Sheet
Publication Release Date: December 14, 2007
- 33 -
Revision A2.0
BIT
NAME
FUNCTION
7-0
P1
General purpose I/O 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. Some pins also have alternate input or output functions. The
alternate functions are described below.
ALTERNATE FUNCTION1
ALTERNATE FUNCTION2
P1.0
T2: External I/O for Timer/Counter 2
ADC0: Analog input0
P1.1
PWM Brake
ADC1: Analog input1
P1.2
RXD1
ADC2: Analog input2
P1.3
TXD1
ADC3: Analog input3
P1.4
ADC4: Analog input4
P1.5
ADC5: Analog input5
P1.6
ADC6: Analog input6
P1.7
ADC7: Analog input7
EXTERNAL INTERRUPT FLAG
Bit:
7
6
5
4
3
2
1
0
IE5
IE4
IE3
IE2
-
-
-
-
Mnemonic: EXIF
Address: 91h
BIT
NAME
FUNCTION
7
IE5
External Interrupt 5 flag. Set by hardware when a rising/falling/both edges is
detected onINT5 pin.
6
IE4
External Interrupt 4 flag. Set by hardware when a rising/falling/both edges is
detected on INT4 pin.
5
IE3
External Interrupt 3 flag. Set by hardware when a rising/falling/both edges is
detected on INT3 pin.
4
IE2
External Interrupt 2 flag. Set by hardware when a rising edge is detected on
INT2 pin.
3-0
-
Reserved.
PORT 4 CONTROL REGISTER A
Bit:
7
6
5
4
3
2
1
0
P41FUN1
P41FUN0 P41CMP1
P41CMP0
P40FUN1
P40FUN0 P40CMP1 P40CMP0
Mnemonic: P4CONA
Address: 92h