MIL-STD-1553 Reference Manual
1.6 C Header Files
This chapter introduces you to the header files required when using the API S/W Library. Once
the BSP has been installed, the header files are located on your system at a platform specific
location. (See Getting Started Manual for software installation instructions.) These header files
include the following:
a. Api1553.h - this header file provides for the inclusion of the main header files:
Ai_cdef.h and Ai1553i_def.h and Ai1553i_fnc.h (described in b., c. and d. below) and
in VME environments AiVmeGeneric.h. This is the header file you will need to
include in your application program.
b. Ai_cdef.h - this header file provides definition of data types used in the API S/W Library
functions. It also provides for the use of different compilers supported by the PCI S/W
Library (See PCI Programmers Guide for a complete list of compilers supported.).
c. Ai1553i_def.h - this header file provides the inclusion of Ai1553i_fnc.h. All of these
files provide definition of constants and structures including but not limited to function
call errors, parameters used within each function, all structure definitions, boundary
constants, driver command codes (also listed in chapter 12 - Troubleshooting).
d. Ai1553i_fnc.h – this header file provides the function definitions
e. AiVmeGeneric.h – this header file provides VME specific function prototpyes and
definitions of constants and structures
There is a separate header AiOs.h file which may also be included to an application. It includes a
operating system specific header file like AiOsWindows.h, which provide a set of functions that
do the same for each operating system, but have to be encoded a little bit differently.