[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/pins HplMsp430GeneralIOP.nc, 1.4, 1.5

John Regehr regehr at users.sourceforge.net
Sat May 31 13:21:16 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/pins
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19806

Modified Files:
	HplMsp430GeneralIOP.nc 
Log Message:
switch to new annotation syntax

Index: HplMsp430GeneralIOP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/pins/HplMsp430GeneralIOP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** HplMsp430GeneralIOP.nc	16 Feb 2008 20:03:51 -0000	1.4
--- HplMsp430GeneralIOP.nc	31 May 2008 20:21:14 -0000	1.5
***************
*** 38,45 ****
  implementation
  {
!   #define PORTxIN (*TCAST(volatile TYPE_PORT_IN* SINGLE NONNULL, port_in_addr))
!   #define PORTx (*TCAST(volatile TYPE_PORT_OUT* SINGLE NONNULL, port_out_addr))
!   #define PORTxDIR (*TCAST(volatile TYPE_PORT_DIR* SINGLE NONNULL, port_dir_addr))
!   #define PORTxSEL (*TCAST(volatile TYPE_PORT_SEL* SINGLE NONNULL, port_sel_addr))
  
    async command void IO.set() { atomic PORTx |= (0x01 << pin); }
--- 38,45 ----
  implementation
  {
!   #define PORTxIN (*TCAST(volatile TYPE_PORT_IN* ONE, port_in_addr))
!   #define PORTx (*TCAST(volatile TYPE_PORT_OUT* ONE, port_out_addr))
!   #define PORTxDIR (*TCAST(volatile TYPE_PORT_DIR* ONE, port_dir_addr))
!   #define PORTxSEL (*TCAST(volatile TYPE_PORT_SEL* ONE, port_sel_addr))
  
    async command void IO.set() { atomic PORTx |= (0x01 << pin); }



More information about the Tinyos-2-commits mailing list