[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/mica MicaBusC.nc, 1.4, 1.5

David Gay idgay at users.sourceforge.net
Thu Feb 8 09:53:22 PST 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5160/platforms/mica

Modified Files:
	MicaBusC.nc 
Log Message:
add more pins to MicaBusC


Index: MicaBusC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica/MicaBusC.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MicaBusC.nc	12 Dec 2006 18:23:42 -0000	1.4
--- MicaBusC.nc	8 Feb 2007 17:53:19 -0000	1.5
***************
*** 10,16 ****
   */
  /**
!  * A simplistic beginning to providing a standard interface to the mica-family
!  * 51-pin bus. Just provides the PW0-PW7 digital I/O pins and returns the
!  * ADC channel number for the ADC pins.
   * @author David Gay
   */
--- 10,16 ----
   */
  /**
!  * A simplistic beginning to providing a standard interface to the
!  * mica-family 51-pin bus. Just provides the PW0-PW7 and Int0-3 digital
!  * I/O pins and returns the ADC channel number for the ADC pins.
   * @author David Gay
   */
***************
*** 26,29 ****
--- 26,33 ----
      interface GeneralIO as PW6;
      interface GeneralIO as PW7;
+     interface GeneralIO as Int0;
+     interface GeneralIO as Int1;
+     interface GeneralIO as Int2;
+     interface GeneralIO as Int3;
  
      /* Separate interfaces to allow inlining to occur */
***************
*** 49,52 ****
--- 53,60 ----
    PW6 = Pins.PortC6;
    PW7 = Pins.PortC7;
+   Int0 = Pins.PortE4;
+   Int1 = Pins.PortE5;
+   Int2 = Pins.PortE6;
+   Int3 = Pins.PortE7;
  
    Adc0 = MicaBusP.Adc0;



More information about the Tinyos-2-commits mailing list