
R01UH0336EJ0102 Rev.1.02
Page 671 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 14 Timer Array Unit J (TAUJ)
(5)
Operating procedure for TAUJnTTINm Input Signal Width Measurement
Function
Table 14-29
Operating Procedure for TAUJnTTINm Input Signal Width Measurement
Function
Operation
TAUJn Status
Ini
ti
a
l chan
nel setti
n
g
Set the TAUJnCMORm and
TAUJnCMURm registers as described in
Table 14-26, TAUJnCMORm Settings for
TAUJnTTINm Input Signal Width
Measurement Function, and Table 14-27,
TAUJnCMURm Settings for TAUJnTTINm
Input Signal Width Measurement
Function.
The TAUJnCDRm register functions as a
capture register.
Channel operation is stopped.
S
tart opera
ti
o
n
Set TAUJnTS.TAUJnTSm to 1.
TAUJnTS.TAUJnTSm is a trigger bit,
which is automatically cleared to 0.
TAUJnTE.TAUJnTEm is set to 1 and TAUJnCNTm
awaits TAUJnTTINm start edge detection.
When TAUJnTTINm start edge is detected, TAUJnCNTm
starts to count up.
Durin
g
opera
ti
o
n
Detection of TAUJnTTINm edge.
TAUJnCDRm, TAUJnCNTm, and
TAUJnCSRm registers are readable at
any time.
TAUJnCSC.CLOV bit can be set to 1.
TAUJnCNTm starts to count up from 0000 0000
H
. When
a valid TAUJnTTINm edge is detected:
•
TAUJnCNTm transfers (captures) its value to
TAUJnCDRm and retains its value.
•
INTTAUJnIm is then generated.
Afterwards, this procedure is repeated.
S
top
o
peratio
n
Set TAUJnTT.TAUJnTTm to 1.
TAUJnTT.TAUJnTTm is a trigger bit,
which is automatically cleared to 0.
TAUJnTE.TAUJnTEm is cleared to 0 and the counter
stops.
TAUJnCNTm stops. TAUJnCNTm and
TAUJnCSRm.TAUJnOVF retain their current values.
Rest
art
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...