
R01UH0336EJ0102 Rev.1.02
Page 461 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 13 Timer Array Unit B (TAUB)
(2)
Equations
TAUBnTTINm input signal width = count clock cycle ×
[(TAUBnCSRm.TAUBnOVF × (FFFF
H
+ 1)) + TAUBnCDRm capture value + 1]
(3)
Block diagram and general timing diagram
Figure 13-34
Block Diagram of TAUBnTTINm Input Signal Width Measurement
Function
The following settings apply to the general timing diagram.
• Detection of falling and rising edges = High width measurement
(TAUBnCMURm.TAUBnTIS[1:0] = 11
B
)
• When a valid TAUBnTTINm input is detected after an overflow,
TAUBnCDRm is changed and TAUBnCSRm.TAUBnOVF is set to 1.
(TAUBnCMORm.TAUBnCOS[1:0] = 00
B
)
Figure 13-35
General Timing Diagram of TAUBnTTINm Input Signal Width
Measurement Function
INT
Trigger from upper channel
Trigger from
upper channel
Start trigger from master
Simultaneous rewrite
INT from master
INT from upper channe
Clo
ck
s
e
le
c
tor
Count clock
edge
selector
Tr
ig
g
e
r s
e
le
c
to
r
Trigger from lower channel
Start and
capture trigger
Capture and
one-count mode
TAUBnCNTm
TAUBnTO.
TAUBnTOm
TAUBnTRO.
TAUBnTROm
TAUBnCDRm
TAUBnTS.TAUBnTSm
CK3-0
TAUBnTTINm
TAUBnTTOUTm
INTTAUBnIm
TAUBnTS.TAUBnTSm
TAUBnTE.TAUBnTEm
TAUBnTTINm
TAUBnCNTm
TAUBnCDRm
INTTAUBnIm
TAUBnCSRm.TAUBnOVF
b
c
a
FFFF
H
0000
H
0000
H
a
b
c