20-668-0003 Rabbit Semiconductor, 20-668-0003 Datasheet - Page 177
![IC CPU RABBIT2000 30MHZ 100PQFP](/photos/6/76/67658/316-100-pqfp_sml.jpg)
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: 177 of 228
- Download datasheet (2Mb)
17.3 Shadow Registers
Many of the registers of the Rabbit’s internal I/O devices are write-only. This saves gates
on the chip, making possible greater capability at lower cost. Write-only registers are eas-
ier to use if a memory location, called a shadow register, is associated with each write-
only register. To make shadow register names easy to remember, the word shadow is
appended to the register name. For example the register GOCR (Global Output Control
register) has the shadow
source code as shown below.
If the port is a write-only port, the shadow register can be used to find out the port’s con-
tents. For example GCSR has a number of write-only bits. These can be read by consult-
ing the shadow, provided that the shadow register is always updated when writing to the
register.
17.3.1 Updating Shadow Registers
If the address of a shadow register is passed as an argument to one of the functions that
write to the internal or external I/O registers, then the shadow register will be updated as
well as the specified I/O register.
A
and
to the shadow register is mandatory for
17.3.2 Interrupt While Updating Registers
When manipulating I/O registers and shadow registers, the programmer must keep in
mind that an interrupt can take place in the middle of the sequence of operations, and then
the interrupt routine may manipulate the same registers. If this possibility exists, then a
solution must be crafted for the particular situation. Usually it is not necessary to disable
the interrupts while manipulating registers and their associated shadow registers.
17.3.2.1 Atomic Instruction
As an example, consider the parallel port D data direction register (PDDDR). This register
is write only, and it contains 8 bits corresponding to the 8 I/O pins of parallel port D. If a
bit in this register is a “1,” the corresponding port pin is an output, otherwise it is an input.
It is easy to imagine a situation where different parts of the application, such as an inter-
rupt routine and a background routine, need to be in charge of different bits in the PDDDR
register. The following code sets a bit in the shadow and then sets the I/O register. If an
interrupt takes place between the
PDDDR, the correct value will still be set in PDDDR.
Chapter 17 Other Rabbit Software
NULL
WrPortE()
char GCSRShadow; // Global Control Status Register
char GOCRShadow; // Global Output Control Registe
char GCDRShadow; // Global Clock Doubler Register
k=GCSRShadow;
pointer may replace the pointer to a shadow register as an argument to
; the shadow register associated with the port will not be updated. A pointer
GOCRShadow
set
and the
. Some shadow registers are defined in the BIOS
BitWrPortI()
ldd
, and changes the shadow register and
and
BitWrPortE()
r
WrPortI()
.
171
Related parts for 20-668-0003
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![20-668-0024](/photos/6/76/67659/316-128-lqfp_tmb.jpg)
Part Number:
Description:
IC CPU RABBIT4000 128-LQFP
Manufacturer:
Rabbit Semiconductor
Datasheet:
![20-668-0011](/photos/6/76/67659/316-128-lqfp_tmb.jpg)
Part Number:
Description:
IC MPU RABIT3000A 55.5MHZ128LQFP
Manufacturer:
Rabbit Semiconductor
Datasheet:
![20-668-0016](/images/no-image3.png)
Part Number:
Description:
Microprocessors - MPU Rabbit 3000 TFBGA Microprocessor
Manufacturer:
Rabbit Semiconductor
![20-668-0022](/images/no-image3.png)
Part Number:
Description:
Microprocessors - MPU Rabbit 4000 LQFP Microprocessor
Manufacturer:
Rabbit Semiconductor
![20-668-0030](/images/no-image3.png)
Part Number:
Description:
IC, I/O EXPANDER, 8BIT, 40MHZ, TQFP-64
Manufacturer:
Rabbit Semiconductor
![TCR22-6](/photos/16/7/160723/sensitive_scr_tmb.jpg)
Part Number:
Description:
SCRs 1.5A 200uA 400V Sensing
Manufacturer:
Littelfuse Inc
Datasheet:
![20-101-0395](/photos/37/60/376061/ssrelay_tmb.jpg)
Part Number:
Description:
CARD 6-RELAY SMARTSTAR SR9500
Manufacturer:
Rabbit Semiconductor
Datasheet:
![640432-6](/photos/32/4/320491/pr2516020b_tmb.jpg)
Part Number:
Description:
WIRE-BOARD CONN RECEPTACLE, 6POS, 3.96MM
Manufacturer:
TE Connectivity
Datasheet:
![PA-SOF-D420-20/6](/images/no-image3.png)
Part Number:
Description:
ADAPTER 20 PIN .420" PLUGS(6PCS)
Manufacturer:
Logical Systems Inc.
Datasheet:
![20-141](/photos/4/38/43890/20-141_tmb.jpg)
Part Number:
Description:
CONN BARRIER BLOCK .438" 20 POS
Manufacturer:
Cinch Connectors
Datasheet:
![6-102692-6](/photos/41/39/413982/pr1055022a_tmb.jpg)
Part Number:
Description:
20 MODII 2PC HDR DR SHRD, ROHS
Manufacturer:
TE Connectivity
Datasheet:
![640600-6](/photos/41/50/415007/pr2516022a_tmb.jpg)
Part Number:
Description:
WIRE-BOARD CONN RECEPTACLE, 6POS, 3.96MM
Manufacturer:
TE Connectivity
Datasheet: