Function Library
109
6.3
Initialization
@ Name
_8168_initial
– Software Initialization for cPCI-8168
_8168_close
– Software release resources of cPCI-8168
_8168_get_base_addr
– Get the base address of cPCI-8168
_8168_get_irq_channel
– Get the cPCI-8168 card’s IRQ
number
_8168_config_from_file
– Configure cPCI-8168 card
according to configuration file ie. 8168.ini.
_8168_get_fpga_version
– Get the FPGA version number
@ Description
_8168_initial
:
This function is used to initialize cPCI-8168 cards. All cPCI-8168
cards can be initialized by calling this function once before using
other functions.
_8168_close
:
This function is used to close cPCI-8168 cards and release the
cPCI-8168 related resources, which should be called at the end of
an application.
_8168_get_irq_channel
:
This function is used to get the cPCI-8168 card’s IRQ number.
_8168_get_base_addr
:
This function is used to get the cPCI-8168 card’s base address.
_8168_config_from_file
:
This function is used to load the configuration of cPCI-8168
according to the specified file. By using
MotionCreator
, users
can test and configure cPCI-8168 correctly. After pressing the
“save config” button, the 8168.ini file in the window directory is
used to record the configurations. By specifying it in the parame-
ter, the configuration will automatically load.
Summary of Contents for cPCI-8168
Page 4: ......
Page 10: ...vi List of Figures...
Page 29: ...Installation 19 2 9 Overview of CN3 CN6...
Page 31: ...Installation 21 2 11 Switch Setting...
Page 204: ...194 Function Library...