Board Initialization - Z-World Fox LP3500 User Manual

C-programmable single-board computer
Table of Contents

Advertisement

4.5.2 Board Initialization

void brdInit (void);
Call this function at the beginning of your program. This function initializes the system I/O ports and
loads all the A/D converter and D/A converter calibration constants from flash memory into SRAM for
use by your program. If the LCD/keypad module is installed, this function will turn off LED DS1 to indi-
cate that the initialization was successful.
Summary of Initialization
LP3500 uses main oscillator
LCD/keypad module buffer is disabled
RS-485 serial communication is not enabled
RS-232 serial communication is enabled
Unused configureable inputs are tied and unused configureable outputs are set low
Self-timed chip select is set to 109 ns
If A/D converter chip is installed, chip is reset and SCLKD is set to 19,200 bps
If A/D converter chip is installed, calibration constants are read
If relay is installed, relay is set to NC or RESET position
The ports are initialized according to Table A-3.
User's Manual
47

Advertisement

Table of Contents
loading

Table of Contents