20-668-0024 Rabbit Semiconductor, 20-668-0024 Datasheet - Page 234

IC CPU RABBIT4000 128-LQFP

20-668-0024

Manufacturer Part Number
20-668-0024
Description
IC CPU RABBIT4000 128-LQFP
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-668-0024

Processor Type
Rabbit 4000 8-bit
Speed
60MHz
Voltage
2.5V, 2.7V, 3V, 3.3V
Mounting Type
Surface Mount
Package / Case
128-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Other names
20-668-0022
316-1078

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
20-668-0024
Manufacturer:
Rabbit Semiconductor
Quantity:
10 000
21.3.4 Capture Mode
Pulse Width or Time Between Events
The following steps explain how to measure the pulse width or time between events.
1. Select the same input pin to perform a pulse-width measurement between the start and
2. Set the counter to start on the start condition and stop on the stop condition, latch on the
3. In the interrupt handler, read out the counter to determine the pulse width or time inter-
Time-Stamp External Events
The following steps explain how to time-stamp external events.
1. Set the trigger for the desired event type.
2. Set the counter to run continuously, latch on the start (and/or stop) condition, and gen-
3. In the interrupt handler, read out the counter as an event timestamp.
Measure Time Interval from a Software Start to an External Event
The following steps explain how to measure the time interval between a software start and
the occurrence of an external event.
1. Set up the counter to run continuously, latch on the stop condition, and generate an
2. Set up the stop condition for the event of interest.
3. Reset the counter via ICCSR at the software start.
4. In the interrupt handler, read the counter as a time duration.
21.3.5 Count Mode
The following steps explain how to count pulses.
1. Enable the input-count mode by writing to ICCR and setting the counter to run continu-
2. If an interrupt is desired at a particular count, write that value into the LSB and MSB
3. Set the start condition to match the signal type to be counted.
4. Reset the counter by writing to ICCSR.
5. Read the counter at any time to get the current count.
6. If a match value is enabled and generates an interrupt, you can re-enable the count
224
stop conditions, or select two different input pins to measure time between events on
those pins.
stop condition, and generate an interrupt on the stop condition.
val between the two events.
erate an interrupt on the start (and/or stop) condition
interrupt on the stop condition.
ously until the stop condition occurs and to latch on the start condition in ICTxR.
registers, and enable the stop condition interrupt in ICCSR.
mode by clearing the counter via ICCSR and re-enable the mode in ICTxR back to run-
ning continuously until the stop condition occurs.
Rabbit 4000 Microprocessor User’s Manual

Related parts for 20-668-0024