User`s manual

Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 46 -
EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany)
Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail info@ekf.de * Internet http://www.ekf.de
Static Librar
y
Ekf960si1.lib
The driver installation pack comes with the static library “ekf960si1.lib”. This small library
currently mainly contains C functions for CANbus port processing, but will be enlarged in the
future.
The library currently consists of the following functions:
BOOL
Ekf960GetBaudRate( // Get current device baud rate
HANDLE handle,
LPOVERLAPPED overlap,
PULONG pBaudRate
);
BOOL
Ekf960GetStatisticsCan( // Get performance statistics of a CANbus device
HANDLE handle,
LPOVERLAPPED overlap,
PSJA1000PERF_STATS pStatistics
);
BOOL
Ekf960GetStatusCan( // Get I/O status of a CANbus device
HANDLE handle,
LPOVERLAPPED overlap,
PSJA1000_STATUS pStatus
);
BOOL
Ekf960ReceiveCanFrame( // Receive a CAN frame
HANDLE handle,
LPOVERLAPPED overlap,
PBOOL pExtended,
PBOOL pRemoteXmit,
PULONG pIdentifier,
PULONG pDataSize,
PUCHAR pData,
PSJA1000_STATUS pStatus
);