iii
Section 7 I/O Ports
............................................................................................................... 107
7.1
Overview............................................................................................................................ 107
7.2
Port 1.................................................................................................................................. 112
7.2.1
Overview............................................................................................................... 112
7.2.2
Register Configuration and Descriptions.............................................................. 113
7.2.3
Pin Functions in Each Mode................................................................................. 115
7.2.4
Input Pull-Up Transistors...................................................................................... 117
7.3
Port 2.................................................................................................................................. 118
7.3.1
Overview............................................................................................................... 118
7.3.2
Register Configuration and Descriptions.............................................................. 119
7.3.3
Pin Functions in Each Mode................................................................................. 121
7.3.4
Input Pull-Up Transistors...................................................................................... 123
7.4
Port 3.................................................................................................................................. 123
7.4.1
Overview............................................................................................................... 123
7.4.2
Register Configuration and Descriptions.............................................................. 125
7.4.3
Pin Functions in Each Mode................................................................................. 127
7.4.4
Input Pull-Up Transistors...................................................................................... 129
7.5
Port 4.................................................................................................................................. 129
7.5.1
Overview............................................................................................................... 129
7.5.2
Register Configuration and Descriptions.............................................................. 131
7.5.3
Pin Functions........................................................................................................ 133
7.6
Port 5.................................................................................................................................. 135
7.6.1
Overview............................................................................................................... 135
7.6.2
Register Configuration and Descriptions.............................................................. 135
7.6.3
Pin Functions........................................................................................................ 137
7.7
Port 6.................................................................................................................................. 138
7.7.1
Overview............................................................................................................... 138
7.7.2
Register Configuration and Descriptions.............................................................. 138
7.7.3
Pin Functions........................................................................................................ 141
7.7.4
Input Pull-Up Transistors...................................................................................... 143
7.8
Port 7.................................................................................................................................. 144
7.8.1
Overview............................................................................................................... 144
7.8.2
Register Configuration and Descriptions.............................................................. 144
7.9
Port 8.................................................................................................................................. 145
7.9.1
Overview............................................................................................................... 145
7.9.2
Register Configuration and Descriptions.............................................................. 146
7.9.3
Pin Functions........................................................................................................ 148
7.10
Port 9.................................................................................................................................. 151
7.10.1 Overview............................................................................................................... 151
7.10.2 Register Configuration and Descriptions.............................................................. 152
7.10.3 Pin Functions........................................................................................................ 154