x
11.2 Block Diagram of A/D Converter ....................................................................................................... 285
11.3 Structure of A/D Converter ............................................................................................................... 288
11.3.1 A/D Control Register 1 (ADC1) .................................................................................................... 291
11.3.2 A/D Control Register 2 (ADC2) .................................................................................................... 294
11.3.3 A/D Data Register (ADCD) .......................................................................................................... 296
11.4 A/D Converter Interrupts ................................................................................................................... 297
11.5 Operation of A/D Converter ............................................................................................................. 298
11.6 Notes on Using A/D Converter .......................................................................................................... 301
11.7 Program Example for A/D Converter ................................................................................................ 303
CHAPTER 12 WATCH PRESCALER .............................................................................. 307
12.1 Overview of Watch Prescaler ............................................................................................................ 308
12.2 Block Diagram of Watch Prescaler ................................................................................................... 310
12.3 Watch Prescaler Control Register (WPCR) ...................................................................................... 312
12.4 Watch Prescaler Interrupt ................................................................................................................. 314
12.5 Operation of Watch Prescaler ........................................................................................................... 315
12.6 Notes on Using Watch Prescaler ...................................................................................................... 317
12.7
Program Example for Watch Prescaler .......................................................................................... 318
CHAPTER 13 REMOTE CONTROL GENERATOR
(6-BIT PPG) 321
13.1 Overview of Remote Control Generator ............................................................................................ 322
13.2 Block Diagram of Remote Control Generator .................................................................................. 327
13.3 Structure of Remote Control Generator ............................................................................................ 329
13.3.1 Remote Control Register 1 (RCR1) ............................................................................................. 331
13.3.2 Remote Control Register 2 (RCR2) ............................................................................................. 333
13.4 Operation of Remote Control Generator ........................................................................................... 335
13.5 Notes on Using Remote Control Generator ..................................................................................... 337
13.6 Program Example for Remote Control Generator ............................................................................ 339
CHAPTER 14 LCD CONTROLLER/DRIVER ................................................................... 341
14.1 Overview of LCD Controller/Driver ................................................................................................... 342
14.2 Block Diagram of LCD Controller/Driver .......................................................................................... 343
14.2.1 LCD Controller/Driver Internal Divider Resistors ........................................................................ 345
14.2.2 LCD Controller/Driver External Divider Resistors ........................................................................ 348
14.3 Structure of LCD Controller/Driver .................................................................................................... 350
14.3.1 LCD Control Register (LCR1) ...................................................................................................... 354
14.3.2 LCD Control Register (LCR2) ...................................................................................................... 356
14.3.3 Display RAM ................................................................................................................................ 358
14.4 Operation of LCD Controller/Driver .................................................................................................. 360
14.4.1 Output Waveforms during LCD Controller/Driver Operation (1/2 Duty Ratio) .............................. 362
14.4.2 Output Waveforms during LCD Controller/Driver Operation (1/3 Duty Ratio) .............................. 365
14.4.3 Output Waveforms during LCD Controller/Driver Operation (1/4 Duty Ratio) .............................. 368
14.5 Program Example for LCD Controller/Driver ..................................................................................... 371
CHAPTER 15 BUZZER OUTPUT .................................................................................... 373
15.1 Overview of Buzzer Output ............................................................................................................... 374
15.2 Block Diagram of Buzzer Output ....................................................................................................... 376