101-0517 Rabbit Semiconductor, 101-0517 Datasheet - Page 37

no-image

101-0517

Manufacturer Part Number
101-0517
Description
MODULE RABBITCORE RCM3100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0517

Rohs Status
RoHS non-compliant
Module/board Type
MPU Core Module
For Use With/related Products
RCM3100
Other names
316-1021
5.2 Dynamic C Function Calls
5.2.1 I/O
The RCM3100 was designed to interface with other systems, and so there are no drivers
written specifically for the I/O. 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.
When using the auxiliary I/O bus on the Rabbit 3000 chip, add the line
to the beginning of any programs using the auxiliary I/O bus.
The sample programs in the Dynamic C SAMPLES/RCM3100 directory provide further
examples.
5.2.2 Serial Communication Drivers
Library files included with Dynamic C provide a full range of serial communications sup-
port. The
PACKET.LIB
ited by the 9th bit, by transmission gaps, or with user-defined special characters. Both
libraries provide blocking functions, which do not return until they are finished transmit-
ting or receiving, and nonblocking functions, which must be called repeatedly until they
are finished. For more information, see the Dynamic C User’s Manual and Technical
Note 213, Rabbit 2000 Serial Port Software.
5.2.3 Prototyping Board Functions
The function described in this section is for use with the Prototyping Board. The source
code is in the
need to modify it for your own board design.
Other generic functions applicable to all devices based on Rabbit microprocessors are
described in the Dynamic C Function Reference Manual.
5.2.3.1 Board Initialization
RETURN VALUE
User’s Manual
void brdInit (void);
Call this function at the beginning of your program. This function initializes Parallel Ports A through G
for use with the RCM3000/31/32XX Prototyping Board.
This function also sets any unused configurable port pins as outputs with a high output, and assumes that
only one RCM3100 module is installed in the
None.
WrPortI(PEDDR, &PEDDRShadow, 0x00);
WrPortI(PEDDR, &PEDDRShadow, 0xFF);
#define PORTA_AUX_IO
RS232.LIB
RCM3100.LIB
library provides packet-based serial functions where packets can be delim-
library provides a set of circular-buffer-based serial functions. The
library in the Dynamic C
// required to enable auxiliary I/O bus
MASTER
position on the Prototyping Board.
SAMPLES\RCM3100
folder if you
31

Related parts for 101-0517