[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/pxa27x/i2c HplPXA27xI2C.nc, 1.1.2.2, 1.1.2.3 HplPXA27xI2CP.nc, 1.1.2.3, 1.1.2.4

Philip Buonadonna philipb at users.sourceforge.net
Fri Jun 23 15:32:45 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/pxa27x/i2c
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv3750

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	HplPXA27xI2C.nc HplPXA27xI2CP.nc 
Log Message:
Added back setISR route. pxa27x devel docs are WRONG\!

Index: HplPXA27xI2C.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/pxa27x/i2c/Attic/HplPXA27xI2C.nc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** HplPXA27xI2C.nc	16 Jun 2006 18:57:05 -0000	1.1.2.2
--- HplPXA27xI2C.nc	23 Jun 2006 22:32:43 -0000	1.1.2.3
***************
*** 46,49 ****
--- 46,50 ----
    async command uint32_t getICR();
  
+  async command void setISR(uint32_t val);
    async command uint32_t getISR();
    

Index: HplPXA27xI2CP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/pxa27x/i2c/Attic/HplPXA27xI2CP.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** HplPXA27xI2CP.nc	16 Jun 2006 18:57:05 -0000	1.1.2.3
--- HplPXA27xI2CP.nc	23 Jun 2006 22:32:43 -0000	1.1.2.4
***************
*** 121,124 ****
--- 121,132 ----
    }
  
+  async command uint32_t I2C.setISR(uint32_t val) { 
+     switch(dev) {
+     case 0: return ISR = val; break;
+     case 1: return PISR = val; break;
+     default: return 0;
+     }
+   }
+ 
   async command uint32_t I2C.getISR() { 
      switch(dev) {



More information about the Tinyos-2-commits mailing list