nico@207: \hypertarget{win32_2canfestival_8h}{ nico@207: \section{/home/epimerde/documents/tc11/Can\-Festival-3/include/win32/canfestival.h File Reference} nico@207: \label{win32_2canfestival_8h}\index{/home/epimerde/documents/tc11/CanFestival-3/include/win32/canfestival.h@{/home/epimerde/documents/tc11/CanFestival-3/include/win32/canfestival.h}} nico@207: } nico@207: {\tt \#include \char`\"{}timerscfg.h\char`\"{}}\par nico@207: {\tt \#include \char`\"{}can\_\-driver.h\char`\"{}}\par nico@207: {\tt \#include \char`\"{}data.h\char`\"{}}\par nico@207: {\tt \#include $<$windows.h$>$}\par nico@207: \subsection*{Typedefs} nico@207: \begin{CompactItemize} nico@207: \item nico@207: typedef HINSTANCE \hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} nico@207: \end{CompactItemize} nico@207: \subsection*{Functions} nico@207: \begin{CompactItemize} nico@207: \item nico@207: UNS8 \hyperlink{win32_2canfestival_8h_cb4f394ec0e040c5962d3dc1957505fb}{Un\-Load\-Can\-Driver} (\hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} handle) nico@207: \item nico@207: \hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} \hyperlink{win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5}{Load\-Can\-Driver} (char $\ast$driver\_\-name) nico@207: \item nico@207: UNS8 \hyperlink{win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6}{can\-Send} (\hyperlink{win32_2applicfg_8h_7ef59f941603c6680e74fc335523f17e}{CAN\_\-PORT} port, \hyperlink{structMessage}{Message} $\ast$m) nico@207: \item nico@207: \hyperlink{win32_2applicfg_8h_7ef59f941603c6680e74fc335523f17e}{CAN\_\-PORT} \hyperlink{win32_2canfestival_8h_7476146ad15948a22e7f80a00c89c40a}{can\-Open} (\hyperlink{structstruct__s__BOARD}{s\_\-BOARD} $\ast$board, \hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d) nico@207: \item nico@207: int \hyperlink{win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b}{can\-Close} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d) nico@207: \end{CompactItemize} nico@207: nico@207: nico@207: \subsection{Typedef Documentation} nico@207: \hypertarget{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{ nico@207: \index{win32/canfestival.h@{win32/canfestival.h}!LIB_HANDLE@{LIB\_\-HANDLE}} nico@207: \index{LIB_HANDLE@{LIB\_\-HANDLE}!win32/canfestival.h@{win32/canfestival.h}} nico@207: \subsubsection[LIB\_\-HANDLE]{\setlength{\rightskip}{0pt plus 5cm}typedef HINSTANCE \hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE}}} nico@207: \label{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 31 of file canfestival.h. nico@207: nico@207: \subsection{Function Documentation} nico@207: \hypertarget{win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b}{ nico@207: \index{win32/canfestival.h@{win32/canfestival.h}!canClose@{canClose}} nico@207: \index{canClose@{canClose}!win32/canfestival.h@{win32/canfestival.h}} nico@207: \subsubsection[canClose]{\setlength{\rightskip}{0pt plus 5cm}int can\-Close (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d})}} nico@207: \label{win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 178 of file unix.c. nico@207: nico@207: References can\-Close(), struct\_\-CO\_\-Data::can\-Handle, driver\_\-data::continue\_\-receive\_\-thread, DLL\_\-CALL, Enter\-Mutex(), CANPort::fd, driver\_\-data::inst, Leave\-Mutex(), driver\_\-procs::m\_\-can\-Close, driver\_\-data::receive\_\-thread, CANPort::receive\-Task, s\_\-driver\_\-procs, and Wait\-Receive\-Task\-End().\hypertarget{win32_2canfestival_8h_7476146ad15948a22e7f80a00c89c40a}{ nico@207: \index{win32/canfestival.h@{win32/canfestival.h}!canOpen@{canOpen}} nico@207: \index{canOpen@{canOpen}!win32/canfestival.h@{win32/canfestival.h}} nico@207: \subsubsection[canOpen]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{win32_2applicfg_8h_7ef59f941603c6680e74fc335523f17e}{CAN\_\-PORT} can\-Open (\hyperlink{structstruct__s__BOARD}{s\_\-BOARD} $\ast$ {\em board}, \hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d})}} nico@207: \label{win32_2canfestival_8h_7476146ad15948a22e7f80a00c89c40a} 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::can\-Handle, can\-Open(), canports, can\-Receive\-Loop(), driver\_\-data::continue\_\-receive\_\-thread, Create\-Receive\-Task(), driver\_\-data::d, CANPort::d, DLL\_\-CALL, Enter\-Mutex(), CANPort::fd, driver\_\-data::inst, Leave\-Mutex(), driver\_\-procs::m\_\-can\-Open, MAX\_\-NB\_\-CAN\_\-PORTS, driver\_\-data::receive\_\-thread, s\_\-driver\_\-procs, and CANPort::used.\hypertarget{win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6}{ nico@207: \index{win32/canfestival.h@{win32/canfestival.h}!canSend@{canSend}} nico@207: \index{canSend@{canSend}!win32/canfestival.h@{win32/canfestival.h}} nico@207: \subsubsection[canSend]{\setlength{\rightskip}{0pt plus 5cm}UNS8 can\-Send (\hyperlink{win32_2applicfg_8h_7ef59f941603c6680e74fc335523f17e}{CAN\_\-PORT} {\em port}, \hyperlink{structMessage}{Message} $\ast$ {\em m})}} nico@207: \label{win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 120 of file unix.c. nico@207: nico@207: References can\-Send(), DLL\_\-CALL, Enter\-Mutex(), driver\_\-data::inst, Leave\-Mutex(), driver\_\-procs::m\_\-can\-Send, s\_\-driver\_\-procs, and UNS8.\hypertarget{win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5}{ nico@207: \index{win32/canfestival.h@{win32/canfestival.h}!LoadCanDriver@{LoadCanDriver}} nico@207: \index{LoadCanDriver@{LoadCanDriver}!win32/canfestival.h@{win32/canfestival.h}} nico@207: \subsubsection[LoadCanDriver]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} Load\-Can\-Driver (char $\ast$ {\em driver\_\-name})}} nico@207: \label{win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 84 of file unix.c. nico@207: nico@207: References can\-Close(), can\-Open(), can\-Receive(), can\-Send(), DLSYM, driver\_\-procs::load\_\-canfestival\_\-driver(), and s\_\-driver\_\-procs.\hypertarget{win32_2canfestival_8h_cb4f394ec0e040c5962d3dc1957505fb}{ nico@207: \index{win32/canfestival.h@{win32/canfestival.h}!UnLoadCanDriver@{UnLoadCanDriver}} nico@207: \index{UnLoadCanDriver@{UnLoadCanDriver}!win32/canfestival.h@{win32/canfestival.h}} nico@207: \subsubsection[UnLoadCanDriver]{\setlength{\rightskip}{0pt plus 5cm}UNS8 Un\-Load\-Can\-Driver (\hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} {\em handle})}} nico@207: \label{win32_2canfestival_8h_cb4f394ec0e040c5962d3dc1957505fb} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 71 of file unix.c.