[Tinyos-2-commits] CVS: tinyos-2.x/doc/html tep108.html, 1.1.2.10, 1.1.2.11

Kevin Klues klueska at users.sourceforge.net
Thu Sep 7 06:07:03 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/doc/html
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23547

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	tep108.html 
Log Message:
Update of tep 108

Index: tep108.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/html/tep108.html,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -C2 -d -r1.1.2.10 -r1.1.2.11
*** tep108.html	27 Jun 2006 20:23:04 -0000	1.1.2.10
--- tep108.html	7 Sep 2006 13:07:01 -0000	1.1.2.11
***************
*** 4,8 ****
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
! <meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
  <title>Resource Arbitration</title>
  <meta name="authors" content="Kevin Klues  Philip Levis  David Gay  David Culler  Vlado Handziski" />
--- 4,8 ----
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
! <meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
  <title>Resource Arbitration</title>
[...1609 lines suppressed...]
+    components new Msp430Usart0C() as UsartC;
+    I2CP.ResourceConfigure[ CLIENT_ID ] &lt;- UsartC.ResourceConfigure;
+    I2CP.UsartResource[ CLIENT_ID ] -&gt; UsartC.Resource;
+    I2CP.I2CInterrupts -&gt; UsartC.HplMsp430UsartInterrupts;
+    ...
+ }
+ </pre>
+ <p>The implementation of the ResourceConfigure interface is
+ provided by both the Msp430SpiNoDma0P and the Msp430I2C0P.  In the
+ two different components, the same Msp430Usart0C component is used,
+ but wired to the proper implementation of the ResourceConfigure
+ interface. In this way, different instances of the Msp430Usart0C
+ can each have different configurations associated with them, but
+ still provide the same functionality.</p>
+ <p>Take a look in the tinyos-2.x source tree under
+ tinyos-2.x/tos/chips/msp430/usart to see the full implementation of
+ these components along with the corresponding Uart implementation.</p>
+ </div>
  </div>
  </div>



More information about the Tinyos-2-commits mailing list