12
μ
PD17068
12.4.4
12.4.5
TIMER 0 ...........................................................................................................................................
12.5.1
Overview of Timer 0 ......................................................................................................
12.5.2
Clock Selection Block ....................................................................................................
12.5.3
Count Block.....................................................................................................................
12.5.4
Example of Using Timer 0 ............................................................................................
12.5.5
Time Interval Error in Timer 0......................................................................................
12.5.6
Cautions for Using Timer 0 ..........................................................................................
TIMER 1 ...........................................................................................................................................
12.6.1
Overview of Timer 1 ......................................................................................................
12.6.2
Clock Selection Block ....................................................................................................
12.6.3
Count Block.....................................................................................................................
12.6.4
Time Interval Error in Timer 1......................................................................................
12.6.5
Cautions for Using Timer 1 ..........................................................................................
CLOCK TIMER .................................................................................................................................
12.7.1
Overview of the Clock Timer........................................................................................
12.7.2
Clock Frequency Divider Block.....................................................................................
12.7.3
Count Block.....................................................................................................................
12.7.4
Reset Control Block .......................................................................................................
12.7.5
32 kHz Oscillator and Oscillation Frequency Adjustment........................................
12.7.6
Cautions for Using the Clock Timer ............................................................................
Time Interval Error in Basic Timer 2 ...........................................................................
Cautions for Using Basic Timer 2 ................................................................................
145
148
150
150
151
152
155
156
156
157
157
158
159
161
161
162
162
163
165
169
170
170
12.5
12.6
12.7
13. A/D CONVERTER ....................................................................................................................... 171
13.1
OUTLINE OF A/D CONVERTER ....................................................................................................
13.2
INPUT SWITCHING BLOCK ...........................................................................................................
13.3
COMPARE VOLTAGE GENERATION BLOCK AND COMPARE BLOCK ....................................
13.4
COMPARE TIMING CHART ...........................................................................................................
13.5
A/D CONVERTER PERFORMANCE ..............................................................................................
13.6
USING A/D CONVERTER ..............................................................................................................
13.6.1
Comparison with One Reference Voltage ..................................................................
13.6.2
Successive Approximation Based on the Binary Search Method ..........................
13.7
NOTES ON USING A/D CONVERTER..........................................................................................
13.8
STATES UPON RESET ...................................................................................................................
13.8.1
Power-On Reset..............................................................................................................
13.8.2
Clock Stop .......................................................................................................................
13.8.3
CE Reset ..........................................................................................................................
171
172
174
178
178
179
179
180
184
184
184
184
184
14. D/A CONVERTER (PWM METHOD) ......................................................................................... 185
14.1
OUTLINE OF D/A CONVERTER ....................................................................................................
14.2
OUTPUT SWITCHING BLOCK .......................................................................................................
14.3
DUTY CYCLE SETTING BLOCK.....................................................................................................
14.4
CLOCK GENERATION BLOCK .......................................................................................................
14.5
OUTPUT WAVEFORMS OF D/A CONVERTER ...........................................................................
14.6
NOTES ON USING D/A CONVERTER..........................................................................................
14.7
STATES UPON RESET ...................................................................................................................
14.7.1
Power-On Reset..............................................................................................................
14.7.2
Clock Stop .......................................................................................................................
185
186
188
190
190
191
191
191
191