23
6-4
6-5
6-6
6-7
Operation Timing of Real-Time Output Port ......................................................................................
Settings for Real-Time Output Function Control Register ................................................................
Setting Procedure of Real-Time Output Function .............................................................................
Interrupt Request Processing when Real-Time Output Function Is Used .......................................
168
169
169
170
7-1
Block Diagram of Timer/Counter ........................................................................................................
172
8-1
8-2
8-3
8-4
8-5
8-6
8-7
8-8
8-9
8-10
8-11
8-12
8-13
8-14
8-15
8-16
8-17
8-18
8-19
8-20
8-21
8-22
Block Diagram of Timer 0 ...................................................................................................................
Format of Timer Unit Mode Register 0 (TUM0).................................................................................
Format of Timer Mode Control Register (TMC).................................................................................
Format of Timer Output Control Register 0 (TOC0)..........................................................................
Format of Prescaler Mode Register (PRM) .......................................................................................
Basic Operation of Timer Register 0 (TM0).......................................................................................
Clear Operation of Timer Register 0 (TM0) .......................................................................................
Compare Operation (timer 0) .............................................................................................................
Capture Operation (timer 0) ...............................................................................................................
Block Diagram of Timer Output Operation of Timer 0.......................................................................
Operation of Toggle Output ................................................................................................................
Operation of Set/Reset Output (timer 0)............................................................................................
Timing of Interval Timer Operation.....................................................................................................
Set Contents of Control Register for Interval Timer Operation ........................................................
Setting Procedure of Interval Timer Operation..................................................................................
Interrupt Request Processing of Interval Timer Operation ...............................................................
Timing of Pulse Width Measurement .................................................................................................
Control Register Settings for Pulse Width Measurement .................................................................
Pulse Width Measurement Setting Procedure ..................................................................................
Interrupt Request Processing that Calculates Pulse Width..............................................................
Operation When Counting Is Started.................................................................................................
Operation When Compare Register (CC00 to CC03) Is Set to 0000H............................................
177
179
180
180
181
183
184
186
188
190
191
192
193
194
195
195
196
197
198
198
199
200
9-1
9-2
9-3
9-4
9-5
9-6
9-7
9-8
9-9
9-10
9-11
9-12
9-13
Block Diagram of Timer 1 ...................................................................................................................
Format of Timer Unit Mode Register 0 (TUM0).................................................................................
Format of Timer Mode Control Register (TMC).................................................................................
Format of Timer Output Control Register 1 (TOC1)..........................................................................
Format of Prescaler Mode Register (PRM) .......................................................................................
Basic Operation of Timer Register 1 (TM1).......................................................................................
TM1 Clear Operation by Match with Compare Register (CM10) .....................................................
TM1 Clear Operation When CE1 Bit is Cleared (0) ..........................................................................
Compare Operation (timer 1) .............................................................................................................
Clearing TM1 after Detection of Match..............................................................................................
Block Diagram of Timer Output Operation of Timer 1.......................................................................
Operation of Toggle Output ................................................................................................................
Operation of Set/Reset Output (timer 1)............................................................................................
204
206
207
207
208
210
211
212
214
215
216
217
218
LIST OF FIGURES (3/8)
Figure No.
Title
Page