vi
8.9
Port A ................................................................................................................................. 166
8.9.1
Overview............................................................................................................... 166
8.9.2
Register Configuration and Description ............................................................... 167
8.9.3
Pin Functions ........................................................................................................ 168
8.9.4
Pin States .............................................................................................................. 169
8.10
Port B ................................................................................................................................. 169
8.10.1 Overview............................................................................................................... 169
8.10.2 Register Configuration and Description ............................................................... 170
8.11
Input/Output Data Inversion Function ............................................................................... 170
8.11.1 Overview............................................................................................................... 170
8.11.2 Register Configuration and Descriptions.............................................................. 171
8.11.3 Note on Modification of Serial Port Control Register.......................................... 173
Section 9
Timers
................................................................................................................. 175
9.1
Overview............................................................................................................................ 175
9.2
Timer A.............................................................................................................................. 176
9.2.1
Overview............................................................................................................... 176
9.2.2
Register Descriptions............................................................................................ 178
9.2.3
Timer Operation.................................................................................................... 182
9.2.4
Timer A Operation States ..................................................................................... 183
9.3
Timer C .............................................................................................................................. 184
9.3.1
Overview............................................................................................................... 184
9.3.2
Register Descriptions............................................................................................ 186
9.3.3
Timer Operation.................................................................................................... 190
9.3.4
Timer C Operation States...................................................................................... 192
9.4
Timer F............................................................................................................................... 193
9.4.1
Overview............................................................................................................... 193
9.4.2
Register Descriptions............................................................................................ 196
9.4.3
CPU Interface........................................................................................................ 203
9.4.4
Operation .............................................................................................................. 206
9.4.5
Application Notes ................................................................................................. 209
9.5
Timer G.............................................................................................................................. 210
9.5.1
Overview............................................................................................................... 210
9.5.2
Register Descriptions............................................................................................ 213
9.5.3
Noise Canceler...................................................................................................... 218
9.5.4
Operation .............................................................................................................. 220
9.5.5
Application Notes ................................................................................................. 224
9.5.6
Timer G Application Example.............................................................................. 229
9.6
Watchdog Timer ................................................................................................................ 230
9.6.1
Overview............................................................................................................... 230
9.6.2
Register Descriptions............................................................................................ 231
9.6.3
Timer Operation.................................................................................................... 235
9.6.4
Watchdog Timer Operation States........................................................................ 236