User’s Manual
35
5.2 Dynamic C Functions
The functions described in this section are for use with the Prototyping Board features.
The source code is in the
RCM36xx.LIB
library in the Dynamic C
SAMPLES\RCM3600
folder if you 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.1 Board Initialization
Call this function at the beginning of your program. This function initializes Parallel Ports A through G
for use with the RCM3600 module and its Prototyping Board.
Summary of Initialization
1. I/O port pins are configured for Prototyping Board operation.
2. Unused configurable I/O are set as tied inputs or outputs.
3. The LCD/keypad module is disabled.
4. RS-485 is not enabled.
5. RS-232 is not enabled.
6. The IrDA transceiver is disabled.
7. LEDs are off.
8. The A/D converter is reset and SCLKB is to 57,600 bps.
9. The A/D converter calibration constants are read (this function cannot run in RAM).
CAUTION:
Pin PB7 is connected as both switch S2 and as an external I/O bus on the Prototyping
Board. Do not use S2 when the LCD/keypad module is installed.
CAUTION:
Pins PC1 and PG2 are tied together, and pins PC3 and PG3 are tied together. Both
pairs of pins are connected to the IrDA transceiver and to the RS-232 transceiver via serial ports
on the Prototyping Board. Do
not
enable both transceivers on the Prototyping Board at the same
time.
RETURN VALUE
None.
void brdInit(void);
Содержание RabbitCore
Страница 1: ...RabbitCore RCM3600 C Programmable Core Module User s Manual 019 0135 050630 C ...
Страница 6: ...RabbitCore RCM3600 ...
Страница 12: ...6 RabbitCore RCM3600 ...
Страница 92: ...86 RabbitCore RCM3600 ...
Страница 128: ...122 RabbitCore RCM3600 ...
Страница 132: ...126 RabbitCore RCM3600 ...
Страница 136: ...130 RabbitCore RCM3600 ...
Страница 138: ......