doc/doxygen/latex/canOpenDriver_8h.tex
author nico
Tue, 05 Jun 2007 18:43:21 +0200
changeset 210 6b5a4c21e061
parent 207 b6572d0336c3
permissions -rw-r--r--
Manual and Documentation finish
\hypertarget{canOpenDriver_8h}{
\section{/home/epimerde/documents/tc11/Can\-Festival-3/include/hcs12/can\-Open\-Driver.h File Reference}
\label{canOpenDriver_8h}\index{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h@{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h}}
}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void \hyperlink{canOpenDriver_8h_02922529b60419a94afe8f369dda070b}{init\-Timer} (void)
\item 
void \hyperlink{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8}{reset\-Timer} (void)
\item 
void \hyperlink{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe}{Timer\-Loop} (void)
\item 
UNS8 \hyperlink{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7}{f\_\-can\_\-receive} (UNS8 notused, \hyperlink{structMessage}{Message} $\ast$m)
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7}{
\index{canOpenDriver.h@{can\-Open\-Driver.h}!f_can_receive@{f\_\-can\_\-receive}}
\index{f_can_receive@{f\_\-can\_\-receive}!canOpenDriver.h@{can\-Open\-Driver.h}}
\subsubsection[f\_\-can\_\-receive]{\setlength{\rightskip}{0pt plus 5cm}UNS8 f\_\-can\_\-receive (UNS8 {\em notused}, \hyperlink{structMessage}{Message} $\ast$ {\em m})}}
\label{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7}


Returns 0 if no message received, 0x\-FF if the receiving stack is not empty. May be call in polling. You can also call can\-Dispatch(...) in void \_\-\_\-attribute\_\-\_\-((interrupt)) can0Hdl\-Rcv (void) (see include/hcs12/can\-Open\-Driver.c) \hypertarget{canOpenDriver_8h_02922529b60419a94afe8f369dda070b}{
\index{canOpenDriver.h@{can\-Open\-Driver.h}!initTimer@{initTimer}}
\index{initTimer@{initTimer}!canOpenDriver.h@{can\-Open\-Driver.h}}
\subsubsection[initTimer]{\setlength{\rightskip}{0pt plus 5cm}void init\-Timer (void)}}
\label{canOpenDriver_8h_02922529b60419a94afe8f369dda070b}




Definition at line 79 of file can\-Open\-Driver.c.

References IO\_\-PORTS\_\-8, last\_\-sig, lock(), TCTL1, TIE, timer, timer\_\-notify(), TIOS, TSCR1, TSCR2, and unlock().\hypertarget{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8}{
\index{canOpenDriver.h@{can\-Open\-Driver.h}!resetTimer@{resetTimer}}
\index{resetTimer@{resetTimer}!canOpenDriver.h@{can\-Open\-Driver.h}}
\subsubsection[resetTimer]{\setlength{\rightskip}{0pt plus 5cm}void reset\-Timer (void)}}
\label{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8}




Definition at line 73 of file can\-Open\-Driver.c.\hypertarget{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe}{
\index{canOpenDriver.h@{can\-Open\-Driver.h}!TimerLoop@{TimerLoop}}
\index{TimerLoop@{TimerLoop}!canOpenDriver.h@{can\-Open\-Driver.h}}
\subsubsection[TimerLoop]{\setlength{\rightskip}{0pt plus 5cm}void Timer\-Loop (void)}}
\label{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe}