ADLINK Technology NuCOM PCI-7841 User Manual page 25

Dual-port isolated can interface card
Table of Contents

Advertisement

Members
mode:
0 means using 11-bit in CAN-ID field
1 means using 29-bit in CAN-ID field.
accCode:Acceptance Code for CAN controller.
accMask:Acceptance Mask for CAN controller.
baudrate:Baud rate setting for the CAN controller.
CanPortConfig(), CanGetPortStatus(), and PORT_STATUS struc-
ture
PORT_STATUS structure define
The PORT_STATUS structure defines the status register and
PORT_STRUCT of CAN port. It is used by the CanGetPortStatus()
functions.
typedef struct _tagPORT_STATUS
{
PORT_STRUCT port;
PORT_REG status;
}PORT_STATUS;
Members
port:
status:
mapping of CAN controller.
typedef union _tagPORT_REG
{
}PORT_REG;
struct PORTREG_BIT
{
unsigned short RxBuffer: 1;
unsigned short DataOverrun: 1;
unsigned short TxBuffer: 1;
Function Reference
Value Baudrate
0
125 Kbps
1
250 Kbps
2
500 Kbps
3
1M bps
PORT_STRUCT data
status is the status register
struct PORTREG_BIT bit;
unsigned short reg;
17

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Nucom cpci-7841Nucom pm-7841

Table of Contents