![](http://datasheet.mmic.net.cn/Renesas-Electronics-America/UPD78F1156AGC-GAD-AX_datasheet_99856/UPD78F1156AGC-GAD-AX_13.png)
User’s Manual U17893EJ8V0UD
11
6.8.2 Operation as one-shot pulse output function...................................................................................259
6.8.3 Operation as multiple PWM output function ....................................................................................266
CHAPTER 7 REAL-TIME COUNTER .................................................................................................. 273
7.1 Functions of Real-Time Counter............................................................................................... 273
7.2 Configuration of Real-Time Counter ........................................................................................ 273
7.3 Registers Controlling Real-Time Counter ............................................................................... 275
7.4 Real-Time Counter Operation ................................................................................................... 290
7.4.1 Starting operation of real-time counter ............................................................................................290
7.4.2 Shifting to STOP mode after starting operation...............................................................................291
7.4.3 Reading/writing real-time counter ...................................................................................................292
7.4.4 Setting alarm of real-time counter ...................................................................................................294
7.4.5 1 Hz output of real-time counter......................................................................................................295
7.4.6 32.768 kHz output of real-time counter ...........................................................................................295
7.4.7 512 Hz, 16.384 kHz output of real-time counter..............................................................................295
7.4.8 Example of watch error correction of real-time counter...................................................................296
CHAPTER 8 WATCHDOG TIMER ....................................................................................................... 301
8.1 Functions of Watchdog Timer .................................................................................................. 301
8.2 Configuration of Watchdog Timer ............................................................................................ 302
8.3 Register Controlling Watchdog Timer ..................................................................................... 303
8.4 Operation of Watchdog Timer................................................................................................... 304
8.4.1 Controlling operation of watchdog timer..........................................................................................304
8.4.2 Setting overflow time of watchdog timer .........................................................................................305
8.4.3 Setting window open period of watchdog timer...............................................................................306
8.4.4 Setting watchdog timer interval interrupt .........................................................................................307
CHAPTER 9 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER................................................. 308
9.1 Functions of Clock Output/Buzzer Output Controller ............................................................ 308
9.2 Configuration of Clock Output/Buzzer Output Controller ..................................................... 309
9.3 Registers Controlling Clock Output/Buzzer Output Controller............................................. 309
9.4 Operations of Clock Output/Buzzer Output Controller .......................................................... 311
9.4.1 Operation as output pin...................................................................................................................311
CHAPTER 10 A/D CONVERTER .......................................................................................................... 312
10.1 Function of A/D Converter ...................................................................................................... 312
10.2 Configuration of A/D Converter .............................................................................................. 313
10.3 Registers Used in A/D Converter ........................................................................................... 315
10.4 A/D Converter Operations ....................................................................................................... 324
10.4.1 Basic operations of A/D converter.................................................................................................324
10.4.2 Input voltage and conversion results.............................................................................................326
10.4.3 A/D converter operation mode ......................................................................................................327
10.5 Temperature Sensor Function (Expanded-Specification Products
(
μPD78F115xA) Only)............................................................................................................... 329
10.5.1 Configuration of temperature sensor.............................................................................................329
10.5.2 Registers used by temperature sensors........................................................................................330
10.5.3 Temperature sensor operation......................................................................................................332