
Table 9-15 Port 8 Pin Functions in Mode 7
Pin
Pin Functions and Selection Method
P8
4
Bit P8
4
DDR selects the pin function as follows
P8
4
DDR
0
1
Pin function
P8
4
input
P8
4
output
P8
3
/IRQ
3
Bit P8
3
DDR selects the pin function as follows
P8
3
DDR
0
1
Pin function
P8
3
input
P8
3
output
IRQ
3
input
P8
2
/IRQ
2
Bit P8
2
DDR selects the pin function as follows
P8
2
DDR
0
1
Pin function
P8
2
input
P8
2
output
IRQ
2
input
P8
1
/IRQ
1
Bit P8
1
DDR selects the pin function as follows
P8
1
DDR
0
1
Pin function
P8
1
input
P8
1
output
IRQ
1
input
P8
0
/IRQ
0
Bit P8
0
DDR select the pin function as follows
P8
0
DDR
0
1
Pin function
P8
0
input
P8
0
output
IRQ
0
input
271
www.DataSheet4U.com