Classes | Defines | Typedefs | Variables
can_drv_ex.h File Reference
#include "can_types.h"
Include dependency graph for can_drv_ex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _TMhsEvent
struct  TCanDeviceInfo
struct  TCanDevicesList
struct  TCanInfoVar
struct  TModulFeatures

Defines

#define CAN_FEATURE_ARD   0x0002
#define CAN_FEATURE_HW_TIMESTAMP   0x8000
#define CAN_FEATURE_LOM   0x0001
#define CAN_FEATURE_TX_ACK   0x0004
#define DEV_LIST_SHOW_TCAN_ONLY   0x01
#define DEV_LIST_SHOW_UNCONNECT   0x02
#define ERR_NO_CAN_DRIVER_LOAD   -1000000
#define MHS_EVS_OBJECT   3
#define MHS_EVS_PNP   2
#define MHS_EVS_STATUS   1
#define MHS_TERMINATE   0x80000000
#define VT_BYTE   0x01
#define VT_BYTE_ARRAY   0x07
#define VT_BYTE_RANGE_ARRAY   0x0D
#define VT_HBYTE   0x40
#define VT_HLONG   0x42
#define VT_HWORD   0x41
#define VT_LONG   0x05
#define VT_LONG_ARRAY   0x0B
#define VT_LONG_RANGE_ARRAY   0x11
#define VT_POINTER   0x82
#define VT_STREAM   0x80
#define VT_STRING   0x81
#define VT_UBYTE   0x02
#define VT_UBYTE_ARRAY   0x08
#define VT_UBYTE_RANGE_ARRAY   0x0E
#define VT_ULONG   0x06
#define VT_ULONG_ARRAY   0x0C
#define VT_ULONG_RANGE_ARRAY   0x12
#define VT_UWORD   0x04
#define VT_UWORD_ARRAY   0x0A
#define VT_UWORD_RANGE_ARRAY   0x10
#define VT_WORD   0x03
#define VT_WORD_ARRAY   0x09
#define VT_WORD_RANGE_ARRAY   0x0F

Typedefs

typedef int32_t(DRV_CALLBACK_TYPETCanExBindFifo )(uint32_t fifo_index, uint32_t device_index, uint32_t bind)
typedef int32_t(DRV_CALLBACK_TYPETCanExCreateDevice )(uint32_t *index, char *options)
typedef TMhsEvent
*(DRV_CALLBACK_TYPE
TCanExCreateEvent )(void)
typedef int32_t(DRV_CALLBACK_TYPETCanExCreateFifo )(uint32_t index, uint32_t size, TMhsEvent *event_obj, uint32_t event, uint32_t channels)
typedef void(DRV_CALLBACK_TYPETCanExDataFree )(void **data)
typedef int32_t(DRV_CALLBACK_TYPETCanExDestroyDevice )(uint32_t *index)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetAsByte )(uint32_t index, char *name, char *value)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetAsLong )(uint32_t index, char *name, int32_t *value)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetAsString )(uint32_t index, char *name, char **str)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetAsUByte )(uint32_t index, char *name, unsigned char *value)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetAsULong )(uint32_t index, char *name, uint32_t *value)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetAsUWord )(uint32_t index, char *name, uint16_t *value)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetAsWord )(uint32_t index, char *name, int16_t *value)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetDeviceCount )(int flags)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetDeviceInfo )(uint32_t index, struct TCanDeviceInfo *device_info, struct TCanInfoVar **hw_info, uint32_t *hw_info_size)
typedef int32_t(DRV_CALLBACK_TYPETCanExGetDeviceList )(struct TCanDevicesList **devices_list, int flags)
typedef int32_t(DRV_CALLBACK_TYPETCanExInitDriver )(char *options)
typedef void(DRV_CALLBACK_TYPETCanExResetEvent )(TMhsEvent *event_obj, uint32_t event)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetAsByte )(uint32_t index, char *name, char value)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetAsLong )(uint32_t index, char *name, int32_t value)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetAsString )(uint32_t index, char *name, char *value)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetAsUByte )(uint32_t index, char *name, unsigned char value)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetAsULong )(uint32_t index, char *name, uint32_t value)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetAsUWord )(uint32_t index, char *name, uint16_t value)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetAsWord )(uint32_t index, char *name, int16_t value)
typedef void(DRV_CALLBACK_TYPETCanExSetEvent )(TMhsEvent *event_obj, uint32_t event)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetObjEvent )(uint32_t index, uint32_t source, TMhsEvent *event_obj, uint32_t event)
typedef int32_t(DRV_CALLBACK_TYPETCanExSetOptions )(uint32_t index, char *options)
typedef uint32_t(DRV_CALLBACK_TYPETCanExWaitForEvent )(TMhsEvent *event_obj, uint32_t timeout)
typedef struct _TMhsEvent TMhsEvent

Variables

TCanExBindFifo CanExBindFifo
TCanExCreateDevice CanExCreateDevice
TCanExCreateEvent CanExCreateEvent
TCanExCreateFifo CanExCreateFifo
TCanExDataFree CanExDataFree
TCanExDestroyDevice CanExDestroyDevice
TCanExGetAsByte CanExGetAsByte
TCanExGetAsLong CanExGetAsLong
TCanExGetAsString CanExGetAsString
TCanExGetAsUByte CanExGetAsUByte
TCanExGetAsULong CanExGetAsULong
TCanExGetAsUWord CanExGetAsUWord
TCanExGetAsWord CanExGetAsWord
TCanExGetDeviceCount CanExGetDeviceCount
TCanExGetDeviceInfo CanExGetDeviceInfo
TCanExGetDeviceList CanExGetDeviceList
TCanExInitDriver CanExInitDriver
TCanExResetEvent CanExResetEvent
TCanExSetAsByte CanExSetAsByte
TCanExSetAsLong CanExSetAsLong
TCanExSetAsString CanExSetAsString
TCanExSetAsUByte CanExSetAsUByte
TCanExSetAsULong CanExSetAsULong
TCanExSetAsUWord CanExSetAsUWord
TCanExSetAsWord CanExSetAsWord
TCanExSetEvent CanExSetEvent
TCanExSetObjEvent CanExSetObjEvent
TCanExSetOptions CanExSetOptions
TCanExWaitForEvent CanExWaitForEvent

Define Documentation

#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 Documentation

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.

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.


Variable Documentation



tinycan
Author(s): M.Fischer
autogenerated on Thu Jun 6 2019 20:39:28