Classes |
| struct | TDeviceStatus |
Defines |
| #define | CAN_100K_BIT 100 |
| #define | CAN_10K_BIT 10 |
| #define | CAN_125K_BIT 125 |
| #define | CAN_1M_BIT 1000 |
| #define | CAN_20K_BIT 20 |
| #define | CAN_250K_BIT 250 |
| #define | CAN_500K_BIT 500 |
| #define | CAN_50K_BIT 50 |
| #define | CAN_800K_BIT 800 |
| #define | CAN_CMD_ALL_CLEAR 0x0FFF |
| #define | CAN_CMD_HW_FILTER_CLEAR 0x0010 |
| #define | CAN_CMD_NONE 0x0000 |
| #define | CAN_CMD_RXD_FIFOS_CLEAR 0x0002 |
| #define | CAN_CMD_RXD_OVERRUN_CLEAR 0x0001 |
| #define | CAN_CMD_SW_FILTER_CLEAR 0x0020 |
| #define | CAN_CMD_TXD_FIFOS_CLEAR 0x0008 |
| #define | CAN_CMD_TXD_OVERRUN_CLEAR 0x0004 |
| #define | CAN_CMD_TXD_PUFFERS_CLEAR 0x0040 |
| #define | CAN_STATUS_BUS_OFF 4 |
| #define | CAN_STATUS_ERROR 1 |
| #define | CAN_STATUS_OK 0 |
| #define | CAN_STATUS_PASSIV 3 |
| #define | CAN_STATUS_UNBEKANNT 5 |
| #define | CAN_STATUS_WARNING 2 |
| #define | DRV_CALLBACK_TYPE |
| #define | DRV_NOT_LOAD 0 |
| #define | DRV_STATUS_CAN_OPEN 6 |
| #define | DRV_STATUS_CAN_RUN 8 |
| #define | DRV_STATUS_CAN_RUN_TX 7 |
| #define | DRV_STATUS_DEVICE_FOUND 5 |
| #define | DRV_STATUS_INIT 2 |
| #define | DRV_STATUS_NOT_INIT 1 |
| #define | DRV_STATUS_PORT_NOT_OPEN 3 |
| #define | DRV_STATUS_PORT_OPEN 4 |
| #define | EVENT_DISABLE_ALL 0xFF00 |
| #define | EVENT_DISABLE_PNP_CHANGE 0x0100 |
| #define | EVENT_DISABLE_RX_FILTER_MESSAGES 0x0400 |
| #define | EVENT_DISABLE_RX_MESSAGES 0x0800 |
| #define | EVENT_DISABLE_STATUS_CHANGE 0x0200 |
| #define | EVENT_ENABLE_ALL 0x00FF |
| #define | EVENT_ENABLE_PNP_CHANGE 0x0001 |
| #define | EVENT_ENABLE_RX_FILTER_MESSAGES 0x0004 |
| #define | EVENT_ENABLE_RX_MESSAGES 0x0008 |
| #define | EVENT_ENABLE_STATUS_CHANGE 0x0002 |
| #define | FIFO_HW_OVERRUN 1 |
| #define | FIFO_HW_SW_OVERRUN 3 |
| #define | FIFO_OK 0 |
| #define | FIFO_STATUS_UNBEKANNT 4 |
| #define | FIFO_SW_OVERRUN 2 |
| #define | OP_CAN_NO_CHANGE 0 |
| #define | OP_CAN_RESET 3 |
| #define | OP_CAN_START 1 |
| #define | OP_CAN_START_LOM 4 |
| #define | OP_CAN_START_NO_RETRANS 5 |
| #define | OP_CAN_STOP 2 |
| #define | TIME_STAMP_HW 3 |
| #define | TIME_STAMP_HW_SW_UNIX 4 |
| #define | TIME_STAMP_HW_UNIX 2 |
| #define | TIME_STAMP_OFF 0 |
| #define | TIME_STAMP_SOFT 1 |
Typedefs |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanDeviceClose )(uint32_t index) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanDeviceOpen )(uint32_t index, char *parameter) |
| typedef void(DRV_CALLBACK_TYPE * | TCanDownDriver )(void) |
| typedef char *(DRV_CALLBACK_TYPE * | TCanDrvHwInfo )(uint32_t index) |
| typedef char *(DRV_CALLBACK_TYPE * | TCanDrvInfo )(void) |
| typedef uint32_t(DRV_CALLBACK_TYPE * | TCanEventStatus )(void) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanGetDeviceStatus )(uint32_t index, struct TDeviceStatus *status) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanInitDriver )(char *options) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanReceive )(uint32_t index, struct TCanMsg *msg, int32_t count) |
| typedef void(DRV_CALLBACK_TYPE * | TCanReceiveClear )(uint32_t index) |
| typedef uint32_t(DRV_CALLBACK_TYPE * | TCanReceiveGetCount )(uint32_t index) |
| typedef void(DRV_CALLBACK_TYPE * | TCanSetEvents )(uint16_t events) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanSetFilter )(uint32_t index, struct TMsgFilter *msg_filter) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanSetMode )(uint32_t index, unsigned char can_op_mode, uint16_t can_command) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanSetOptions )(char *options) |
| typedef void(DRV_CALLBACK_TYPE * | TCanSetPnPEventCallback )(void(DRV_CALLBACK_TYPE *event)(uint32_t index, int32_t status)) |
| typedef void(DRV_CALLBACK_TYPE * | TCanSetRxEventCallback )(void(DRV_CALLBACK_TYPE *event)(uint32_t index, struct TCanMsg *msg, int32_t count)) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanSetSpeed )(uint32_t index, uint16_t speed) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanSetSpeedUser )(uint32_t index, uint32_t value) |
| typedef void(DRV_CALLBACK_TYPE * | TCanSetStatusEventCallback )(void(DRV_CALLBACK_TYPE *event)(uint32_t index, struct TDeviceStatus *device_status)) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanTransmit )(uint32_t index, struct TCanMsg *msg, int32_t count) |
| typedef void(DRV_CALLBACK_TYPE * | TCanTransmitClear )(uint32_t index) |
| typedef uint32_t(DRV_CALLBACK_TYPE * | TCanTransmitGetCount )(uint32_t index) |
| typedef int32_t(DRV_CALLBACK_TYPE * | TCanTransmitSet )(uint32_t index, uint16_t cmd, uint32_t time) |
Functions |
| int32_t | LoadDriver (const char *file_name) |
| void | UnloadDriver (void) |
Variables |
| TCanDeviceClose | CanDeviceClose |
| TCanDeviceOpen | CanDeviceOpen |
| TCanDownDriver | CanDownDriver |
| TCanDrvHwInfo | CanDrvHwInfo |
| TCanDrvInfo | CanDrvInfo |
| TCanEventStatus | CanEventStatus |
| TCanGetDeviceStatus | CanGetDeviceStatus |
| TCanInitDriver | CanInitDriver |
| TCanReceive | CanReceive |
| TCanReceiveClear | CanReceiveClear |
| TCanReceiveGetCount | CanReceiveGetCount |
| TCanSetEvents | CanSetEvents |
| TCanSetFilter | CanSetFilter |
| TCanSetMode | CanSetMode |
| TCanSetOptions | CanSetOptions |
| TCanSetPnPEventCallback | CanSetPnPEventCallback |
| TCanSetRxEventCallback | CanSetRxEventCallback |
| TCanSetSpeed | CanSetSpeed |
| TCanSetSpeedUser | CanSetSpeedUser |
| TCanSetStatusEventCallback | CanSetStatusEventCallback |
| TCanTransmit | CanTransmit |
| TCanTransmitClear | CanTransmitClear |
| TCanTransmitGetCount | CanTransmitGetCount |
| TCanTransmitSet | CanTransmitSet |