Table 7.14 Port 8 Pin Functions in Modes 1 to 5
Pin
P8
/CS
4
0
P8
/CS
/IRQ
/
3
1
3
ADTRG
P8
/CS
/IRQ
2
2
2
P8
/CS
/IRQ
1
3
1
P8
/IRQ
0
0
Pin Functions and Selection Method
Bit P8
DDR selects the pin function as follows.
4
P8
DDR
4
Pin function
Bit P8
DDR selects the pin function as follows
3
P8
DDR
3
Pin function
Bit P8
DDR selects the pin function as follows.
2
P8
DDR
2
Pin function
Bit P8
DDR selects the pin function as follows.
1
P8
DDR
1
Pin function
Bit P8
DDR selects the pin function as follows.
0
P8
DDR
0
Pin function
0
P8
input
4
0
P8
input
3
IRQ
input
3
ADTRG input
0
P8
input
2
IRQ
input
2
0
P8 1 input
IRQ
input
1
0
P8
input
0
IRQ
input
0
1
CS
output
0
1
CS
output
1
1
CS
output
2
1
CS
output
3
1
P8
output
0
189