
Rev. 4.00, 03/04, page xxxvi of xlvi
Figure 9.25 Timing Chart of Source Address Reload Function..................................................279
Figure 9.26 CMT Block Diagram...............................................................................................282
Figure 9.27 Counter Operation...................................................................................................285
Figure 9.28 Count Timing ..........................................................................................................285
Figure 9.29 CMF Set Timing......................................................................................................286
Figure 9.30 Timing of CMF Clear by the CPU..........................................................................286
Section 10 Clock Pulse Generator (CPG)
Figure 10.1 Block Diagram of Clock Pulse Generator...............................................................292
Figure 10.2 Points for Attention when Using Crystal Oscillator................................................301
Figure 10.3 Points for Attention when Using PLL Oscillator Circuit ........................................302
Section 11 Watchdog Timer (WDT)
Figure 11.1 Block Diagram of the WDT....................................................................................303
Figure 11.2 Writing to WTCNT and WTCSR............................................................................306
Section 12 Timer Unit(TMU)
Figure 12.1 TMU Block Diagram...............................................................................................310
Figure 12.2 Setting the Count Operation....................................................................................319
Figure 12.3 Auto-Reload Count Operation.................................................................................320
Figure 12.4 Count Timing when Internal Clock Is Operating....................................................320
Figure 12.5 Count Timing when External Clock is Operating (Both Edges Detected)..............321
Figure 12.6 Count Timing when On-Chip RTC Clock Is Operating..........................................321
Figure 12.7 Operation Timing when Using the Input Capture Function
(Using TCLK Rising Edge) .....................................................................................322
Figure 12.8 UNF Set Timing......................................................................................................323
Figure 12.9 Status Flag Clear Timing.........................................................................................323
Section 13 Realtime Clock (RTC)
Figure 13.1 RTC Block Diagram................................................................................................326
Figure 13.2 Setting the Time ......................................................................................................341
Figure 13.3 Reading the Time ....................................................................................................342
Figure 13.4 Using the Alarm Function.......................................................................................343
Figure 13.5 Example of Crystal Oscillator Circuit Connection..................................................344
Figure 13.6 Using Periodic Interrupt Function...........................................................................345
Section 14 Serial Communication Interface (SCI)
Figure 14.1 SCI Block Diagram.................................................................................................348
Figure 14.2 SCPT[1]/SCK0 Pin..................................................................................................349
Figure 14.3 SCPT[0]/TxD0 Pin..................................................................................................350
Figure 14.4 SCPT[0]/RxD0 Pin..................................................................................................350
Figure 14.5 Data Format in Asynchronous Communication......................................................374
Figure 14.6 Output Clock and Serial Data Timing (Asynchronous Mode)................................376
Figure 14.7 Sample Flowchart for SCI Initialization..................................................................376
Figure 14.8 Sample Flowchart for Transmitting Serial Data......................................................377
Figure 14.9 SCI Transmit Operation in Asynchronous Mode....................................................378