42 Wildcat (BL2000)
4.4 BL2000 Function Calls
4.4.1 Board Initialization
Call this function at the beginning of your program. This function initializes the system I/O ports and
loads all the A/D and DAC calibration constants from flash memory into SRAM for use by your pro-
gram.
The ports are initialized as follows:
void brdInit (void);
Port I/O Function
Output Function
State
PA0 Output OUT0/RELAY/LED_DS4
High-Current Driver
Off
PA1 Output OUT1/LED_DS5
High-Current Driver
Off
PA2 Output OUT2/LED_DS6
High-Current Driver
Off
PA3 Output OUT3/LED_DS7
High-Current Driver
Off
PA4 Output OUT4
High-Current Driver
Off
PA5 Output OUT5
High-Current Driver
Off
PA6 Output OUT6
High-Current Driver
Off
PA7 Output OUT7
High-Current Driver
Off
PB0 Input IN6 N/A
PB1 Input CLKA N/A
PB2 Input IN7 N/A
PB3 Input IN8 N/A
PB4 Input IN9 N/A
PB5 Input IN10 N/A
PB6 Output RS485_EN Off
PB7 Output UPGOOD Bad Indicator Off
PC0 Output TXD RS-485 Inactive high
PC1 Input RXD RS-485 N/A