doc/manual/en/html/node19.html
author nico
Tue, 05 Jun 2007 18:43:21 +0200
changeset 210 6b5a4c21e061
child 211 2a4c2ca03555
permissions -rw-r--r--
Manual and Documentation finish
210
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     2
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     3
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     4
original version by:  Nikos Drakos, CBLU, University of Leeds
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     5
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     6
* with significant contributions from:
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     8
<HTML>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     9
<HEAD>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    10
<TITLE>CanFestival CAN interfaces</TITLE>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    11
<META NAME="description" CONTENT="CanFestival CAN interfaces">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    12
<META NAME="keywords" CONTENT="manual">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    13
<META NAME="resource-type" CONTENT="document">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    14
<META NAME="distribution" CONTENT="global">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    15
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    16
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    18
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    19
<LINK REL="STYLESHEET" HREF="manual.css">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    20
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    21
<LINK REL="next" HREF="node20.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    22
<LINK REL="previous" HREF="node18.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    23
<LINK REL="up" HREF="node16.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    24
<LINK REL="next" HREF="node20.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    25
</HEAD>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    26
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    27
<BODY >
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    28
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    29
<DIV CLASS="navigation"><!--Navigation Panel-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    30
<A NAME="tex2html384"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    31
  HREF="node20.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    33
 SRC="/usr/share/latex2html/icons/next.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    34
<A NAME="tex2html380"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    35
  HREF="node16.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    37
 SRC="/usr/share/latex2html/icons/up.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    38
<A NAME="tex2html374"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    39
  HREF="node18.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    41
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    42
<A NAME="tex2html382"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    43
  HREF="node1.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    45
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    46
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    47
<B> Next:</B> <A NAME="tex2html385"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    48
  HREF="node20.html">CanFestival events scheduling</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    49
<B> Up:</B> <A NAME="tex2html381"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    50
  HREF="node16.html">Understanding Canfestival</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    51
<B> Previous:</B> <A NAME="tex2html375"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    52
  HREF="node18.html">Implement CanFestival in your</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    53
 &nbsp; <B>  <A NAME="tex2html383"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    54
  HREF="node1.html">Contents</A></B> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    55
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    56
<BR></DIV>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    57
<!--End of Navigation Panel-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    58
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    59
<H2><A NAME="SECTION00053000000000000000">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    60
CanFestival CAN interfaces</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    61
</H2>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    62
Because most CAN controllers and drivers implement FIFOs, CanFestival
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    63
consider sending message as a non bloking operation.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    64
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    65
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    66
In order to prevent reentrent calls to the stack, messages reception is
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    67
implemented differently on &#181;C and OS.:
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    68
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    69
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    70
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    71
<OL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    72
<LI>&#181;C must provide interuption masking for timer and can
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    73
receive IT
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    74
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    75
 <DIV ALIGN="CENTER">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    76
<IMG
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    77
  WIDTH="788" HEIGHT="291" ALIGN="BOTTOM" BORDER="0"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    78
 SRC="./10000201000003CA0000016604E6A5EF.png"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    79
 ALT="Image 10000201000003CA0000016604E6A5EF">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    80
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    81
</DIV>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    82
</LI>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    83
<LI>OS must provide a receive thread, a timer thread and a mutex. CAN
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    84
reception is a bloking operation.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    85
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    86
<DIV ALIGN="CENTER">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    87
<IMG
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    88
  WIDTH="788" HEIGHT="557" ALIGN="BOTTOM" BORDER="0"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    89
 SRC="./10000201000003F9000002CF8B0CDAEA.png"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    90
 ALT="Image 10000201000003F9000002CF8B0CDAEA">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    91
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    92
</DIV>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    93
</LI>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    94
</OL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    95
<BR><HR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    96
<ADDRESS>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    97
epimerde
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    98
2007-06-05
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    99
</ADDRESS>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   100
</BODY>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   101
</HTML>