Datasheet

Table Of Contents
Rev. 2.00 Jul. 04, 2007 Page xviii of xl
15.4.1 16-Bit Counter Operation ..................................................................................... 328
15.4.2 8-Bit Counter Operation ....................................................................................... 329
15.4.3 IRQAEC Operation............................................................................................... 330
15.4.4 Event Counter PWM Operation............................................................................ 330
15.4.5 Operation of Clock Input Enable/Disable Function.............................................. 331
15.5 Operating States of Asynchronous Event Counter............................................................. 332
15.6 Usage Notes ....................................................................................................................... 333
Section 16 Watchdog Timer..............................................................................335
16.1 Features.............................................................................................................................. 335
16.2 Register Descriptions......................................................................................................... 336
16.2.1 Timer Control/Status Register WD1 (TCSRWD1)............................................... 337
16.2.2 Timer Control/Status Register WD2 (TCSRWD2)............................................... 339
16.2.3 Timer Counter WD (TCWD)................................................................................ 340
16.2.4 Timer Mode Register WD (TMWD) .................................................................... 341
16.3 Operation ........................................................................................................................... 342
16.3.1 Watchdog Timer Mode......................................................................................... 342
16.3.2 Interval Timer Mode............................................................................................. 343
16.3.3 Timing of Overflow Flag (OVF) Setting .............................................................. 343
16.4 Interrupt ............................................................................................................................. 344
16.5 Usage Notes ....................................................................................................................... 344
16.5.1 Switching between Watchdog Timer Mode and Interval Timer Mode................. 344
16.5.2 Module Standby Mode Control ............................................................................ 344
16.5.3 Writing to Timer Counter WD (TCWD) with the On-Chip
Watchdog Timer Oscillator Selected .................................................................... 344
Section 17 Serial Communications Interface 3 (SCI3, IrDA)...........................345
17.1 Features.............................................................................................................................. 345
17.2 Input/Output Pins............................................................................................................... 351
17.3 Register Descriptions......................................................................................................... 351
17.3.1 Receive Shift Register (RSR) ............................................................................... 352
17.3.2 Receive Data Register (RDR)............................................................................... 352
17.3.3 Transmit Shift Register (TSR) .............................................................................. 352
17.3.4 Transmit Data Register (TDR).............................................................................. 352
17.3.5 Serial Mode Register (SMR) ................................................................................ 353
17.3.6 Serial Control Register (SCR) .............................................................................. 356
17.3.7 Serial Status Register (SSR) ................................................................................. 358
17.3.8 Bit Rate Register (BRR) ....................................................................................... 361
17.3.9 Serial Port Control Register (SPCR)..................................................................... 373
17.3.10 Serial Port Control Register 2 (SPCR2)................................................................ 375