Go to the documentation of this file.
18 #ifndef CANITF_INCLUDEDEF_H
19 #define CANITF_INCLUDEDEF_H
25 #define CANITFTYPE_CAN_PEAK 0
26 #define CANITFTYPE_CAN_PEAK_USB 1
27 #define CANITFTYPE_CAN_ESD 2
28 #define CANITFTYPE_CAN_DUMMY 3
29 #define CANITFTYPE_CAN_BECKHOFF 4
30 #define CANITFTYPE_SOCKET_CAN 5
32 #define CANITFBAUD_1M 0x0
33 #define CANITFBAUD_500K 0x2
34 #define CANITFBAUD_250K 0x4
35 #define CANITFBAUD_125K 0x6
36 #define CANITFBAUD_50K 0x9
37 #define CANITFBAUD_20K 0xB
38 #define CANITFBAUD_10K 0xD
71 virtual void init() = 0;
void setCanItfType(CanItfType iType)
virtual bool receiveMsg(CanMsg *pCMsg)=0
virtual bool receiveMsgRetry(CanMsg *pCMsg, int iNrOfRetry)=0
virtual bool transmitMsg(CanMsg CMsg, bool bBlocking=true)=0
virtual bool isObjectMode()=0
CanItfType getCanItfType()
virtual bool receiveMsgTimeout(CanMsg *pCMsg, int nMicroSecTimeout)=0
virtual bool init_ret()=0
CanItfType m_iCanItfType
The CAN interface type.
cob_generic_can
Author(s): Christian Connette
autogenerated on Wed Nov 8 2023 03:47:51