iii
Section 7
7.1
7.2
I/O Ports
............................................................................................................. 101
Overview............................................................................................................................ 101
Port 1.................................................................................................................................. 104
7.2.1
Overview............................................................................................................... 104
7.2.2
Register Configuration and Descriptions.............................................................. 105
7.2.3
Pin Functions in Each Mode................................................................................. 107
7.2.4
Input Pull-Up Transistors...................................................................................... 109
Port 2.................................................................................................................................. 110
7.3.1
Overview............................................................................................................... 110
7.3.2
Register Configuration and Descriptions.............................................................. 111
7.3.3
Pin Functions in Each Mode................................................................................. 113
7.3.4
Input Pull-Up Transistors...................................................................................... 115
Port 3.................................................................................................................................. 116
7.4.1
Overview............................................................................................................... 116
7.4.2
Register Configuration and Descriptions.............................................................. 117
7.4.3
Pin Functions in Each Mode................................................................................. 119
7.4.4
Input Pull-Up Transistors...................................................................................... 120
Port 4.................................................................................................................................. 121
7.5.1
Overview............................................................................................................... 121
7.5.2
Register Configuration and Descriptions.............................................................. 122
7.5.3
Pin Functions........................................................................................................ 124
Port 5.................................................................................................................................. 126
7.6.1
Overview............................................................................................................... 126
7.6.2
Register Configuration and Descriptions.............................................................. 126
7.6.3
Pin Functions........................................................................................................ 128
Port 6.................................................................................................................................. 129
7.7.1
Overview............................................................................................................... 129
7.7.2
Register Configuration and Descriptions.............................................................. 129
7.7.3
Pin Functions........................................................................................................ 132
7.7.4
Input Pull-Up Transistors...................................................................................... 134
Port 7.................................................................................................................................. 135
7.8.1
Overview............................................................................................................... 135
7.8.2
Register Configuration and Descriptions.............................................................. 135
Port 8.................................................................................................................................. 136
7.9.1
Overview............................................................................................................... 136
7.9.2
Register Configuration and Descriptions.............................................................. 137
7.9.3
Pin Functions........................................................................................................ 139
7.10 Port 9.................................................................................................................................. 141
7.10.1 Overview............................................................................................................... 141
7.10.2 Register Configuration and Descriptions.............................................................. 142
7.10.3 Pin Functions........................................................................................................ 144
7.11 Port A................................................................................................................................. 146
7.11.1 Overview............................................................................................................... 146
7.3
7.4
7.5
7.6
7.7
7.8
7.9