v
Section 8
I/O Ports
............................................................................................................. 133
8.1
Overview............................................................................................................................ 133
8.2
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
8.3
Port 3.................................................................................................................................. 143
8.3.1
Overview............................................................................................................... 143
8.3.2
Register Configuration and Description ............................................................... 143
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 ........................................................................................................ 151
8.4.4
Pin States............................................................................................................... 152
8.5
Port 5.................................................................................................................................. 153
8.5.1
Overview............................................................................................................... 153
8.5.2
Register Configuration and Description ............................................................... 153
8.5.3
Pin Functions ........................................................................................................ 156
8.5.4
Pin States .............................................................................................................. 156
8.5.5
MOS Input Pull-Up............................................................................................... 157
8.6
Port 6.................................................................................................................................. 157
8.6.1
Overview............................................................................................................... 157
8.6.2
Register Configuration and Description ............................................................... 158
8.6.3
Pin Functions ........................................................................................................ 159
8.6.4
Pin States .............................................................................................................. 159
8.6.5
MOS Input Pull-Up............................................................................................... 160
8.7
Port 7.................................................................................................................................. 160
8.7.1
Overview............................................................................................................... 160
8.7.2
Register Configuration and Description ............................................................... 161
8.7.3
Pin Functions ........................................................................................................ 162
8.7.4
Pin States .............................................................................................................. 162
8.8
Port 8.................................................................................................................................. 163
8.8.1
Overview............................................................................................................... 163
8.8.2
Register Configuration and Description ............................................................... 163
8.8.3
Pin Functions ........................................................................................................ 165
8.8.4
Pin States .............................................................................................................. 166