20-668-0003 Rabbit Semiconductor, 20-668-0003 Datasheet - Page 44
20-668-0003
Manufacturer Part Number
20-668-0003
Description
IC CPU RABBIT2000 30MHZ 100PQFP
Manufacturer
Rabbit Semiconductor
Datasheet
1.20-668-0003.pdf
(228 pages)
Specifications of 20-668-0003
Processor Type
Rabbit 2000 8-Bit
Speed
30MHz
Voltage
2.7V, 3V, 3.3V, 5V
Mounting Type
Surface Mount
Package / Case
100-MQFP, 100-PQFP
Data Bus Width
8 bit
Maximum Clock Frequency
30 MHz
Operating Supply Voltage
0 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
40
Number Of Timers
8 & 10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
20-668-0003
316-1062
316-1062
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
20-668-0003
Manufacturer:
Rabbit Semiconductor
Quantity:
10 000
- Current page: 44 of 228
- Download datasheet (2Mb)
The privileged instructions to manipulate the IP register are listed below.
3.5.4 Critical Sections
Certain library routines may need to disable interrupts during a critical section of code.
Generally these routines are only legal to call if the processor priority is either 0 or 1. A
priority higher than this implies custom hand-coded assembly routines that do not call
general-purpose libraries. The following code can be used to disable priority 1 interrupts.
This code is safe if it is known that the code in the critical section does not have an embed-
ded critical section. If this code is nested, there is the danger of overflowing the IP register.
A different version that can be nested is the following.
The following instructions are also privileged.
3.5.5 Semaphores Using Bit B,(HL)
The
following code.
A semaphore is used to gain control of a resource that can only belong to one task or pro-
gram at a time. This is done by testing a bit to see if it is on, in which case someone else is
using the resource, otherwise setting the bit to indicate ownership of the resource. No
interrupt can be allowed between the test of the bit and the setting of the bit as this might
allow two different program to both think they own the resource.
38
bit B,(HL)
IPSET 0
IPSET 1
IPSET 2
IPSET 3
IPRES
RETI
POP IP
IPSET 1 ; save previous priority and set priority to 1
....critical section...
IPRES
PUSH IP
IPSET 1
....critical section...
POP IP
LD A,xpc
LD xpc,a
BIT B,(HL)
BIT B,(HL)
SET B,(HL)
; if zero flag set the semaphore belongs to us;
; otherwise someone else has it
; restore previous priority
; save previous priority and set priority to 1
; restore previous priority
; shift IP left and set priority 00 in bits 1,0
; rotate IP right 2 bits, restoring previous priority
; pops IP from stack and then pops return address
; pop IP register from stack
instruction is privileged to allow the construction of a semaphore by the
; test a bit in the byte at (HL)
; make sure bit set, does not affect flag
Rabbit 2000 Microprocessor User’s Manual
Related parts for 20-668-0003
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC CPU RABBIT4000 128-LQFP
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: