iv
7.1.1 Block Diagram...................................................................................................... 131
Section 8
8.1
8.2
I/O Ports
............................................................................................................. 133
Overview............................................................................................................................ 133
Port 1.................................................................................................................................. 135
8.2.1
Overview............................................................................................................... 135
8.2.2
Register Configuration and Description............................................................... 135
8.2.3
Pin Functions......................................................................................................... 140
8.2.4
Pin States............................................................................................................... 142
8.2.5
MOS Input Pull-Up............................................................................................... 142
Port 2 [Chip Internal I/O Port]........................................................................................... 143
8.3.1
Overview............................................................................................................... 143
8.3.2
Register Configuration and Description............................................................... 143
8.3.3
Function ................................................................................................................ 147
8.3.4
States..................................................................................................................... 147
Port 3.................................................................................................................................. 148
8.4.1
Overview............................................................................................................... 148
8.4.2
Register Configuration and Description............................................................... 148
8.4.3
Pin Functions......................................................................................................... 151
8.4.4
Pin States............................................................................................................... 153
8.4.5
MOS Input Pull-Up............................................................................................... 153
Port 4*................................................................................................................................ 154
8.5.1
Overview............................................................................................................... 154
8.5.2
Register Configuration and Description............................................................... 154
8.5.3
Pin Functions......................................................................................................... 156
8.5.4
Pin States............................................................................................................... 157
Port 5.................................................................................................................................. 158
8.6.1
Overview............................................................................................................... 158
8.6.2
Register Configuration and Description............................................................... 158
8.6.3
Pin Functions......................................................................................................... 160
8.6.4
Pin States............................................................................................................... 161
8.6.5
MOS Input Pull-Up............................................................................................... 161
Port 6.................................................................................................................................. 162
8.7.1
Overview............................................................................................................... 162
8.7.2
Register Configuration and Description............................................................... 162
8.7.3
Pin Functions......................................................................................................... 164
8.7.4
Pin States............................................................................................................... 164
8.7.5
MOS Input Pull-Up............................................................................................... 164
Port 7.................................................................................................................................. 165
8.8.1
Overview............................................................................................................... 165
8.8.2
Register Configuration and Description............................................................... 165
8.8.3
Pin Functions......................................................................................................... 167
8.8.4
Pin States............................................................................................................... 167
8.3
8.4
8.5
8.6
8.7
8.8