2 initialization and system information, Initialization and system information – ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual
Page 94
HSL Function Library
81
5.2 Initialization and System Information
@ Name
HSL_initial – Master board initialization
HSL_close – Release all resource occupied by master board
HSL_start – Start to scan all slave module connected to master
board
HSL_auto_start – Start to scan and automatically detect all the
slave modules connected to master card
HSL_stop –Stop scanning the connected slave modules
HSL_set_scan_condition – Set scanning conditions (7853/54
only)
HSL_get_scan_condition – Get scanning conditions (7853/54
only)
HSL_connect_status – Get the communication status of the
specified slave module
HSL_slave_live – Get the module status of the slave module
HSL_get_irq_channel – Get the IRQ occupied by master card
@ Description
HSL_initial:
Initializes the hardware and software states of the HSL master
card (PCI-7851/52 or PMC-7852/G). You can check the return
code of this function to know if the initialization is successful or
not. Since the HSL master card is plug-and-play, the base address
and IRQ level are automatically assigned by the BIOS.
HSL_close:
Releases the resource occupied by the HSL master card. When
terminating the program, do not forget to call this function to
release all the resource occupied by the HSL master card.
HSL_start:
Scans the total connected slave modules. You can assign the
number of slave indexes the HSL master board will scan.