Setting Of Control Registers For Pulse Width Measurement - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

Fig. 7-63 Setting of Control Registers for Pulse Width Measurement
(a) Timer control register 1 (TMC1)
7
6
5
×
×
×
TMC1
(b) Prescaler mode register 1 (PRM1)
7
6
5
×
×
×
PRM1
(c) Capture/compare control register 1 (CRC1)
7
6
5
0
0
0
CRC1
(d) External interrupt mode register 0 (INTM0)
7
6
5
×
×
×
INTM0
Chapter 7 Timer/Counter Units
4
3
2
1
0
0
0
1
0
0
4
3
2
1
0
×
PRS12 PRS11
PRS10
0
4
3
2
1
0
0
0
0
1
0
4
3
2
1
0
×
×
1
0
1
× : Don't care
Overflow flag
Enables counting TM1
Specifies count clock
(x/f
; where x = 16, 32, 64,
CLK
128, 256, or 512)
Disables clearing TM1, when TM1
coincides with CR10
Specifies the CR11 register as a capture
register
Clearing TM1, when TM1 is captured to
CR11, is disabled
Specifies valid edge of INTP0 input
to be rising and falling edges
7
157

Advertisement

Table of Contents
loading

Table of Contents