Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 8 16-BIT TIMER/EVENT COUNTER AB (TAB)
R01UH0042EJ0500 Rev.5.00 Page 415 of 1513
Aug 12, 2011
(b) Pulse width measurement with capture register
When pulse width measurement is performed with the TABnCCRm register used as a capture register,
software processing is necessary for reading the capture register each time the INTTABnCCm signal has been
detected and for calculating an interval.
D20
D00
D30
D10
D11
D21
D31
D12D01
D02
D32
D13
D03
D22
D33
D23
0000
Pulse interval
(10000H +
D
01D00)
Pulse interval
(10000H +
D
02D01)
Pulse interval
(10000H +
D
03D02)
D00 D01 D02 D03
Pulse interval
(D
00 + 1)
0000
Pulse interval
(10000H +
D
11D10)
Pulse interval
(10000H +
D
12D11)
Pulse interval
(D
13D12)
D10 D11 D12 D13
Pulse interval
(D
10 + 1)
0000
Pulse interval
(10000H +
D
21D20)
Pulse interval
(20000H +
D
22D21)
Pulse interval
(D
23D22)
D
20 D21 D23D22
Pulse interval
(D
20 + 1)
0000
Pulse interval
(10000H +
D
31D30)
Pulse interval
(10000H +
D
32D31)
Pulse interval
(10000H +
D
33D32)
D
30 D31 D32 D33
Pulse interval
(D
30 + 1)
Cleared to 0 by
CLR instruction
Cleared to 0 by
CLR instruction
Cleared to 0 by
CLR instruction
FFFFH
16-bit counter
0000H
TABnCE bit
TIABn0 pin input
TABnCCR0 register
INTTABnCC0 signal
TIABn2 pin input
TABnCCR2 register
INTTABnCC2 signal
TIABn3 pin input
TABnCCR3 register
INTTABnCC3 signal
INTTABnOV signal
TABnOVF bit
TIABn1 pin input
TABnCCR1 register
INTTABnCC1 signal
Remark n = 0, 1