Bl2000 Function Apis; Board Initialization - Z-World Wildcat BL2000 User Manual

C-programmable, with ethernet
Table of Contents

Advertisement

4.4 BL2000 Function APIs

4.4.1 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 and DAC calibration constants from flash memory into SRAM for use by your pro-
gram.
The ports are initialized as follows:
Port
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
PC0
PC1
User's Manual
I/O
Function
Output
OUT0/RELAY/LED_DS4
Output
OUT1/LED_DS5
Output
OUT2/LED_DS6
Output
OUT3/LED_DS7
Output
OUT4
Output
OUT5
Output
OUT6
Output
OUT7
Input
IN6
Input
CLKA
Input
IN7
Input
IN8
Input
IN9
Input
IN10
Output
RS485_EN
Output
UPGOOD
Output
TXD RS-485
Input
RXD RS-485
Output Function
State
High-Current Driver
Off
High-Current Driver
Off
High-Current Driver
Off
High-Current Driver
Off
High-Current Driver
Off
High-Current Driver
Off
High-Current Driver
Off
High-Current Driver
Off
N/A
N/A
N/A
N/A
N/A
N/A
Off
Bad Indicator Off
Inactive high
N/A
39

Advertisement

Table of Contents
loading

Table of Contents