|
1 \hypertarget{canOpenDriver_8h}{ |
|
2 \section{/home/epimerde/documents/tc11/Can\-Festival-3/include/hcs12/can\-Open\-Driver.h File Reference} |
|
3 \label{canOpenDriver_8h}\index{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h@{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/canOpenDriver.h}} |
|
4 } |
|
5 \subsection*{Functions} |
|
6 \begin{CompactItemize} |
|
7 \item |
|
8 void \hyperlink{canOpenDriver_8h_02922529b60419a94afe8f369dda070b}{init\-Timer} (void) |
|
9 \item |
|
10 void \hyperlink{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8}{reset\-Timer} (void) |
|
11 \item |
|
12 void \hyperlink{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe}{Timer\-Loop} (void) |
|
13 \item |
|
14 UNS8 \hyperlink{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7}{f\_\-can\_\-receive} (UNS8 notused, \hyperlink{structMessage}{Message} $\ast$m) |
|
15 \end{CompactItemize} |
|
16 |
|
17 |
|
18 \subsection{Function Documentation} |
|
19 \hypertarget{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7}{ |
|
20 \index{canOpenDriver.h@{can\-Open\-Driver.h}!f_can_receive@{f\_\-can\_\-receive}} |
|
21 \index{f_can_receive@{f\_\-can\_\-receive}!canOpenDriver.h@{can\-Open\-Driver.h}} |
|
22 \subsubsection[f\_\-can\_\-receive]{\setlength{\rightskip}{0pt plus 5cm}UNS8 f\_\-can\_\-receive (UNS8 {\em notused}, \hyperlink{structMessage}{Message} $\ast$ {\em m})}} |
|
23 \label{canOpenDriver_8h_0bf58f014d47581c9ffd1b2db9a858d7} |
|
24 |
|
25 |
|
26 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}{ |
|
27 \index{canOpenDriver.h@{can\-Open\-Driver.h}!initTimer@{initTimer}} |
|
28 \index{initTimer@{initTimer}!canOpenDriver.h@{can\-Open\-Driver.h}} |
|
29 \subsubsection[initTimer]{\setlength{\rightskip}{0pt plus 5cm}void init\-Timer (void)}} |
|
30 \label{canOpenDriver_8h_02922529b60419a94afe8f369dda070b} |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 Definition at line 79 of file can\-Open\-Driver.c. |
|
36 |
|
37 References IO\_\-PORTS\_\-8, last\_\-sig, lock(), TCTL1, TIE, timer, timer\_\-notify(), TIOS, TSCR1, TSCR2, and unlock().\hypertarget{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8}{ |
|
38 \index{canOpenDriver.h@{can\-Open\-Driver.h}!resetTimer@{resetTimer}} |
|
39 \index{resetTimer@{resetTimer}!canOpenDriver.h@{can\-Open\-Driver.h}} |
|
40 \subsubsection[resetTimer]{\setlength{\rightskip}{0pt plus 5cm}void reset\-Timer (void)}} |
|
41 \label{canOpenDriver_8h_339b24f4eee897d3c45d88de9a4901e8} |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 Definition at line 73 of file can\-Open\-Driver.c.\hypertarget{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe}{ |
|
47 \index{canOpenDriver.h@{can\-Open\-Driver.h}!TimerLoop@{TimerLoop}} |
|
48 \index{TimerLoop@{TimerLoop}!canOpenDriver.h@{can\-Open\-Driver.h}} |
|
49 \subsubsection[TimerLoop]{\setlength{\rightskip}{0pt plus 5cm}void Timer\-Loop (void)}} |
|
50 \label{canOpenDriver_8h_a62e79c9fd21304aef6aed4a2732bfbe} |
|
51 |
|
52 |