#include "can_types.h"
Go to the source code of this file.
#define CAN_FEATURE_ARD 0x0002 |
Definition at line 20 of file can_drv_ex.h.
#define CAN_FEATURE_HW_TIMESTAMP 0x8000 |
Definition at line 22 of file can_drv_ex.h.
#define CAN_FEATURE_LOM 0x0001 |
Definition at line 19 of file can_drv_ex.h.
#define CAN_FEATURE_TX_ACK 0x0004 |
Definition at line 21 of file can_drv_ex.h.
#define DEV_LIST_SHOW_TCAN_ONLY 0x01 |
Definition at line 13 of file can_drv_ex.h.
#define DEV_LIST_SHOW_UNCONNECT 0x02 |
Definition at line 14 of file can_drv_ex.h.
#define ERR_NO_CAN_DRIVER_LOAD -1000000 |
Definition at line 10 of file can_drv_ex.h.
#define MHS_EVS_OBJECT 3 |
Definition at line 57 of file can_drv_ex.h.
#define MHS_EVS_PNP 2 |
Definition at line 56 of file can_drv_ex.h.
#define MHS_EVS_STATUS 1 |
Definition at line 55 of file can_drv_ex.h.
#define MHS_TERMINATE 0x80000000 |
Definition at line 59 of file can_drv_ex.h.
#define VT_BYTE 0x01 |
Definition at line 25 of file can_drv_ex.h.
#define VT_BYTE_ARRAY 0x07 |
Definition at line 32 of file can_drv_ex.h.
#define VT_BYTE_RANGE_ARRAY 0x0D |
Definition at line 39 of file can_drv_ex.h.
#define VT_HBYTE 0x40 |
Definition at line 46 of file can_drv_ex.h.
#define VT_HLONG 0x42 |
Definition at line 48 of file can_drv_ex.h.
#define VT_HWORD 0x41 |
Definition at line 47 of file can_drv_ex.h.
#define VT_LONG 0x05 |
Definition at line 29 of file can_drv_ex.h.
#define VT_LONG_ARRAY 0x0B |
Definition at line 36 of file can_drv_ex.h.
#define VT_LONG_RANGE_ARRAY 0x11 |
Definition at line 43 of file can_drv_ex.h.
#define VT_POINTER 0x82 |
Definition at line 52 of file can_drv_ex.h.
#define VT_STREAM 0x80 |
Definition at line 50 of file can_drv_ex.h.
#define VT_STRING 0x81 |
Definition at line 51 of file can_drv_ex.h.
#define VT_UBYTE 0x02 |
Definition at line 26 of file can_drv_ex.h.
#define VT_UBYTE_ARRAY 0x08 |
Definition at line 33 of file can_drv_ex.h.
#define VT_UBYTE_RANGE_ARRAY 0x0E |
Definition at line 40 of file can_drv_ex.h.
#define VT_ULONG 0x06 |
Definition at line 30 of file can_drv_ex.h.
#define VT_ULONG_ARRAY 0x0C |
Definition at line 37 of file can_drv_ex.h.
#define VT_ULONG_RANGE_ARRAY 0x12 |
Definition at line 44 of file can_drv_ex.h.
#define VT_UWORD 0x04 |
Definition at line 28 of file can_drv_ex.h.
#define VT_UWORD_ARRAY 0x0A |
Definition at line 35 of file can_drv_ex.h.
#define VT_UWORD_RANGE_ARRAY 0x10 |
Definition at line 42 of file can_drv_ex.h.
#define VT_WORD 0x03 |
Definition at line 27 of file can_drv_ex.h.
#define VT_WORD_ARRAY 0x09 |
Definition at line 34 of file can_drv_ex.h.
#define VT_WORD_RANGE_ARRAY 0x0F |
Definition at line 41 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExBindFifo)(uint32_t fifo_index, uint32_t device_index, uint32_t bind) |
Definition at line 191 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExCreateDevice)(uint32_t *index, char *options) |
Definition at line 187 of file can_drv_ex.h.
typedef TMhsEvent*(DRV_CALLBACK_TYPE * TCanExCreateEvent)(void) |
Definition at line 193 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExCreateFifo)(uint32_t index, uint32_t size, TMhsEvent *event_obj, uint32_t event, uint32_t channels) |
Definition at line 189 of file can_drv_ex.h.
typedef void(DRV_CALLBACK_TYPE * TCanExDataFree)(void **data) |
Definition at line 186 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExDestroyDevice)(uint32_t *index) |
Definition at line 188 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetAsByte)(uint32_t index, char *name, char *value) |
Definition at line 207 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetAsLong)(uint32_t index, char *name, int32_t *value) |
Definition at line 209 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetAsString)(uint32_t index, char *name, char **str) |
Definition at line 213 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetAsUByte)(uint32_t index, char *name, unsigned char *value) |
Definition at line 210 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetAsULong)(uint32_t index, char *name, uint32_t *value) |
Definition at line 212 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetAsUWord)(uint32_t index, char *name, uint16_t *value) |
Definition at line 211 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetAsWord)(uint32_t index, char *name, int16_t *value) |
Definition at line 208 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetDeviceCount)(int flags) |
Definition at line 182 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetDeviceInfo)(uint32_t index, struct TCanDeviceInfo *device_info, struct TCanInfoVar **hw_info, uint32_t *hw_info_size) |
Definition at line 184 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExGetDeviceList)(struct TCanDevicesList **devices_list, int flags) |
Definition at line 183 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExInitDriver)(char *options) |
Definition at line 198 of file can_drv_ex.h.
typedef void(DRV_CALLBACK_TYPE * TCanExResetEvent)(TMhsEvent *event_obj, uint32_t event) |
Definition at line 196 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetAsByte)(uint32_t index, char *name, char value) |
Definition at line 200 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetAsLong)(uint32_t index, char *name, int32_t value) |
Definition at line 202 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetAsString)(uint32_t index, char *name, char *value) |
Definition at line 206 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetAsUByte)(uint32_t index, char *name, unsigned char value) |
Definition at line 203 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetAsULong)(uint32_t index, char *name, uint32_t value) |
Definition at line 205 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetAsUWord)(uint32_t index, char *name, uint16_t value) |
Definition at line 204 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetAsWord)(uint32_t index, char *name, int16_t value) |
Definition at line 201 of file can_drv_ex.h.
typedef void(DRV_CALLBACK_TYPE * TCanExSetEvent)(TMhsEvent *event_obj, uint32_t event) |
Definition at line 195 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetObjEvent)(uint32_t index, uint32_t source, TMhsEvent *event_obj, uint32_t event) |
Definition at line 194 of file can_drv_ex.h.
typedef int32_t(DRV_CALLBACK_TYPE * TCanExSetOptions)(uint32_t index, char *options) |
Definition at line 199 of file can_drv_ex.h.
typedef uint32_t(DRV_CALLBACK_TYPE * TCanExWaitForEvent)(TMhsEvent *event_obj, uint32_t timeout) |
Definition at line 197 of file can_drv_ex.h.
typedef struct _TMhsEvent TMhsEvent |
Definition at line 124 of file can_drv_ex.h.