User`s manual
OEM User’s Manual 47
5.2.6 Interface Board Function Calls
The function calls described in this section are for use with the Interface Board features.
The source code is in the Dynamic C LIB\Rabbit4000\RCM5xxx\RCM56xxW.LIB
library if you need to modify it for your own board design.
The sample programs in the Dynamic C
SAMPLES\RCM5600W
folder illustrate the use of
the function calls.
Other generic functions applicable to all devices based on Rabbit microprocessors are
described in the Dynamic C Function Reference Manual.
5.2.6.1 Board Initialization
brdInit
void brdInit(void);
DESCRIPTION
Call this function at the beginning of your program. This function initializes Parallel
Ports A through E for use with the Interface Board. This function call is intended for
demonstration purposes only, and can be modified for your applications.
Summary of Initialization
1. I/O port pins are configured for Interface Board operation.
2. Unused configurable I/O are set as outputs.
4. LEDs are off.
5. The slave port is disabled.
Pins PB0, PB1, PC6, PC7, PD4, PD7, and PE4 are configured separately by the BIOS and associ-
ated libraries. Parallel port H is configured automatically as part of the 16-bit memory setup, and
cannot be used as a general purpose I/O port.
RETURN VALUE
None.