Datasheet

Page xx of xxvi
Section 18 Timer RG.........................................................................................629
18.1 Features.............................................................................................................................. 629
18.2 Register Descriptions......................................................................................................... 632
18.2.1 Timer RG Mode Register (TRGMDR)................................................................. 633
18.2.2 Timer RG Counter Control Register (TRGCNTCR)............................................ 634
18.2.3 Timer RG Control Register (TRGCR).................................................................. 635
18.2.4 Timer RG I/O Control Register (TRGIOR).......................................................... 636
18.2.5 Timer RG Status Register (TRGSR)..................................................................... 638
18.2.6 Timer RG Interrupt Enable Register (TRGIER)................................................... 639
18.2.7 Timer RG Counter (TRGCNT)............................................................................. 640
18.2.8 General Registers A and B (GRA, GRB), GRA and GRB Buffer Registers
(BRA, BRB) ......................................................................................................... 641
18.3 Operation ........................................................................................................................... 643
18.3.1 Timer Mode .......................................................................................................... 644
18.3.2 PWM Mode .......................................................................................................... 650
18.3.3 Phase Counting Mode........................................................................................... 655
18.3.4 Buffer Operation................................................................................................... 660
18.3.5 Operation through an Event Link ......................................................................... 663
18.3.6 Digital Filtering Function for Input Capture Inputs.............................................. 664
Section 19 Watchdog Timer (WDT) .................................................................665
19.1 Features.............................................................................................................................. 666
19.2 Register Descriptions......................................................................................................... 667
19.2.1 Timer Control/Status Register WD (TCSRWD) .................................................. 667
19.2.2 Timer Counter WD (TCWD)................................................................................ 668
19.2.3 Timer Mode Register WD (TMWD) .................................................................... 669
19.2.4 Timer Interrupt Control Register WD (TICRWD) ............................................... 670
19.2.5 Timer Interrupt Flag Register WD (TIFRWD)..................................................... 671
19.3 Operation ........................................................................................................................... 672
19.3.1 Watchdog Timer Overflow Reset ......................................................................... 672
19.3.2 Watchdog Timer Setting Flow.............................................................................. 673
19.3.3 Watchdog Timer Periodic Interrupt...................................................................... 674
19.4 Usage Notes ....................................................................................................................... 675
19.4.1 Notes on System Design....................................................................................... 675
19.4.2 Notes on Stopping the Watchdog Timer or Switching the Count Clock .............. 675
Section 20 Serial Communication Interface 3 (SCI3, IrDA) ............................677
20.1 Features.............................................................................................................................. 677
20.2 Register Descriptions......................................................................................................... 682
20.2.1 Receive Shift Register (RSR) ............................................................................... 683