5.2.7 Prototyping Board Function Calls
The functions described in this section are for use with the Prototyping Board features.
The source code is in the Dynamic C
to modify it for your own board design.
NOTE: The analog input function calls are supported only by the RCM4200 model since
the RCM4210 does not have an A/D converter.
The sample programs in the Dynamic C
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.7.1 Board Initialization
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 Prototyping Board, and on the RCM4200 model
loads the stored calibration constants for the A/D converter. 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 Prototyping Board operation.
2. Unused configurable I/O are set as tied outputs.
3. RS-232 is not enabled.
4. LEDs are off.
5. The slave port is disabled.
RETURN VALUE
None.
52
LIB\RCM4xxx\RCM42xx.LIB
SAMPLES\RCM4200
brdInit
library if you need
folder illustrate the use of
RabbitCore RCM4200