[Tinyos-2-commits] CVS: tinyos-2.x/tos/types I2CFlags.h, 1.1.2.1, 1.1.2.2

Philip Buonadonna philipb at users.sourceforge.net
Thu Jun 1 18:04:48 PDT 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	I2CFlags.h 
Log Message:
- Added type to interface to determine address size.
- Remove 10BIT_ADDR flag.
- Modified names of other flags.


Index: I2CFlags.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/types/Attic/I2CFlags.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** I2CFlags.h	26 May 2006 00:39:56 -0000	1.1.2.1
--- I2CFlags.h	2 Jun 2006 01:04:44 -0000	1.1.2.2
***************
*** 37,45 ****
  #define _I2C_FLAGS_H
  
  enum {
!   START_FLAGS = 0x01
!   STOP_FLAG = 0x02,
!   ACK_END_FLAG = 0x04,
!   ADDR10_FLAG = 0x80,
  } i2c_flags_t;
  
--- 37,48 ----
  #define _I2C_FLAGS_H
  
+ typedef struct { } TI2CExtdAddr;
+ typedef struct { } TI2CBasicAddr;
+ 
  enum {
!   I2C_START = 0x01
!   I2C_STOP = 0x02,
!   I2C_ACK_END = 0x04,
!   I2C_10BITADDR = 0x80,
  } i2c_flags_t;
  



More information about the Tinyos-2-commits mailing list