Rev. 3.00, 03/04, page xiii of xl
Section 8 I/O Ports.............................................................................................177
8.1
Port 1.................................................................................................................................183
8.1.1
Port 1 Data Direction Register (P1DDR).............................................................183
8.1.2
Port 1 Data Register (P1DR)................................................................................184
8.1.3
Port 1 Pull-Up MOS Control Register (P1PCR)..................................................184
8.1.4
Pin Functions.......................................................................................................185
8.1.5
Port 1 Input Pull-Up MOS...................................................................................186
8.2
Port 2.................................................................................................................................187
8.2.1
Port 2 Data Direction Register (P2DDR).............................................................187
8.2.2
Port 2 Data Register (P2DR)................................................................................188
8.2.3
Port 2 Pull-Up MOS Control Register (P2PCR)..................................................188
8.2.4
Pin Functions.......................................................................................................189
8.2.5
Port 2 Input Pull-Up MOS...................................................................................190
8.3
Port 3.................................................................................................................................191
8.3.1
Port 3 Data Direction Register (P3DDR).............................................................191
8.3.2
Port 3 Data Register (P3DR)................................................................................191
8.3.3
Port 3 Pull-Up MOS Control Register (P3PCR)..................................................192
8.3.4
Pin Functions.......................................................................................................192
8.3.5
Port 3 Input Pull-Up MOS...................................................................................195
8.4
Port 4.................................................................................................................................196
8.4.1
Port 4 Data Direction Register (P4DDR).............................................................196
8.4.2
Port 4 Data Register (P4DR)................................................................................196
8.4.3
Pin Functions.......................................................................................................197
8.5
Port 5.................................................................................................................................200
8.5.1
Port 5 Data Direction Register (P5DDR).............................................................200
8.5.2
Port 5 Data Register (P5DR)................................................................................200
8.5.3
Pin Functions.......................................................................................................201
8.6
Port 6.................................................................................................................................204
8.6.1
Port 6 Data Direction Register (P6DDR).............................................................204
8.6.2
Port 6 Data Register (P6DR)................................................................................205
8.6.3
Port 6 Pull-Up MOS Control Register (KMPCR6)..............................................205
8.6.4
System Control Register 2 (SYSCR2).................................................................206
8.6.5
Noise Canceler Enable Register (P6NCE)...........................................................206
8.6.6
Noise Canceler Mode Control Register (P6NCMC)............................................207
8.6.7
Noise Canceler Cycle Setting Register (P6NCCS)..............................................207
8.6.8
Pin Functions.......................................................................................................209
8.6.9
Port 6 Input Pull-Up MOS...................................................................................213
8.7
Port 7.................................................................................................................................213
8.7.1
Port 7 Input Data Register (P7PIN) .....................................................................213
8.7.2
Pin Functions.......................................................................................................214
8.8
Port 8.................................................................................................................................217
8.8.1
Port 8 Data Direction Register (P8DDR).............................................................217