ADLINK HSL-AI16AO2-M-VV/-AV User Manual

Page 97

Advertising
background image

84

HSL Function Library

connect_index: For PCI-7851, the valid value is 0. For PCI-

7852 and PMC-7852/G, the valid value is 0 or 1.

max_slave_No: The maximum slave index connected to the HSL

master card with the connect_index. The valid value is from 1 to
63.

slave_No: Specifiy the slave module with slave index which want

to perform this function. The valid value is from 1 to 63.

comm_type: Half or Full duplex
0: Half duplex

1: Full duplex

transfer_rate: transfer rate setting
1: 3M

2: 6M

3: 12M

hub_number: cascaded Hub number. If no Hub in the system, the

value of hub_number is set to 0.

*sts_data: The communication status of this slave module. The

definition is as follows.

X

Bit 0 is Data_Req bit.

X

Bit 2 is for CHK1. (If Bit2 is 1. It means that there is 1 time
communication error).

X

Bit 3 is for CHK3. (If Bit3 is 1. It means that there are 3 times
communication errors).

X

Bit 4, BIT 5 and BIT 6 bits are for CHK7. (If Bit4, Bit5 and
Bit6 all are 1. It means that there are 7 times communication
errors).

*live_data: The module status.

X

1: the module is live

X

0: the module is die.

irq_no: IRQ occupied by master card.

Advertising