207
|
1 |
\hypertarget{win32_2canfestival_8h}{
|
|
2 |
\section{/home/epimerde/documents/tc11/Can\-Festival-3/include/win32/canfestival.h File Reference}
|
|
3 |
\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}}
|
|
4 |
}
|
|
5 |
{\tt \#include \char`\"{}timerscfg.h\char`\"{}}\par
|
|
6 |
{\tt \#include \char`\"{}can\_\-driver.h\char`\"{}}\par
|
|
7 |
{\tt \#include \char`\"{}data.h\char`\"{}}\par
|
|
8 |
{\tt \#include $<$windows.h$>$}\par
|
|
9 |
\subsection*{Typedefs}
|
|
10 |
\begin{CompactItemize}
|
|
11 |
\item
|
|
12 |
typedef HINSTANCE \hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE}
|
|
13 |
\end{CompactItemize}
|
|
14 |
\subsection*{Functions}
|
|
15 |
\begin{CompactItemize}
|
|
16 |
\item
|
|
17 |
UNS8 \hyperlink{win32_2canfestival_8h_cb4f394ec0e040c5962d3dc1957505fb}{Un\-Load\-Can\-Driver} (\hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} handle)
|
|
18 |
\item
|
|
19 |
\hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} \hyperlink{win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5}{Load\-Can\-Driver} (char $\ast$driver\_\-name)
|
|
20 |
\item
|
|
21 |
UNS8 \hyperlink{win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6}{can\-Send} (\hyperlink{win32_2applicfg_8h_7ef59f941603c6680e74fc335523f17e}{CAN\_\-PORT} port, \hyperlink{structMessage}{Message} $\ast$m)
|
|
22 |
\item
|
|
23 |
\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)
|
|
24 |
\item
|
|
25 |
int \hyperlink{win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b}{can\-Close} (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$d)
|
|
26 |
\end{CompactItemize}
|
|
27 |
|
|
28 |
|
|
29 |
\subsection{Typedef Documentation}
|
|
30 |
\hypertarget{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{
|
|
31 |
\index{win32/canfestival.h@{win32/canfestival.h}!LIB_HANDLE@{LIB\_\-HANDLE}}
|
|
32 |
\index{LIB_HANDLE@{LIB\_\-HANDLE}!win32/canfestival.h@{win32/canfestival.h}}
|
|
33 |
\subsubsection[LIB\_\-HANDLE]{\setlength{\rightskip}{0pt plus 5cm}typedef HINSTANCE \hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE}}}
|
|
34 |
\label{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
Definition at line 31 of file canfestival.h.
|
|
40 |
|
|
41 |
\subsection{Function Documentation}
|
|
42 |
\hypertarget{win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b}{
|
|
43 |
\index{win32/canfestival.h@{win32/canfestival.h}!canClose@{canClose}}
|
|
44 |
\index{canClose@{canClose}!win32/canfestival.h@{win32/canfestival.h}}
|
|
45 |
\subsubsection[canClose]{\setlength{\rightskip}{0pt plus 5cm}int can\-Close (\hyperlink{structstruct__CO__Data}{CO\_\-Data} $\ast$ {\em d})}}
|
|
46 |
\label{win32_2canfestival_8h_02957f72a9b951603adb98a142bd447b}
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
Definition at line 178 of file unix.c.
|
|
52 |
|
|
53 |
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}{
|
|
54 |
\index{win32/canfestival.h@{win32/canfestival.h}!canOpen@{canOpen}}
|
|
55 |
\index{canOpen@{canOpen}!win32/canfestival.h@{win32/canfestival.h}}
|
|
56 |
\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})}}
|
|
57 |
\label{win32_2canfestival_8h_7476146ad15948a22e7f80a00c89c40a}
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
Definition at line 145 of file unix.c.
|
|
63 |
|
|
64 |
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}{
|
|
65 |
\index{win32/canfestival.h@{win32/canfestival.h}!canSend@{canSend}}
|
|
66 |
\index{canSend@{canSend}!win32/canfestival.h@{win32/canfestival.h}}
|
|
67 |
\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})}}
|
|
68 |
\label{win32_2canfestival_8h_8d1909a09c50c750e4d8626595acd9f6}
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
Definition at line 120 of file unix.c.
|
|
74 |
|
|
75 |
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}{
|
|
76 |
\index{win32/canfestival.h@{win32/canfestival.h}!LoadCanDriver@{LoadCanDriver}}
|
|
77 |
\index{LoadCanDriver@{LoadCanDriver}!win32/canfestival.h@{win32/canfestival.h}}
|
|
78 |
\subsubsection[LoadCanDriver]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} Load\-Can\-Driver (char $\ast$ {\em driver\_\-name})}}
|
|
79 |
\label{win32_2canfestival_8h_a6eed61fc15f41f772d4645d7a5edeb5}
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
Definition at line 84 of file unix.c.
|
|
85 |
|
|
86 |
References can\-Close(), can\-Open(), can\-Receive(), can\-Send(), DLSYM, driver\_\-procs::load\_\-canfestival\_\-driver(), and s\_\-driver\_\-procs.\hypertarget{win32_2canfestival_8h_cb4f394ec0e040c5962d3dc1957505fb}{
|
|
87 |
\index{win32/canfestival.h@{win32/canfestival.h}!UnLoadCanDriver@{UnLoadCanDriver}}
|
|
88 |
\index{UnLoadCanDriver@{UnLoadCanDriver}!win32/canfestival.h@{win32/canfestival.h}}
|
|
89 |
\subsubsection[UnLoadCanDriver]{\setlength{\rightskip}{0pt plus 5cm}UNS8 Un\-Load\-Can\-Driver (\hyperlink{win32_2canfestival_8h_c4a0f44120dee396ab6bb57e23effaa8}{LIB\_\-HANDLE} {\em handle})}}
|
|
90 |
\label{win32_2canfestival_8h_cb4f394ec0e040c5962d3dc1957505fb}
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
Definition at line 71 of file unix.c. |