UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 301

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.7.3 Pulse Width Measurement Operation
pin (INTP0) is measured.
SCS0; if shorter than this, the valid edge will not be detected and a capture operation will not be performed.
set as a capture register in synchronization with a valid edge (set as both rising and falling edges) in the INTP0 pin input, and
retained there. The pulse width is obtained from the product of the difference between the TM1 count value (D
and retained in the CR11 on detection of the nth valid edge and the count value (D
edge n-1, and the number of count clocks (x/f
In pulse width measurement, the high-level or low-level width of external pulses input to the external interrupt request input
Both the high-level and low-level widths of pulses input to the INTP0 pin must be at least 3 sampling clocks selected by
As shown in Figure 9-26, the timer register 1 (TM1) value being counted is fetched into the capture/compare register (CR11)
The control register settings are shown in Figure 9-27, and the setting procedure in Figure 9-28.
Remark Dn: TM1 count value (n = 0, 1, 2, ...)
External Input Signal
Capture/Compare
Register (CR11)
Interrupt Request
x = 8, 16, 32, 64, 128, 256, 512, 1024, 2048
TM1
Count Value
Figure 9-26 Pulse Width Measurement Timing (When CR11 is Used as Capture Register)
INTP0
INTP0
OVF1
0H
Count Start
CE1
1
Capture
D0
XX
CHAPTER 9 TIMER/COUNTER 1
; x = 8, 16, 32, 64, 128, 256, 512, 1024, 2048).
(D1–D0)
D0
X
/f
XX
Capture
D1
(100H–D1+
FFH
D2)
D1
X
/f
n-1
XX
) fetched and retained on detection of valid
Cleard by Software
Capture
D2
(D3-D2)
D2
X
/f
XX
Capture
D3
n
) fetched into
FFH
D3
261

Related parts for UPD784026