|
UPD784938 Datasheet, PDF (354/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers | |||
|
◁ |
CHAPTER 11 TIMER/EVENT COUNTER 2
Figure 11-43. Control Register Settings for Pulse Width Measurement
(a) Prescaler mode register 1 (PRM1)
7
6
5
4
3
2
1
0
PRM1 PRS23 PRS22 PRS21 PRS20 0
Ã
Ã
Ã
Count clock specification
(x/fXX ; x = 4, 8, 16, 32, 64, 128, 256,
512, 1,024, or external clock)
(b) Capture/compare control register 2 (CRC2)
7
6
5
4
3
2
1
0
CRC2 0
0
0
1
0
0
0
0
TM2 clearing disabled
(c) Timer control register 1 (TMC1)
7
6
5
4
3
2
1
0
TMC1 1
0
0
0
Ã
Ã
0
0
Normal mode
Overflow flag
Count operation enabled
(d) External interrupt mode register 0 (INTM0)
7
6
5
4
3
2
1
0
INTM0 Ã
Ã
1
1
Ã
Ã
0
Ã
Both rising and falling edges
specified as INTP1 input valid edges
354
Preliminary Userâs Manual U13987EJ1V0UM00
|
▷ |