doc/manual/en/html/node19.html
author lbessard
Thu, 21 Jun 2007 17:03:33 +0200
changeset 222 cc20bc3d1287
parent 215 f49e5a6b7804
permissions -rw-r--r--
Mistake on a RPDO CobID corrected
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>CanFestival CAN interfaces</TITLE>
<META NAME="description" CONTENT="CanFestival CAN interfaces">
<META NAME="keywords" CONTENT="manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="manual.css">

<LINK REL="next" HREF="node20.html">
<LINK REL="previous" HREF="node18.html">
<LINK REL="up" HREF="node16.html">
<LINK REL="next" HREF="node20.html">
</HEAD>

<BODY >

<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html384"
  HREF="node20.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html380"
  HREF="node16.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html374"
  HREF="node18.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html382"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html385"
  HREF="node20.html">CanFestival events scheduling</A>
<B> Up:</B> <A NAME="tex2html381"
  HREF="node16.html">Understanding Canfestival</A>
<B> Previous:</B> <A NAME="tex2html375"
  HREF="node18.html">Implement CanFestival in your</A>
 &nbsp; <B>  <A NAME="tex2html383"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR></DIV>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION00053000000000000000">
CanFestival CAN interfaces</A>
</H2>
Because most CAN controllers and drivers implement FIFOs, CanFestival
consider sending message as a non bloking operation.

<P>
In order to prevent reentrent calls to the stack, messages reception is
implemented differently on &#181;C and OS.:

<P>

<OL>
<LI>&#181;C must provide interuption masking for timer and can
receive IT
<BR>
 <DIV ALIGN="CENTER">
<IMG
  WIDTH="630" HEIGHT="233" ALIGN="BOTTOM" BORDER="0"
 SRC="./10000201000003CA0000016604E6A5EF.png"
 ALT="Image 10000201000003CA0000016604E6A5EF">

</DIV>
</LI>
<LI>OS must provide a receive thread, a timer thread and a mutex. CAN
reception is a bloking operation.
<BR>
<DIV ALIGN="CENTER">
<IMG
  WIDTH="630" HEIGHT="446" ALIGN="BOTTOM" BORDER="0"
 SRC="./10000201000003F9000002CF8B0CDAEA.png"
 ALT="Image 10000201000003F9000002CF8B0CDAEA">

</DIV>
</LI>
</OL>
<BR><HR>
<ADDRESS>
epimerde
2007-06-08
</ADDRESS>
</BODY>
</HTML>