
Preliminary User’s Manual U17397EJ2V1UD
12
8.4.3
Square-wave output operation .................................................................................................242
8.4.4
PWM output operation..............................................................................................................243
8.5
Cautions for 8-Bit Timer/Event Counters 50 and 51 ........................................................... 247
CHAPTER 9 8-BIT TIMERS H0 AND H1 .......................................................................................... 248
9.1
Functions of 8-Bit Timers H0 and H1 ................................................................................... 248
9.2
Configuration of 8-Bit Timers H0 and H1............................................................................. 248
9.3
Registers Controlling 8-Bit Timers H0 and H1 .................................................................... 252
9.4
Operation of 8-Bit Timers H0 and H1 ................................................................................... 257
9.4.1
Operation as interval timer/square-wave output .......................................................................257
9.4.2
Operation as PWM output ........................................................................................................260
9.4.3
Carrier generator operation (8-bit timer H1 only)......................................................................266
CHAPTER 10 WATCH TIMER.............................................................................................................. 273
10.1
Functions of Watch Timer ..................................................................................................... 273
10.2
Configuration of Watch Timer............................................................................................... 274
10.3
Register Controlling Watch Timer ........................................................................................ 275
10.4
Watch Timer Operations........................................................................................................ 277
10.4.1
Watch timer operation ..............................................................................................................277
10.4.2
Interval timer operation.............................................................................................................277
10.5
Cautions for Watch Timer ..................................................................................................... 278
CHAPTER 11 WATCHDOG TIMER ..................................................................................................... 279
11.1
Functions of Watchdog Timer .............................................................................................. 279
11.2
Configuration of Watchdog Timer ........................................................................................ 280
11.3
Register Controlling Watchdog Timer ................................................................................. 281
11.4
Operation of Watchdog Timer............................................................................................... 282
11.4.1
Controlling operation of watchdog timer ...................................................................................282
11.4.2
Setting overflow time of watchdog timer...................................................................................283
11.4.3
Setting window open period of watchdog timer ........................................................................284
CHAPTER 12 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER............................................... 286
12.1
Functions of Clock Output/Buzzer Output Controller ........................................................ 286
12.2
Configuration of Clock Output/Buzzer Output Controller ................................................. 287
12.3
Registers Controlling Clock Output/Buzzer Output Controller......................................... 287
12.4
Operations of Clock Output/Buzzer Output Controller ...................................................... 289
12.4.1
Operation as clock output.........................................................................................................289
12.4.2
Operation as buzzer output ......................................................................................................289
CHAPTER 13 A/D CONVERTER ......................................................................................................... 290
13.1
Function of A/D Converter .................................................................................................... 290
13.2
Configuration of A/D Converter ............................................................................................ 291
13.3
Registers Used in A/D Converter.......................................................................................... 293
13.4
A/D Converter Operations ..................................................................................................... 301
13.4.1
Basic operations of A/D converter ............................................................................................301
13.4.2
Input voltage and conversion results ........................................................................................303