
R01UH0336EJ0102 Rev.1.02
Page 464 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 13 Timer Array Unit B (TAUB)
(5)
Operating procedure for TAUBnTTINm input signal width measurement
function
Table 13-36
Operating Procedure for TAUBnTTINm Input Signal Width Measurement
Function
Operation
TAUBn Status
Ini
tia
l Chan
nel Setting
Set TAUBnCMORm and TAUBnCMURm
registers as described in Table 13-33,
TAUBnCMORm Settings for
TAUBnTTINm Input Signal Width
Measurement Function
,
TAUBnCMURm Settings for
TAUBnTTINm Input Signal Width
Measurement Function
.
TAUBnCDRm register operates as a
capture register.
Channel operation is stopped.
S
tart Opera
tio
n
Set TAUBnTS.TAUBnTSm to 1.
TAUBnTS.TAUBnTSm is a trigger bit,
which is automatically cleared to 0.
TAUBnTE.TAUBnTEm is set to 1 and TAUBnCNTm waits
for detection of TAUBnTTINm start edge.
When a TAUBnTTINm start edge is detected,
TAUBnCNTm starts to count up.
Du
ri
ng Op
eration
Detection of TAUBnTTINm edges
TAUBnCDRm, TAUBnCNTm, and
TAUBnCSRm registers can be read at
any time.
TAUBnCSC.TAUBnCLOV bit can be set
to 1.
TAUBnCNTm starts to count up from 0000
H
. When
TAUBnTTINm valid edge is detected:
•
TAUBnCNTm transfers (captures) its value to
TAUBnCDRm, and retains its value.
Counting stops at the "value transferred to
TAU 1" value and TAUBnCNTm waits for
detection of the TAUBnTTINm start edge.
Afterwards, this procedure is repeated.
S
top
Op
er
at
io
n
Set TAUBnTT.TAUBnTTm to 1.
TAUBnTT.TAUBnTTm is a trigger bit,
which is automatically cleared to 0.
TAUBnTE.TAUBnTEm is cleared to 0 and the counter
stops.
TAUBnCNTm stops and both it and
TAUBnCSRm.TAUBnOVF retain their current values.
Rest
art
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...