202
µ
PD78214 Sub-Series
Fig. 7-116 Setting of Control Registers for External Event Counter Operation
(a) Prescaler mode register 1 (PRM1)
(b) External interrupt mode register 0 (INTM0)
(c) Timer control register 1 (TMC1)
Fig. 7-117 Setting Procedure for External Event Counter Operation
7
6
5
4
3
2
1
0
1
1
1
0
PRM1
×
×
×
1
Specifies external clock input (C1)
7
6
5
4
3
2
1
0
0
INTM0
1
×
×
×
×
×
×
Specifies valid edge of C1 input as rising edge
7
6
5
4
3
2
1
0
1
0
0
0
×
0
0
TMC1
×
Normal mode
Overflow flag
Enables counting
Event counter
Specify valid edge of C1 pin input
Set PRM1 register
Start counting
; Sets bit 7 of TMC1 to 1
PRM1
→
0F
×
H
CE2
←
1
Summary of Contents for PD78212
Page 11: ......
Page 53: ...24 ...
Page 61: ...32 µPD78214 Sub Series 9 VSS Ground 10 NC non connection Not connected inside the chip ...
Page 65: ...36 ...
Page 83: ...54 ...
Page 135: ...106 ...
Page 271: ...242 ...
Page 405: ...376 ...
Page 417: ...388 ...
Page 423: ...394 ...
Page 449: ...420 ...
Page 457: ...428 ...
Page 471: ...442 ...
Page 487: ...458 ...