
A - 14
34.1
Notes on Clock Generation Circuit ....................................................................................................... 560
34.1.1
Stop Mode ......................................................................................................................................... 560
34.1.2
Wait Mode ........................................................................................................................................ 560
34.1.3
Reducing Internal Power Using VCA20 Bit ..................................................................................... 561
34.1.4
Oscillation Stop Detection Function ................................................................................................. 561
34.1.5
Oscillation Circuit Constants ............................................................................................................ 561
34.1.6
High-Speed On-chip Oscillator Mode .............................................................................................. 561
34.1.7
Low-Speed Clock Mode ................................................................................................................... 561
34.2
Notes on Interrupts ................................................................................................................................ 562
34.2.1
Reading Address 00000h .................................................................................................................. 562
34.2.2
SP Setting .......................................................................................................................................... 562
34.2.3
External Interrupt and Key Input Interrupt ....................................................................................... 562
34.2.4
Changing Interrupt Sources .............................................................................................................. 563
34.2.5
Rewriting Interrupt Control Register ................................................................................................ 564
34.3
Notes on ID Code Areas ........................................................................................................................ 565
34.3.1
Setting Example of ID Code Areas ................................................................................................... 565
34.4
Notes on Option Function Select Area .................................................................................................. 565
34.4.1
Setting Example of Option Function Select Area ............................................................................. 565
34.5
Notes on DTC ........................................................................................................................................ 566
34.5.1
DTC activation source ...................................................................................................................... 566
34.5.2
DTCENi (i = 0 to 3, 5 to 6) Registers ............................................................................................... 566
34.5.3
Peripheral Modules ........................................................................................................................... 566
34.5.4
Interrupt Request ............................................................................................................................... 566
34.5.5
DTC Chain Transfers ........................................................................................................................ 566
34.6
Notes on Timer RA ............................................................................................................................... 567
34.7
Notes on Timer RB ................................................................................................................................ 568
34.7.1
Timer Mode ...................................................................................................................................... 568
34.7.2
Programmable Waveform Generation Mode .................................................................................... 568
34.7.3
Programmable One-shot Generation Mode ...................................................................................... 569
34.7.4
Programmable Wait One-shot Generation Mode ............................................................................. 569
34.8
Notes on Timer RC ................................................................................................................................ 570
34.8.1
TRC Register .................................................................................................................................... 570
34.8.2
TRCSR Register .............................................................................................................................. 570
34.8.3
TRCCR1 Register ............................................................................................................................. 570
34.8.4
Count Source Switching ................................................................................................................... 570
34.8.5
Input Capture Function ..................................................................................................................... 571
34.8.6
TRCMR Register in PWM2 Mode ................................................................................................... 571
34.8.7
Count Source fOCO40M .................................................................................................................. 571
34.9
Notes on Timer RE ................................................................................................................................ 572
34.9.1
Starting and Stopping Count ............................................................................................................. 572
34.9.2
Register Setting ................................................................................................................................. 572
34.9.3
Time Reading Procedure of Real-Time Clock Mode ....................................................................... 574
34.10
Notes on Serial Interface (UART0) ....................................................................................................... 575
34.11
Notes on Serial Interface (UART2) ....................................................................................................... 576
34.11.1
Clock Synchronous Serial I/O Mode ................................................................................................ 576
34.11.2
Special Mode 1 (I2C Mode) .............................................................................................................. 577