668-0003-C Rabbit Semiconductor, 668-0003-C Datasheet - Page 177
668-0003-C
Manufacturer Part Number
668-0003-C
Description
IC CPU RABBIT2000 30MHZ 100PQFP
Manufacturer
Rabbit Semiconductor
Datasheet
1.20-668-0003.pdf
(228 pages)
Specifications of 668-0003-C
Rohs Status
RoHS non-compliant
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
Features
-
Other names
316-1004
668-0003
668-0003
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
668-0003-C
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 668-0003-C
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Resistor Network,Thin Film,10KOhms,100WV,.5+/-% Tol,-25,25ppm-TC,3916-Case
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Part Number:
Description:
Resistor Network,Thin Film,10KOhms,100WV,.5+/-% Tol,-25,25ppm-TC,3916-Case
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Part Number:
Description:
SPLASH PROOF SEAL COMMAND SERIES
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
RESISTOR, BUS RES N/W 8, 1KOHM 0.5%, SOIC
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Datasheet:
Part Number:
Description:
RESISTOR, BUS N/W, 8RES 10KOHM 0.1%, SOIC
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Datasheet:
Part Number:
Description:
RESISTOR, BUS N/W, 8RES 10KOHM 0.5%, SOIC
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Datasheet:
Part Number:
Description:
RESISTOR, BUS RES N/W 8, 10KOHM, 1%, SOIC
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Datasheet:
Part Number:
Description:
RESISTOR, BUS N/W, 8RES 100KOHM 0.1% SOIC
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Datasheet:
Part Number:
Description:
RESISTOR, BUS N/W, 8RES 5KOHM 0.01%, SOIC
Manufacturer:
BI TECHNOLOGIES/TT ELECTRONICS
Datasheet:
Part Number:
Description:
Resistor Networks & Arrays 2K ohm 0.1% 16 Pin Isolated
Manufacturer:
BI Technologies
Datasheet:
Part Number:
Description:
IC MPU RABIT3000 55.5MHZ 128LQFP
Manufacturer:
Rabbit Semiconductor
Datasheet:
Part Number:
Description:
IC MPU RABIT3000A 55.5MHZ128LQFP
Manufacturer:
Rabbit Semiconductor
Datasheet:
Part Number:
Description:
Microprocessors - MPU Rabbit 3000 TFBGA 55.5 MHz Clock Speed
Manufacturer:
Rabbit Semiconductor
Part Number:
Description:
Microprocessors - MPU Rabbit 3000 TFBGA Microprocessor
Manufacturer:
Rabbit Semiconductor
Part Number:
Description:
Microprocessors - MPU 30MHz PROCESSOR 100PQFP IQ2T VERS.
Manufacturer:
Rabbit Semiconductor