upd78f0103hmca1-5a4-a Renesas Electronics Corporation., upd78f0103hmca1-5a4-a Datasheet - Page 126

no-image

upd78f0103hmca1-5a4-a

Manufacturer Part Number
upd78f0103hmca1-5a4-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(4) Pulse width measurement by means of restart
126
CR010 capture value
CR000 capture value
Note Clear OVF00 by software.
TM00 count value
When input of a valid edge to the TI000 pin is detected, the count value of 16-bit timer counter 00 (TM00) is taken
into 16-bit timer capture/compare register 010 (CR010), and then the pulse width of the signal input to the TI000
pin is measured by clearing TM00 and restarting the count operation.
Either of two edgesrising or fallingcan be selected using bits 4 and 5 (ES000 and ES001) of prescaler mode
register 00 (PRM00).
Sampling is performed using the count clock cycle selected by prescaler mode register 00 (PRM00) and a
capture operation is only performed when the valid level of the TI000 pin is detected twice, thus eliminating noise
with a short pulse width.
TI000 pin input
Count clock
INTTM010
OVF00
Figure 6-23. Timing of Pulse Width Measurement Operation with Free-Running Counter
0000H
t
and Two Capture Registers (with Rising Edge Specified)
0001H
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
D0
(D1 – D0) × t
D0
User’s Manual U16846EJ3V0UD
D0 + 1
D1
D1
D1 + 1
(10000H – D1 + D2) × t
FFFFH
0000H
D2
(D3 – D2) × t
D2 + 1
D2
Note
D3
D3

Related parts for upd78f0103hmca1-5a4-a