207
|
1 |
\hypertarget{can__lincan_8c}{
|
|
2 |
\section{/home/epimerde/documents/tc11/Can\-Festival-3/drivers/can\_\-lincan/can\_\-lincan.c File Reference}
|
|
3 |
\label{can__lincan_8c}\index{/home/epimerde/documents/tc11/CanFestival-3/drivers/can_lincan/can_lincan.c@{/home/epimerde/documents/tc11/CanFestival-3/drivers/can\_\-lincan/can\_\-lincan.c}}
|
|
4 |
}
|
|
5 |
{\tt \#include $<$stdio.h$>$}\par
|
|
6 |
{\tt \#include $<$string.h$>$}\par
|
|
7 |
{\tt \#include $<$errno.h$>$}\par
|
|
8 |
{\tt \#include $<$fcntl.h$>$}\par
|
|
9 |
{\tt \#include \char`\"{}canmsg.h\char`\"{}}\par
|
|
10 |
{\tt \#include \char`\"{}lincan.h\char`\"{}}\par
|
|
11 |
{\tt \#include \char`\"{}can\_\-driver.h\char`\"{}}\par
|
|
12 |
\subsection*{Functions}
|
|
13 |
\begin{CompactItemize}
|
|
14 |
\item
|
|
15 |
UNS8 \hyperlink{can__lincan_8c_6b3248e95acf2b08d1fd8b42610cc5a6}{can\-Receive\_\-driver} (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} fd0, \hyperlink{structMessage}{Message} $\ast$m)
|
|
16 |
\item
|
|
17 |
UNS8 \hyperlink{can__lincan_8c_def95aee49efa13dd047d0b3b5507ad3}{can\-Send\_\-driver} (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} fd0, \hyperlink{structMessage}{Message} $\ast$m)
|
|
18 |
\item
|
|
19 |
\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} \hyperlink{can__lincan_8c_945403aba7f36acbd2e7160ade361bab}{can\-Open\_\-driver} (\hyperlink{structstruct__s__BOARD}{s\_\-BOARD} $\ast$board)
|
|
20 |
\item
|
|
21 |
int \hyperlink{can__lincan_8c_76e6a915d0e40a23b863198b2aaa5545}{can\-Close\_\-driver} (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} fd0)
|
|
22 |
\end{CompactItemize}
|
|
23 |
|
|
24 |
|
|
25 |
\subsection{Function Documentation}
|
|
26 |
\hypertarget{can__lincan_8c_76e6a915d0e40a23b863198b2aaa5545}{
|
|
27 |
\index{can_lincan.c@{can\_\-lincan.c}!canClose_driver@{canClose\_\-driver}}
|
|
28 |
\index{canClose_driver@{canClose\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
|
|
29 |
\subsubsection[canClose\_\-driver]{\setlength{\rightskip}{0pt plus 5cm}int can\-Close\_\-driver (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} {\em fd0})}}
|
|
30 |
\label{can__lincan_8c_76e6a915d0e40a23b863198b2aaa5545}
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
Definition at line 127 of file can\_\-lincan.c.\hypertarget{can__lincan_8c_945403aba7f36acbd2e7160ade361bab}{
|
|
36 |
\index{can_lincan.c@{can\_\-lincan.c}!canOpen_driver@{canOpen\_\-driver}}
|
|
37 |
\index{canOpen_driver@{canOpen\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
|
|
38 |
\subsubsection[canOpen\_\-driver]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} can\-Open\_\-driver (\hyperlink{structstruct__s__BOARD}{s\_\-BOARD} $\ast$ {\em board})}}
|
|
39 |
\label{can__lincan_8c_945403aba7f36acbd2e7160ade361bab}
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
Definition at line 95 of file can\_\-lincan.c.
|
|
45 |
|
|
46 |
References struct\_\-s\_\-BOARD::busname.\hypertarget{can__lincan_8c_6b3248e95acf2b08d1fd8b42610cc5a6}{
|
|
47 |
\index{can_lincan.c@{can\_\-lincan.c}!canReceive_driver@{canReceive\_\-driver}}
|
|
48 |
\index{canReceive_driver@{canReceive\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
|
|
49 |
\subsubsection[canReceive\_\-driver]{\setlength{\rightskip}{0pt plus 5cm}UNS8 can\-Receive\_\-driver (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} {\em fd0}, \hyperlink{structMessage}{Message} $\ast$ {\em m})}}
|
|
50 |
\label{can__lincan_8c_6b3248e95acf2b08d1fd8b42610cc5a6}
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
Definition at line 34 of file can\_\-lincan.c.
|
|
56 |
|
|
57 |
References Message::cob\_\-id, canmsg\_\-t::data, Message::data, canmsg\_\-t::flags, canmsg\_\-t::id, Message::len, canmsg\_\-t::length, MSG\_\-EXT, MSG\_\-RTR, Message::rtr, and SHORT\_\-CAN::w.\hypertarget{can__lincan_8c_def95aee49efa13dd047d0b3b5507ad3}{
|
|
58 |
\index{can_lincan.c@{can\_\-lincan.c}!canSend_driver@{canSend\_\-driver}}
|
|
59 |
\index{canSend_driver@{canSend\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
|
|
60 |
\subsubsection[canSend\_\-driver]{\setlength{\rightskip}{0pt plus 5cm}UNS8 can\-Send\_\-driver (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} {\em fd0}, \hyperlink{structMessage}{Message} $\ast$ {\em m})}}
|
|
61 |
\label{can__lincan_8c_def95aee49efa13dd047d0b3b5507ad3}
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
Definition at line 66 of file can\_\-lincan.c.
|
|
67 |
|
|
68 |
References Message::cob\_\-id, Message::data, canmsg\_\-t::data, canmsg\_\-t::flags, canmsg\_\-t::id, Message::len, canmsg\_\-t::length, MSG\_\-EXT, MSG\_\-RTR, Message::rtr, and SHORT\_\-CAN::w. |