101-0399 Rabbit Semiconductor, 101-0399 Datasheet - Page 42

no-image

101-0399

Manufacturer Part Number
101-0399
Description
KIT DEV RABBIT RCM2000 INT'L
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 2000r
Type
MPU Moduler
Datasheet

Specifications of 101-0399

Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
For Use With/related Products
RCM2000, RCM2010, RCM2020
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
101-399
101-399
5.2 I/O
The RCM2000 was designed to interface with other systems, and so there are no drivers
written specifically for this purpose. The general Dynamic C read and write functions
allow you to customize the parallel I/O to meet your specific needs. For example, use
to set all the port E bits as inputs, or use
to set all the port E bits as outputs.
The sample programs in the Dynamic C
5.2.1 PCLK Output
The PCLK output is controlled by bits 7 and 6 of the Global Output Register (GOCR) on
the Rabbit 2000 microprocessor, and so can be enabled or disabled in software. Starting
with Dynamic C v 7.02, the PCLK output is disabled by default at compile time to mini-
mize radiated emissions; the PCLK output is enabled in earlier versions of Dynamic C.
Use the following code to set the PCLK output as needed.
38
PCLK output driven with peripheral clock:
PCLK output driven with peripheral clock ÷ 2:
PCLK output off (low):
PCLK output on (high):
WrPortI(PEDDR, &PEDDRShadow, 0x00);
WrPortI(PEDDR, &PEDDRShadow, 0xFF);
WrPortI(GOCR, &GOCRShadow, (GOCRShadow&~0xc0));
WrPortI(GOCR, &GOCRShadow, ((GOCRShadow&~0xc0)| 0x40));
WrPortI(GOCR, &GOCRShadow, ((GOCRShadow&~0xc0)| 0x80));
WrPortI(GOCR, &GOCRShadow, (GOCRShadow | 0xc0));
SAMPLES
directory provide further examples.
RabbitCore RCM2000

Related parts for 101-0399