UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 256

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
216
(a) Capture/compare control register 0 (CRC0)
(b) External interrupt mode register 1 (INTM1)
INTM1
CRC0
7
0
7
0
Figure 8-38 Control Register Settings for Pulse Width Measurement
6
0
Figure 8-39 Pulse Width Measurement Setting Procedure
6
0
Initialize capture value buffer memory
5
Pulse width measurement
5
0
Enable interrupt
CRC0 10H
Start count
Set CRC0
Set INTM1,
Set MK0L
4
CE0 1
CHAPTER 8 TIMER/COUNTER 0
X
4
1
0
0
3
3
0
2
2
0
INTP3 Interrupt
: Don’t care
1
1
1
0
; Specify both edges as
; Set bit 3 of TMC0 to 1
INTP3 input valid edges,
release interrupt masking
0
1
0
0
Both rising & falling edges
specified as INTP3 input valid edges
TM0 clearing disabled
TO0 & TO1 both toggle outputs

Related parts for UPD784026