Functions |
int32_t | DefCanDeviceClose (uint32_t index) |
int32_t | DefCanDeviceOpen (uint32_t index, char *parameter) |
void | DefCanDownDriver (void) |
char * | DefCanDrvHwInfo (uint32_t index) |
char * | DefCanDrvInfo (void) |
uint32_t | DefCanEventStatus (void) |
int32_t | DefCanGet (uint32_t index, uint16_t obj_index, uint16_t obj_sub_index, void *data, int32_t size) |
int32_t | DefCanGetDeviceStatus (uint32_t index, struct TDeviceStatus *status) |
int32_t | DefCanInitDriver (char *options) |
int32_t | DefCanReceive (uint32_t index, struct TCanMsg *msg, int32_t count) |
void | DefCanReceiveClear (uint32_t index) |
uint32_t | DefCanReceiveGetCount (uint32_t index) |
int32_t | DefCanSet (uint32_t index, uint16_t obj_index, uint16_t obj_sub_index, void *data, int32_t size) |
void | DefCanSetEvents (uint16_t events) |
int32_t | DefCanSetFilter (uint32_t index, struct TMsgFilter *msg_filter) |
int32_t | DefCanSetMode (uint32_t index, unsigned char can_op_mode, uint16_t can_command) |
int32_t | DefCanSetOptions (char *options) |
void | DefCanSetPnPEventCallback (void(*event)(uint32_tindex, int32_t status)) |
void | DefCanSetRxEventCallback (void(*event)(uint32_tindex, struct TCanMsg *msg, int32_t count)) |
int32_t | DefCanSetSpeed (uint32_t index, uint16_t speed) |
int32_t | DefCanSetSpeedUser (uint32_t index, uint32_t value1) |
void | DefCanSetStatusEventCallback (void(*event)(uint32_tindex, struct TDeviceStatus *device_status)) |
int32_t | DefCanTransmit (uint32_t index, struct TCanMsg *msg, int32_t count) |
void | DefCanTransmitClear (uint32_t index) |
uint32_t | DefCanTransmitGetCount (uint32_t index) |
int32_t | DefCanTransmitSet (uint32_t index, uint16_t cmd, uint32_t time) |
void | DefDriverProcedure (int32_t func) |
int32_t | LoadDriver (const char *file_name) |
void | UnloadDriver (void) |
Variables |
TCanDeviceClose | CanDeviceClose = DefCanDeviceClose |
TCanDeviceOpen | CanDeviceOpen = DefCanDeviceOpen |
TCanDownDriver | CanDownDriver = DefCanDownDriver |
TCanDrvHwInfo | CanDrvHwInfo = DefCanDrvHwInfo |
TCanDrvInfo | CanDrvInfo = DefCanDrvInfo |
TCanEventStatus | CanEventStatus = DefCanEventStatus |
TCanGetDeviceStatus | CanGetDeviceStatus = DefCanGetDeviceStatus |
TCanInitDriver | CanInitDriver = DefCanInitDriver |
TCanReceive | CanReceive = DefCanReceive |
TCanReceiveClear | CanReceiveClear = DefCanReceiveClear |
TCanReceiveGetCount | CanReceiveGetCount = DefCanReceiveGetCount |
TCanSetEvents | CanSetEvents = DefCanSetEvents |
TCanSetFilter | CanSetFilter = DefCanSetFilter |
TCanSetMode | CanSetMode = DefCanSetMode |
TCanSetOptions | CanSetOptions = DefCanSetOptions |
TCanSetPnPEventCallback | CanSetPnPEventCallback = DefCanSetPnPEventCallback |
TCanSetRxEventCallback | CanSetRxEventCallback = DefCanSetRxEventCallback |
TCanSetSpeed | CanSetSpeed = DefCanSetSpeed |
TCanSetSpeedUser | CanSetSpeedUser = DefCanSetSpeedUser |
TCanSetStatusEventCallback | CanSetStatusEventCallback = DefCanSetStatusEventCallback |
TCanTransmit | CanTransmit = DefCanTransmit |
TCanTransmitClear | CanTransmitClear = DefCanTransmitClear |
TCanTransmitGetCount | CanTransmitGetCount = DefCanTransmitGetCount |
TCanTransmitSet | CanTransmitSet = DefCanTransmitSet |
void * | DriverHandle = NULL |