– iii –
5.5
5.6
Clock Generator Operations .............................................................................................. 74
Changing CPU Clock .......................................................................................................... 75
5.6.1
Time required to change CPU clock......................................................................................... 75
5.6.2
CPU clock changing procedure ................................................................................................ 76
CHAPTER 6 8-BIT REMOTE CONTROL TIMER ................................................................................. 77
6.1
Function of 8-Bit Remote Control Timer .......................................................................... 77
6.2
Configuration of 8-Bit Remote Control Timer.................................................................. 77
6.3
Registers Controlling 8-Bit Remote Control Timer ......................................................... 78
6.4
Operation of 8-Bit Remote Control Timer ........................................................................ 80
CHAPTER 7 8-BIT PWM TIMERS ........................................................................................................ 83
7.1
Functions of 8-Bit PWM Timers......................................................................................... 83
7.2
Configuration of 8-Bit PWM Timers .................................................................................. 84
7.3
Registers Controlling 8-Bit PWM Timers.......................................................................... 86
7.4
Operations of 8-Bit PWM Timers ....................................................................................... 89
7.4.1
Operation as interval timer (8-bit operation) ............................................................................ 89
7.4.2
Operation as external event counter ........................................................................................ 92
7.4.3
Square wave (8-bit resolution) output operation ...................................................................... 93
7.4.4
8-bit PWM output operation ...................................................................................................... 94
7.5
Notes on 8-Bit PWM Timers ............................................................................................... 99
CHAPTER 8 WATCHDOG TIMER....................................................................................................... 101
8.1
Function of Watchdog Timer............................................................................................ 101
8.2
Configuration of Watchdog Timer ................................................................................... 102
8.3
Registers Controlling Watchdog Timer........................................................................... 103
8.4
Operation of Watchdog Timer .......................................................................................... 106
8.4.1
Operation as watchdog timer .................................................................................................. 106
8.4.2
Operation as interval timer ...................................................................................................... 107
CHAPTER 9 A/D CONVERTER .......................................................................................................... 109
9.1
Function of A/D Converter ............................................................................................... 109
9.2
Configuration of A/D Converter ...................................................................................... 109
9.3
Registers Controlling A/D Converter.............................................................................. 112
9.4
Operation of A/D Converter ............................................................................................. 114
9.4.1
Basic operation of A/D converter ............................................................................................ 114
9.4.2
Input voltage and conversion result ........................................................................................ 116
9.4.3
Operation mode of A/D converter ........................................................................................... 117
9.5
Notes on A/D Converter ................................................................................................... 118
CHAPTER 10 SERIAL INTERFACE ................................................................................................... 121
10.1 Function of Serial Interface ............................................................................................. 121
10.2 Configuration of Serial Interface ..................................................................................... 121
10.3 Registers Controlling Serial Interface ............................................................................ 123
10.4 Operation of Serial Interface ........................................................................................... 124
10.4.1 Operation stop mode ............................................................................................................... 124
10.4.2 Three-wire serial I/O mode ..................................................................................................... 125