18
Function Reference
unsigned short TxEnd: 1;
unsigned short RxStatus: 1;
unsigned short TxStatus: 1;
unsigned short ErrorStatus: 1;
unsigned short BusStatus: 1;
unsigned short reserved: 8;
};
See Also
CanGetPortStatus(), and PORT_STATUS structure
CAN_PACKET structure define
The CAN_PACKET structure defines the packet format of CAN
packet. It is used by the CanSendMsg(), and CanRcvMsg() func-
tions.
typedef struct _tagCAN_PACKET
{
DWORD CAN_ID;
BYTE rtr;
BYTE len;
BYTE data[8]
DWORD time;
BYTE reserved
}CAN_PACKET;
Members
CAN_ID:
CAN ID field (32-bit unsigned integer)
rtr:
CAN RTR bit.
len:
Length of data field.
data:
Data (8 bytes maximum)
time:
Reserved for future use
reserved:
Reserved byte
See Also
CanSendMsg(), and CanRcvMsg()
Содержание NuCOM cPCI-7841
Страница 4: ......
Страница 14: ...6 Introduction ...