
iv
Section 7 I/O Ports.........................................................................................117
7.1 Overview........................................................................................................................ 117
7.2 Port 1..............................................................................................................................120
7.2.1 Overview...........................................................................................................120
7.2.2 Register Descriptions......................................................................................... 120
7.2.3 Pin Functions in Each Mode.............................................................................. 122
7.3 Port 2..............................................................................................................................123
7.3.1 Overview...........................................................................................................123
7.3.2 Register Descriptions......................................................................................... 123
7.3.3 Pin Functions in Each Mode.............................................................................. 125
7.3.4 Input Pull-Up Transistors................................................................................... 126
7.4 Port 3..............................................................................................................................127
7.4.1 Overview...........................................................................................................127
7.4.2 Register Descriptions......................................................................................... 127
7.4.3 Pin Functions in Each Mode.............................................................................. 129
7.5 Port 5..............................................................................................................................130
7.5.1 Overview...........................................................................................................130
7.5.2 Register Descriptions......................................................................................... 130
7.5.3 Pin Functions in Each Mode.............................................................................. 132
7.5.4 Input Pull-Up Transistors................................................................................... 133
7.6 Port 6..............................................................................................................................134
7.6.1 Overview...........................................................................................................134
7.6.2 Register Descriptions......................................................................................... 134
7.6.3 Pin Functions in Each Mode.............................................................................. 136
7.7 Port 7..............................................................................................................................138
7.7.1 Overview...........................................................................................................138
7.7.2 Register Description ..........................................................................................139
7.8 Port 8..............................................................................................................................139
7.8.1 Overview...........................................................................................................139
7.8.2 Register Descriptions......................................................................................... 140
7.8.3 Pin Functions..................................................................................................... 142
7.9 Port 9..............................................................................................................................143
7.9.1 Overview...........................................................................................................143
7.9.2 Register Descriptions......................................................................................... 143
7.9.3 Pin Functions..................................................................................................... 145
7.10 Port A ........................................................................................................................... 146
7.10.1 Overview.........................................................................................................146
7.10.2 Register Descriptions.......................................................................................147
7.10.3 Pin Functions...................................................................................................149
7.11 Port B ........................................................................................................................... 153
7.11.1 Overview.........................................................................................................153
7.11.2 Register Descriptions.......................................................................................154