tmp1940cyaf TOSHIBA Semiconductor CORPORATION, tmp1940cyaf Datasheet - Page 204

no-image

tmp1940cyaf

Manufacturer Part Number
tmp1940cyaf
Description
32-bit Tx System Risc Tx19 Family
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
(4) Time Difference Measurement
The 16-bit up-counter (UC0) is programmed to operate as a free-running counter. The UC0 value
is latched into Capture Register 0 (TB0CP0) on the rising edge of TB0IN0. The TB0IN0 pin is
shared with INT5; the Interrupt Controller (INTC) is to be programmed to generate the INT5
interrupt at this time.
The TB0IN1 pin is shared with INT6; the INTC is to be programmed to generate the INT6
interrupt at this time.
calculated by multiplying the counter clock period by the difference between the TB0CP1 and
TB0CP0 values.
The capture function can be used to measure the time difference between two event occurrences.
Then, the UC0 value is latched into Capture Register 1 (TB0CP1) on the rising edge of TB0IN1.
The time difference between the two events that occurred on the TB0IN0 and TB0IN1 pins is
Capture into TB0CP1
Prescaler Output Clock
TB0IN0 Input
TB0IN1 Input
Capture into TB0CP0
INT5
INT6
TMP1940CYAF-162
Figure 12.22 Time Difference Measurement
C1
Time Difference
C2
TMP1940CYAF

Related parts for tmp1940cyaf