SW00ENB-ZCC Toshiba, SW00ENB-ZCC Datasheet - Page 204

no-image

SW00ENB-ZCC

Manufacturer Part Number
SW00ENB-ZCC
Description
MCU, MPU & DSP Development Tools CASEWORKS
Manufacturer
Toshiba
Datasheet

Specifications of SW00ENB-ZCC

Tool Type
Development Software Support
Core Architecture
870
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
(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 SW00ENB-ZCC