nico@207: \hypertarget{canOpenDriver_8h}{ nico@207: \section{/home/epimerde/documents/tc11/Can\-Festival-3/include/hcs12/can\-Open\-Driver.h File Reference} nico@207: \label{canOpenDriver_8h}\index{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h@{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h}} nico@207: } nico@207: \subsection*{Functions} nico@207: \begin{CompactItemize} nico@207: \item nico@207: void \hyperlink{canOpenDriver_8h_02922529b60419a94afe8f369dda070b}{init\-Timer} (void) nico@207: \item nico@207: void \hyperlink{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8}{reset\-Timer} (void) nico@207: \item nico@207: void \hyperlink{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe}{Timer\-Loop} (void) nico@207: \item nico@207: UNS8 \hyperlink{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7}{f\_\-can\_\-receive} (UNS8 notused, \hyperlink{structMessage}{Message} $\ast$m) nico@207: \end{CompactItemize} nico@207: nico@207: nico@207: \subsection{Function Documentation} nico@207: \hypertarget{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7}{ nico@207: \index{canOpenDriver.h@{can\-Open\-Driver.h}!f_can_receive@{f\_\-can\_\-receive}} nico@207: \index{f_can_receive@{f\_\-can\_\-receive}!canOpenDriver.h@{can\-Open\-Driver.h}} nico@207: \subsubsection[f\_\-can\_\-receive]{\setlength{\rightskip}{0pt plus 5cm}UNS8 f\_\-can\_\-receive (UNS8 {\em notused}, \hyperlink{structMessage}{Message} $\ast$ {\em m})}} nico@207: \label{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7} nico@207: nico@207: nico@207: 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}{ nico@207: \index{canOpenDriver.h@{can\-Open\-Driver.h}!initTimer@{initTimer}} nico@207: \index{initTimer@{initTimer}!canOpenDriver.h@{can\-Open\-Driver.h}} nico@207: \subsubsection[initTimer]{\setlength{\rightskip}{0pt plus 5cm}void init\-Timer (void)}} nico@207: \label{canOpenDriver_8h_02922529b60419a94afe8f369dda070b} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 79 of file can\-Open\-Driver.c. nico@207: nico@207: References IO\_\-PORTS\_\-8, last\_\-sig, lock(), TCTL1, TIE, timer, timer\_\-notify(), TIOS, TSCR1, TSCR2, and unlock().\hypertarget{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8}{ nico@207: \index{canOpenDriver.h@{can\-Open\-Driver.h}!resetTimer@{resetTimer}} nico@207: \index{resetTimer@{resetTimer}!canOpenDriver.h@{can\-Open\-Driver.h}} nico@207: \subsubsection[resetTimer]{\setlength{\rightskip}{0pt plus 5cm}void reset\-Timer (void)}} nico@207: \label{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8} nico@207: nico@207: nico@207: nico@207: nico@207: Definition at line 73 of file can\-Open\-Driver.c.\hypertarget{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe}{ nico@207: \index{canOpenDriver.h@{can\-Open\-Driver.h}!TimerLoop@{TimerLoop}} nico@207: \index{TimerLoop@{TimerLoop}!canOpenDriver.h@{can\-Open\-Driver.h}} nico@207: \subsubsection[TimerLoop]{\setlength{\rightskip}{0pt plus 5cm}void Timer\-Loop (void)}} nico@207: \label{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe} nico@207: nico@207: