20-668-0024 Rabbit Semiconductor, 20-668-0024 Datasheet - Page 44
20-668-0024
Manufacturer Part Number
20-668-0024
Description
IC CPU RABBIT4000 128-LQFP
Manufacturer
Rabbit Semiconductor
Datasheet
1.20-668-0024.pdf
(358 pages)
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
316-1078
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
20-668-0024
Manufacturer:
Rabbit Semiconductor
Quantity:
10 000
- Current page: 44 of 358
- Download datasheet (4Mb)
4.3 Operation
4.3.1 Periodic Interrupt
The following steps explain how a periodic interrupt is used.
1. Write the vector to the interrupt service routine to the internal interrupt table.
2. Enable the periodic interrupt by writing to GCSR.
3. The interrupt request is cleared by reading from GCSR.
A sample interrupt handler is shown below.
4.3.2 Real-Time Clock
The real-time clock consists of six 8-bit registers that together comprise a 48-bit value.
The real-time clock is not synchronized to the read operation, so the least-significant bit
should be read twice and checked for matching values; if the two reads do not match, then
the real-time clock may have been updating during the read and should be read again.
Writing to RTC0R latches the current real-time clock value into the RTCxR holding regis-
ters, so the following sequence should be used to read the real-time clock.
1. Write any value to RTC0R and then read back a value from RTC0R.
2. Write a value to RTC0R again, and again read back a value from RTC0R.
3. If the two values do not match, repeat Step 2 until the last two readings are identical.
4. At this point, registers RTC1R through RTC6R can also be read and used.
Note that the periodic interrupt and the real-time clock are clocked by the same edge of the
32 kHz clock; if read from the periodic interrupt, the count is guaranteed to be stable and
only needs to be read once (assuming it occurs within one clock of the 32 kHz clock).
The real-time clock can be reset by writing the sequence 0x40 – 0x80 to RTCCR. It can be
reset and left in the byte increment mode by writing 0x40 – 0xC0 to RTCCR and then
writing bytes repeatedly to RTCCR to increment the appropriate bytes of the real-time
clock. The byte increment mode is disabled by writing 0x00 to RTCCR.
34
periodic_isr::
push af
ioi ld a, (GCSR)
; handle any periodic tasks here
pop af
ipres
ret
; clear the interrupt request and get status
Rabbit 4000 Microprocessor User’s Manual
Related parts for 20-668-0024
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC CPU RABBIT2000 30MHZ 100PQFP
Manufacturer:
Rabbit Semiconductor
Datasheet:
Part Number:
Description:
IC MPU RABIT3000A 55.5MHZ128LQFP
Manufacturer:
Rabbit Semiconductor
Datasheet:
Part Number:
Description:
Microprocessors - MPU Rabbit 3000 TFBGA Microprocessor
Manufacturer:
Rabbit Semiconductor
Part Number:
Description:
Microprocessors - MPU Rabbit 4000 LQFP Microprocessor
Manufacturer:
Rabbit Semiconductor
Part Number:
Description:
IC, I/O EXPANDER, 8BIT, 40MHZ, TQFP-64
Manufacturer:
Rabbit Semiconductor
Part Number:
Description:
SCRs 1.5A 200uA 400V Sensing
Manufacturer:
Littelfuse Inc
Datasheet:
Part Number:
Description:
CARD 6-RELAY SMARTSTAR SR9500
Manufacturer:
Rabbit Semiconductor
Datasheet:
Part Number:
Description:
WIRE-BOARD CONN RECEPTACLE, 6POS, 3.96MM
Manufacturer:
TE Connectivity
Datasheet:
Part Number:
Description:
ADAPTER 20 PIN .420" PLUGS(6PCS)
Manufacturer:
Logical Systems Inc.
Datasheet:
Part Number:
Description:
CONN BARRIER BLOCK .438" 20 POS
Manufacturer:
Cinch Connectors
Datasheet:
Part Number:
Description:
20 MODII 2PC HDR DR SHRD, ROHS
Manufacturer:
TE Connectivity
Datasheet:
Part Number:
Description:
WIRE-BOARD CONN RECEPTACLE, 6POS, 3.96MM
Manufacturer:
TE Connectivity
Datasheet: