Section 7 RAM ..............................................................................................133
7.1 Overview ........................................................................................................................ 133
7.1.1 Block Diagram .................................................................................................. 133
Section 8 I/O Ports.........................................................................................135
8.1 Overview ........................................................................................................................ 135
8.2 Port 1.............................................................................................................................. 137
8.2.1 Overview........................................................................................................... 137
8.2.2 Register Configuration and Description ............................................................. 137
8.2.3 Pin Functions..................................................................................................... 141
8.2.4 Pin States........................................................................................................... 142
8.2.5 MOS Input Pull-Up............................................................................................ 143
8.3 Port 3.............................................................................................................................. 143
8.3.1 Overview........................................................................................................... 143
8.3.2 Register Configuration and Description ............................................................. 144
8.3.3 Pin Functions..................................................................................................... 147
8.3.4 Pin States........................................................................................................... 149
8.3.5 MOS Input Pull-Up............................................................................................ 149
8.4 Port 4............................................................................................................................... 150
8.4.1 Overview............................................................................................................ 150
8.4.2 Register Configuration and Description .............................................................. 150
8.4.3 Pin Functions...................................................................................................... 152
8.4.4 Pin States............................................................................................................ 153
8.5 Port 5.............................................................................................................................. 153
8.5.1 Overview........................................................................................................... 153
8.5.2 Register Configuration and Description ............................................................. 154
8.5.3 Pin Functions..................................................................................................... 156
8.5.4 Pin States........................................................................................................... 157
8.5.5 MOS Input Pull-Up............................................................................................ 157
8.6 Port 6.............................................................................................................................. 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........................................................................................................... 160
8.6.5 MOS Input Pull-Up........................................................................................... 160
8.7 Port 7.............................................................................................................................. 161
8.7.1 Overview........................................................................................................... 161
8.7.2 Register Configuration and Description ............................................................. 161
8.7.3 Pin Functions..................................................................................................... 162
8.7.4 Pin States........................................................................................................... 162
iv