User`s guide
134 DC 900-1317J
ADCCP NRM Programmer’s Guide
D.6 link-config-packet
Packet Description
This packet is used to configure a link. The data field consists of 2 or 4 bytes which are
filled in as follows (word 1 is optional):
WORD BIT(S) Description Values
---- ------ ----------- ------
0 0-3 baud rate 1-14 (see below for definitions)
0 4-5 reserved 0
0 6 clock source 0 = internal, 1 = external
0 7-15 reserved 0
1 0-7 bit encoding format 0=NRZ, 1=NRZI, 2=ANRZI
1 8-11 electrical interface 0, 2, 3, 4 (see below for definitions)
1 12-15 reserved 0
Baud rate configuration option values:
0 = reserved
1 = 1200
2 = 2400
3 = 4800
4 = 9600
5 = 19200
6 = 38400
7 = 56000
8 = 57600
9 = 64000
10 = 73728
11 = 76800
12 = 92160
13 = 115200
14 = 122880
Electrical interface configuration option values:
0 = ELECTRICAL_EIA_232 /* default */
2 = ELECTRICAL_EIA_530
3 = ELECTRICAL_V_35
4 = ELECTRICAL_EIA_449
Packet Header
Freeway (DLI api only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_WRITE
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = 18 or 20 (used for non DLI api only)]
usICPCommand = DLI_ICP_CMD_WRITE
iICPStatus = 0 - for Big Endian Clients or
= 0x4000 - for Little Endian Clients
usICPParams[0] = 0
usICPParams[1] = 0
usICPParams[2] = 0
Protocol:
usProtCommand = DLI_PROT_CFG_LINK
iProtModifier = 0