UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 374

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
334
(a) Prescaler mode register 1 (PRM1)
(b) External interrupt mode register 0 (INTM0)
(c) Timer control register 1 (TMC1)
PRM1
INTM0
TMC1
Figure 10-55 Control Register Settings for External Event Counter Operation
7
1
7
0
Figure 10-56 External Event Counter Operation Setting Procedure
7
1
6
1
6
1
6
0
Specify CI pin input valid edge
5
1
5
5
0
PRM1
Event counter
CHAPTER 10 TIMER/COUNTER 2
Start count
Set PRM1
4
1
4
CE2
4
0
0F H
3
1
0
3
3
2
2
2
1
1
1
; Set bit 7 of TMC1 to 1
0
0
0
0
0
External clock input (C1) specified
Rising edge specified as CI input
valid edge
Normal mode
Overflow flag
Count operation enabled

Related parts for UPD784026