18.2.3
Compare Match Timer Control Register (CMCR) ................................................................................. 591
18.2.4
Compare Match Counter (CMCNT) ...................................................................................................... 592
18.2.5
Compare Match Constant Register (CMCOR) ...................................................................................... 592
18.3
Operation ......................................................................................................................................................... 593
18.3.1
Periodic Count Operation ....................................................................................................................... 593
18.3.2
CMCNT Count Timing .......................................................................................................................... 593
18.4
Interrupts ......................................................................................................................................................... 594
18.4.1
Interrupt Sources .................................................................................................................................... 594
18.4.2
Timing of Compare Match Interrupt Generation ................................................................................... 594
18.5
Usage Notes .................................................................................................................................................... 595
18.5.1
Setting the Module Stop Function .......................................................................................................... 595
18.5.2
Conflict between Write and Compare-Match Processes of CMCNT ..................................................... 595
18.5.3
Conflict between Write and Count-Up Processes of CMCNT ............................................................... 595
18.5.4
Notes on Rewriting Compare Match Timer Control Register (CMCR) ................................................. 596
18.5.5
Notes on Compare Match Timer Counter (CMCNT) and Compare Match Constant Register (CMCOR)
............................................................................................................................................................... 596
19.
Watchdog Timer (WDT) ............................................................................................................................ 597
19.1
Overview ......................................................................................................................................................... 597
19.2
Register Descriptions ...................................................................................................................................... 599
19.2.1
Timer Counter (TCNT) .......................................................................................................................... 599
19.2.2
Timer Control/Status Register (TCSR) .................................................................................................. 600
19.2.3
Reset Control/Status Register (RSTCSR) .............................................................................................. 601
19.2.4
Write Window A Register (WINA) ....................................................................................................... 602
19.2.5
Write Window B Register (WINB) ........................................................................................................ 602
19.3
Operation ......................................................................................................................................................... 603
19.3.1
Watchdog Timer Mode .......................................................................................................................... 603
19.3.2
Interval Timer Mode .............................................................................................................................. 604
19.4
Interrupt Source ............................................................................................................................................... 604
19.5
Usage Notes .................................................................................................................................................... 605
19.5.1
Notes on Register Access ....................................................................................................................... 605
19.5.2
Conflict between Timer Counter (TCNT) Write and Increment ............................................................ 606
19.5.3
Changing Values of Bits CKS[2:0] ........................................................................................................ 606
19.5.4
Switching between Watchdog Timer Mode and Interval Timer Mode .................................................. 607
19.5.5
Internal Reset in Watchdog Timer Mode ............................................................................................... 607
19.5.6
System Reset by WDTOVF# Signal ...................................................................................................... 607
19.5.7
Transition to Watchdog Timer Mode or Software Standby Mode ......................................................... 607
20.
Serial Communications Interface (SCI) .................................................................................................... 608
20.1
Overview ......................................................................................................................................................... 608
20.2
Register Descriptions ...................................................................................................................................... 612