Structure - Korenix JetBox 8152 User Manual

Linux canbus
Hide thumbs Also See for JetBox 8152:
Table of Contents

Advertisement

Can_Get_TXERROR_COUNTER
BYTE Can_Get_TXERROR_COUNTER(void)
Return
The value of transmit error.
The TX error counter register reflects the current value of the transmit error counter.
Note 11: More information of Status is given in the data sheet of SJA 1000 in
section 6.4.12.
Can_Get_RXERROR_COUNTER
BYTE Can_Get_RXERROR_COUNTER(void)
Return
The value of receive error.
The RX error counter register reflects the current value of the receive error counter.
Note 12: More information of Status is given in the data sheet of SJA 1000 in
section 6.4.11.
4-3

Structure

The CanPort API defines the following structures
CANMsg :Defines a CAN message
typedef struct {
DWORD ID;
BYTE MSGTYPE;
BYTE LEN;
BYTE DATA[8];
} CANMsg;
Korenix | Korenix Library Reference
15

Advertisement

Table of Contents
loading

Table of Contents