6. I/O ports
A96G140/A96G148/A96A148 User’s manual
60
P3FSR (Port 3 Function Selection Register): EEH
7
6
5
4
3
2
1
0
P3FSR7
P3FSR6
P3FSR5
P3FSR4
P3FSR3
P3FSR2
P3FSR1
P3FSR0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P3FSR7
P37 Function select
0
I/O Port
1
LED0 Function
P3FSR6
P36 Function Select
0
I/O Port
1
LED1 Function
P3FSR5
P35 Function select
0
I/O Port
1
LED2 Function
P3FSR4
P34 Function Select
0
I/O Port
1
LED3 Function
P3FSR3
P33 Function select
0
I/O Port
1
LED4 Function
P3FSR2
P32 Function Select
0
I/O Port
1
LED5 Function
P3FSR1
P31 Function select
0
I/O Port
1
LED6 Function
P3FSR0
P30 Function Select
0
I/O Port
1
LED7 Function
NOTE:
LEDn function is used for high current driving and it can drive about 180mA (Typ.) @VDD=5V, V
OL
= 1.5V.
6.6
P4 port
6.6.1
P4 port description
P4 is a 4-bit I/O port. P4 control registers consist of P4 data register (P4), P4 direction register (P4IO),
P4 pull-up resistor selection register (P4PU) andP4 open-drain selection register (P4OD).Refer to the
port function selection registers for the P4 function selection.
6.6.2
Register description for P4