\hypertarget{can__lincan_8c}{
\section{/home/epimerde/documents/tc11/Can\-Festival-3/drivers/can\_\-lincan/can\_\-lincan.c File Reference}
\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}}
}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$errno.h$>$}\par
{\tt \#include $<$fcntl.h$>$}\par
{\tt \#include \char`\"{}canmsg.h\char`\"{}}\par
{\tt \#include \char`\"{}lincan.h\char`\"{}}\par
{\tt \#include \char`\"{}can\_\-driver.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item
UNS8 \hyperlink{can__lincan_8c_6b3248e95acf2b08d1fd8b42610cc5a6}{can\-Receive\_\-driver} (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} fd0, \hyperlink{structMessage}{Message} $\ast$m)
\item
UNS8 \hyperlink{can__lincan_8c_def95aee49efa13dd047d0b3b5507ad3}{can\-Send\_\-driver} (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} fd0, \hyperlink{structMessage}{Message} $\ast$m)
\item
\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} \hyperlink{can__lincan_8c_945403aba7f36acbd2e7160ade361bab}{can\-Open\_\-driver} (\hyperlink{structstruct__s__BOARD}{s\_\-BOARD} $\ast$board)
\item
int \hyperlink{can__lincan_8c_76e6a915d0e40a23b863198b2aaa5545}{can\-Close\_\-driver} (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} fd0)
\end{CompactItemize}
\subsection{Function Documentation}
\hypertarget{can__lincan_8c_76e6a915d0e40a23b863198b2aaa5545}{
\index{can_lincan.c@{can\_\-lincan.c}!canClose_driver@{canClose\_\-driver}}
\index{canClose_driver@{canClose\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
\subsubsection[canClose\_\-driver]{\setlength{\rightskip}{0pt plus 5cm}int can\-Close\_\-driver (\hyperlink{win32_2applicfg_8h_712c7b28987b12b8d400df19c92d0f5e}{CAN\_\-HANDLE} {\em fd0})}}
\label{can__lincan_8c_76e6a915d0e40a23b863198b2aaa5545}
Definition at line 127 of file can\_\-lincan.c.\hypertarget{can__lincan_8c_945403aba7f36acbd2e7160ade361bab}{
\index{can_lincan.c@{can\_\-lincan.c}!canOpen_driver@{canOpen\_\-driver}}
\index{canOpen_driver@{canOpen\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
\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})}}
\label{can__lincan_8c_945403aba7f36acbd2e7160ade361bab}
Definition at line 95 of file can\_\-lincan.c.
References struct\_\-s\_\-BOARD::busname.\hypertarget{can__lincan_8c_6b3248e95acf2b08d1fd8b42610cc5a6}{
\index{can_lincan.c@{can\_\-lincan.c}!canReceive_driver@{canReceive\_\-driver}}
\index{canReceive_driver@{canReceive\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
\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})}}
\label{can__lincan_8c_6b3248e95acf2b08d1fd8b42610cc5a6}
Definition at line 34 of file can\_\-lincan.c.
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}{
\index{can_lincan.c@{can\_\-lincan.c}!canSend_driver@{canSend\_\-driver}}
\index{canSend_driver@{canSend\_\-driver}!can_lincan.c@{can\_\-lincan.c}}
\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})}}
\label{can__lincan_8c_def95aee49efa13dd047d0b3b5507ad3}
Definition at line 66 of file can\_\-lincan.c.
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.