Port_Struct Structure Define - ADLINK Technology NuCOM PCI-7841 User Manual

Dual-port isolated can interface card
Table of Contents

Advertisement

Operation System
Windows 95/98/NT
Note:
only for compact PCI and PC-104 version.

PORT_STRUCT structure define

The PORT_STRUCT structure defines the mode of id-mode,
acceptance code, acceptance mask and baud rate of a physical
CAN port. It is used by the CanPortConfig(), and CanGetPortSta-
tus() functions.
typedef struct _tagPORT_STRUCT
{
int mode;
bit
DWORD accCode, accMask;
int baudrate;
BYTE brp, tseg1, tseg2;// Reserved
BYTE sjw, sam;
}PORT_STRUCT;
16
Error and Event handling functions
DOS
// 0
// Reserved
CanClearOverrun()
CanClearRxBuffer()
CanClearTxBuffer()
CanGetErrorCode()
CanGetErrorWarningLimit()
CanSetErrorWarningLimit()
CanGetRxErrorCount()
CanGetTxErrorCount()
CanSetTxErrorCount()
CanGetPortStatus()
CanGetLedStatus()1
CanSetLedStatus()1
Function Name
CanInstallCallBack()
CanRemoveCallBack()
CanInstallEvent()
for 11-bit;
1 for 29-
Function Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuCOM PCI-7841 and is the answer not in the manual?

This manual is also suitable for:

Nucom cpci-7841Nucom pm-7841

Table of Contents