[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/iris/chips/rf230 HplRF230C.nc, 1.2, 1.3

Miklos Maroti mmaroti at users.sourceforge.net
Wed Mar 12 12:42:58 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/iris/chips/rf230
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26880/tos/platforms/iris/chips/rf230

Modified Files:
	HplRF230C.nc 
Log Message:
updated TimeSyncMessage implementation

Index: HplRF230C.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/iris/chips/rf230/HplRF230C.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** HplRF230C.nc	20 Feb 2008 01:07:04 -0000	1.2
--- HplRF230C.nc	12 Mar 2008 19:42:56 -0000	1.3
***************
*** 37,40 ****
--- 37,41 ----
  		interface GpioCapture as IRQ;
  		interface Alarm<TRF230, uint16_t> as Alarm;
+ 		interface LocalTime<TRF230>;
  
  		interface HplRF230;
***************
*** 71,73 ****
--- 72,82 ----
  	components RealMainP;
  	RealMainP.PlatformInit -> HplRF230P.PlatformInit;
+ 
+ 	components CounterOne16C;
+ 	components new TransformCounterC(TRF230, uint32_t, TRF230, uint16_t, 0, uint32_t);
+ 	components new CounterToLocalTimeC(TRF230);
+ 
+ 	LocalTime = CounterToLocalTimeC;
+ 	CounterToLocalTimeC.Counter -> TransformCounterC;
+ 	TransformCounterC.CounterFrom -> CounterOne16C;
  }



More information about the Tinyos-2-commits mailing list