2 c/c++ programming library, C/c++ programming library, Table 6-1: data type definitions – ADLINK PCI-8144 User Manual

Page 81

Advertising
background image

Function Library

71

6.2

C/C++ Programming Library

This section details all the functions. The function prototypes and
some common data types are declared in pci_8144.h. We suggest
you use these data types in your application programs. The follow-
ing table shows the data type names and their range.

Table 6-1: Data type definitions

The functions of the PCI-8144 software drivers use full-names to
represent the functions real meaning. The naming convention
rules are:

In a ‘C’ programming environment:

_{hardware_model}_{action_name}. e.g. _8144_initial().

In order to recognize the difference between a C library and a VB
library, a capital “B” is placed at the beginning of each function
name e.g. B_8144_initial().

Type Name

Description

Range

U8

8-bit ASCII character

0 to 255

I16

16-bit signed integer

-32768 to 32767

U16

16-bit unsigned integer

0 to 65535

I32

32-bit signed long integer

-2147483648 to 2147483647

U32

32-bit unsigned long integer

0 to 4294967295

F32

32-bit single-precision floating-point

-3.402823E38 to 3.402823E38

F64

64-bit double-precision floating-point

-1.797683134862315E308

to 1.797683134862315E309

Boolean

Boolean logic value

TRUE, FALSE

Advertising