Documentation PDF

MUXDLL  V6.55

Data Structures

struct  tCanBus
 Bus. More...
 
struct  tCanDualFilter
 Filter configuration. Identifiants and masks : More...
 
struct  tCanEvent
 Event. More...
 
struct  tCanMsg
 Message. More...
 
struct  tCanOper
 Type of interface with the application. More...
 
struct  tCanParam
 Parameters. More...
 
struct  tCanPeriodicMsg
 Periodic message. More...
 
struct  tCanRangeFilter
 CAN range filter. Identifiants : More...
 
struct  tCanStat
 Statistics. More...
 

Macros

#define CAN_ERROR_ACKNOWLEDGEDELIMITER   0x001B
 Acknowledge delimiter error.
 
#define CAN_ERROR_ACKNOWLEDGESLOT   0x0019
 Acknowledge slot error.
 
#define CAN_ERROR_ACTIVEERROR   0x0011
 Active error.
 
#define CAN_ERROR_BITERROR   0x0000
 Bit error.
 
#define CAN_ERROR_BITIDE   0x0005
 Bit IDE error.
 
#define CAN_ERROR_BITSRTR   0x0004
 Bit SRTR error.
 
#define CAN_ERROR_CRCDELIMITER   0x0018
 CRC delimiter.
 
#define CAN_ERROR_CRCFIELD   0x0008
 CRC field error.
 
#define CAN_ERROR_DATAFIELD   0x000A
 Data field error.
 
#define CAN_ERROR_DLCFIELD   0x000B
 DLC field error.
 
#define CAN_ERROR_DOMINANTBITS   0x0013
 Dominant bit error.
 
#define CAN_ERROR_ENDOFFRAME   0x001A
 End of frame.
 
#define CAN_ERROR_ERRORDELIMITER   0x0017
 Error delimiter.
 
#define CAN_ERROR_FORMAT   0x0040
 Format error.
 
#define CAN_ERROR_ID12TOID5   0x000F
 ID13 to ID5.
 
#define CAN_ERROR_ID17TOID13   0x0007
 ID17 to ID13.
 
#define CAN_ERROR_ID20TOID18   0x0006
 ID20 to ID18.
 
#define CAN_ERROR_ID20TOID21   0x0002
 ID20 to ID21.
 
#define CAN_ERROR_ID4TOID0   0x000E
 ID4 to ID0.
 
#define CAN_ERROR_INTERMISSION   0x0012
 Intermission error.
 
#define CAN_ERROR_MISCELLANEOUS   0x00C0
 Miscellaneous error.
 
#define CAN_ERROR_OVERLOAD   0x001C
 Overload error.
 
#define CAN_ERROR_PASSIVEERROR   0x0016
 Passive error.
 
#define CAN_ERROR_RESERVEDBIT0   0x0009
 Reserved bit.
 
#define CAN_ERROR_RESERVEDBIT1   0x000D
 Reserved bit.
 
#define CAN_ERROR_RTRBIT   0x000C
 RTR Bit error.
 
#define CAN_ERROR_RX   0x0020
 Reception error.
 
#define CAN_ERROR_STARTOFFRAME   0x0003
 Start of frame error.
 
#define CAN_ERROR_STUFFING   0x0080
 Stuffing error.
 
#define CAN_ERROR_TX   0x0000
 Transmission error.
 
#define CAN_MAX_DATA   8
 Maximum CAN data length.
 
#define CAN_PERIODIC_PARAM_DISABLE   0
 Disable periodic frame.
 
#define CAN_PERIODIC_PARAM_ENABLE   1
 Enable periodic frame.
 
#define CAN_PERIODIC_PARAM_NOEVENTS   0
 Disable the events.
 
#define CAN_PERIODIC_PARAM_WITHEVENTS   2
 Enable the events.
 

Enumerations

enum  tCanBoolean { CAN_FALSE = 0, CAN_TRUE = 1 }
 Boolean. More...
 
enum  tCanChipState { CAN_BUS_ACTIVE = 0, CAN_BUS_PASSIVE = 1, CAN_BUS_OFF = 2 }
 Chip state. More...
 
enum  tCanClockFreq { CAN_CLOCK_16MHZ = 0, CAN_CLOCK_40MHZ = 1, CAN_CLOCK_5MHZ = 2 }
 Clock frequency. More...
 
enum  tCanOperMode { CAN_OPER_ANA_FIFO = 0, CAN_OPER_ANA_BUFF = 1 }
 Operating mode. More...
 
enum  tCanService { CAN_SVC_TRANSMIT_DATA = 0, CAN_SVC_RECEIVE_DATA = 1, CAN_SVC_TRANSMIT_RTR = 2, CAN_SVC_RECEIVE_RTR = 3 }
 Service. More...
 
enum  tCanSlope { CAN_SLOPE_CONTROL = 0, CAN_SLOPE_HIGH_SPEED = 1 }
 Slope between low and high level. More...
 
enum  tCanType { CAN_LS = 0, CAN_HS = 1, CAN_SW = 2 }
 Speed. More...
 
enum  tCanTypeId { CAN_ID_STD = 0, CAN_ID_XTD = 1 }
 CAN identifiant type (CAN_ID_STD by default) More...
 

Detailed Description

Enumeration Type Documentation

◆ tCanBoolean

Boolean.

Warning
Do not use it for CanSelectTransceiverHS function.
Enumerator
CAN_FALSE 

False

CAN_TRUE 

True

◆ tCanChipState

Chip state.

Enumerator
CAN_BUS_ACTIVE 

Active error state

CAN_BUS_PASSIVE 

Passive error state

CAN_BUS_OFF 

Bus off state

◆ tCanClockFreq

Clock frequency.

Enumerator
CAN_CLOCK_16MHZ 

fCAN = 16MHZ --> SJA1000 (default)

CAN_CLOCK_40MHZ 

fCAN = 40MHZ --> TWINCAN (= fCPU)

CAN_CLOCK_5MHZ 

fCAN = 5MHZ --> TWINCAN (= fCPU/8)

◆ tCanOperMode

Operating mode.

Enumerator
CAN_OPER_ANA_FIFO 

Analyse mode, event is stored in fifo mode

CAN_OPER_ANA_BUFF 

Analyse mode, event is stored in buffer mode

◆ tCanService

Service.

Enumerator
CAN_SVC_TRANSMIT_DATA 

Transmit message

CAN_SVC_RECEIVE_DATA 

Receive message

CAN_SVC_TRANSMIT_RTR 

Transmit a remote

CAN_SVC_RECEIVE_RTR 

Receive a remote

◆ tCanSlope

enum tCanSlope

Slope between low and high level.

Enumerator
CAN_SLOPE_CONTROL 

Slope control (line interface)

CAN_SLOPE_HIGH_SPEED 

High speed (line interface)

◆ tCanType

enum tCanType

Speed.

Enumerator
CAN_LS 

Low

CAN_HS 

High

CAN_SW 

Single wire

◆ tCanTypeId

enum tCanTypeId

CAN identifiant type (CAN_ID_STD by default)

Enumerator
CAN_ID_STD 

Standard identifier (11 bits)

CAN_ID_XTD 

Extended identifier (29 bits)