6. I/O ports
A96G140/A96G148/A96A148 User’s manual
56
P1FSRL (Port 1 Function Selection Low Register): D4H
7
6
5
4
3
2
1
0
P1FSRL7
P1FSRL6
P1FSRL5
P1FSRL4
P1FSRL3
P1FSRL2
P1FSRL1
P1FSRL0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P1FSRL[7:6]
P13 Function Select
P1FSRL7 P1FSRL6 Description
0
0
I/O Port(EC1 function possible when input)
0
1
reserved
1
0
AN10 Function
1
1
BUZO Function
P1FSRL[5:4]
P12 Function Select
P1FSRL5 P1FSRL4 Description
0
0
I/O Port(EINT11 function possible when
input)
0
1
reserved
1
0
AN11 Function
1
1
T1O/PWM1O Function
P1FSRL[3:2]
P11 Function Select
P1FSRL3 P1FSRL2 Description
0
0
I/O Port(EINT12 function possible when
input)
0
1
reserved
1
0
AN12 Function
1
1
T2O/PWM2O Function
P1FSRL[1:0]
P10 Function Select
P1FSRL1 P1FSRL0 Description
0
0
I/O Port
0
1
reserved
1
0
AN13 Function
1
1
RXD1/SCL1/MISO1 Function
6.4
P2 port
6.4.1
P2 port description
P2 is an 8-bit I/O port. P2 control registers consist of P2 data register (P2), P2 direction register (P2IO),
P2 pull-up resistor selection register (P2PU) andP2 open-drain selection register (P2OD).Refer to the
port function selection registers for the P2 function selection.
6.4.2
Register description for P2