nico@207: nico@207:
nico@207:#include "timerscfg.h"
#include "can_driver.h"
#include "data.h"
#include <windows.h>
nico@207: Go to the source code of this file.
Typedefs | |
typedef HINSTANCE | LIB_HANDLE |
Functions | |
UNS8 | UnLoadCanDriver (LIB_HANDLE handle) |
LIB_HANDLE | LoadCanDriver (char *driver_name) |
UNS8 | canSend (CAN_PORT port, Message *m) |
CAN_PORT | canOpen (s_BOARD *board, CO_Data *d) |
int | canClose (CO_Data *d) |
typedef HINSTANCE LIB_HANDLE | nico@207:
nico@207: nico@207:
nico@207: Definition at line 31 of file canfestival.h. nico@207:
nico@207:
int canClose | nico@207:( | nico@207:CO_Data * | nico@207:d | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 178 of file unix.c. nico@207:
nico@207: References canClose(), struct_CO_Data::canHandle, driver_data::continue_receive_thread, DLL_CALL, EnterMutex(), CANPort::fd, driver_data::inst, LeaveMutex(), driver_procs::m_canClose, driver_data::receive_thread, CANPort::receiveTask, s_driver_procs, and WaitReceiveTaskEnd(). nico@207:
CAN_PORT canOpen | nico@207:( | nico@207:s_BOARD * | nico@207:board, | nico@207:|
nico@207: | nico@207: | CO_Data * | nico@207:d | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 145 of file unix.c. nico@207:
nico@207: References struct_s_BOARD::baudrate, struct_s_BOARD::busname, struct_CO_Data::canHandle, canOpen(), canports, canReceiveLoop(), driver_data::continue_receive_thread, CreateReceiveTask(), driver_data::d, CANPort::d, DLL_CALL, EnterMutex(), CANPort::fd, driver_data::inst, LeaveMutex(), driver_procs::m_canOpen, MAX_NB_CAN_PORTS, driver_data::receive_thread, s_driver_procs, and CANPort::used. nico@207:
UNS8 canSend | nico@207:( | nico@207:CAN_PORT | nico@207:port, | nico@207:|
nico@207: | nico@207: | Message * | nico@207:m | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 120 of file unix.c. nico@207:
nico@207: References canSend(), DLL_CALL, EnterMutex(), driver_data::inst, LeaveMutex(), driver_procs::m_canSend, s_driver_procs, and UNS8. nico@207:
LIB_HANDLE LoadCanDriver | nico@207:( | nico@207:char * | nico@207:driver_name | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 84 of file unix.c. nico@207:
nico@207: References canClose(), canOpen(), canReceive(), canSend(), DLSYM, driver_procs::load_canfestival_driver(), and s_driver_procs. nico@207:
UNS8 UnLoadCanDriver | nico@207:( | nico@207:LIB_HANDLE | nico@207:handle | nico@207:) | nico@207:nico@207: |
nico@207: