[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250 HplTda5250DataIOC.nc, 1.1.2.2, 1.1.2.3 HplTda5250DataIOP.nc, 1.1.2.2, 1.1.2.3

Philipp Huppertz phihup at users.sourceforge.net
Wed Oct 11 04:50:52 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23236/tos/platforms/eyesIFX/chips/tda5250

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	HplTda5250DataIOC.nc HplTda5250DataIOP.nc 
Log Message:
- updated to new Uart interfaces

Index: HplTda5250DataIOC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250/Attic/HplTda5250DataIOC.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
*** HplTda5250DataIOC.nc	15 Aug 2006 13:54:07 -0000	1.1.2.2
--- HplTda5250DataIOC.nc	11 Oct 2006 11:50:49 -0000	1.1.2.3
***************
*** 42,47 ****
  		interface Resource;
      interface ResourceRequested;
! 		interface SerialByteComm;
! 		interface HplTda5250DataControl;		
    }
  }
--- 42,47 ----
  		interface Resource;
      interface ResourceRequested;
! 		interface UartStream;
!     interface HplTda5250DataControl as UartDataControl;
    }
  }
***************
*** 54,61 ****
  	Resource = Msp430Uart0C.Resource;
    ResourceRequested = Msp430Uart0C.ResourceRequested;
! 	SerialByteComm = Msp430Uart0C.SerialByteComm;
! 	
! 	HplTda5250DataControl = HplTda5250DataIOP;
!   HplTda5250DataIOP.UartControl -> Msp430Uart0C.UartControl;
  	HplTda5250DataIOP.UartResourceConfigure <- Msp430Uart0C.Msp430UartConfigure;  
  }
--- 54,61 ----
  	Resource = Msp430Uart0C.Resource;
    ResourceRequested = Msp430Uart0C.ResourceRequested;
!   UartStream = Msp430Uart0C.UartStream;
!   UartDataControl = HplTda5250DataIOP.UartDataControl;
!   
!   HplTda5250DataIOP.Msp430UartControl -> Msp430Uart0C.UartControl;
  	HplTda5250DataIOP.UartResourceConfigure <- Msp430Uart0C.Msp430UartConfigure;  
  }

Index: HplTda5250DataIOP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250/Attic/HplTda5250DataIOP.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
*** HplTda5250DataIOP.nc	15 Aug 2006 13:54:07 -0000	1.1.2.2
--- HplTda5250DataIOP.nc	11 Oct 2006 11:50:50 -0000	1.1.2.3
***************
*** 42,50 ****
  module HplTda5250DataIOP {
    provides {
!     interface HplTda5250DataControl;
  		interface Msp430UartConfigure as UartResourceConfigure;
!   }
    uses {
!     interface Msp430UartControl as UartControl;
    }
  }
--- 42,50 ----
  module HplTda5250DataIOP {
    provides {
!     interface HplTda5250DataControl as UartDataControl;
  		interface Msp430UartConfigure as UartResourceConfigure;
!   } 
    uses {
!     interface  Msp430UartControl;
    }
  }
***************
*** 52,63 ****
  implementation {
    
!   async command error_t HplTda5250DataControl.setToTx() {
!     call UartControl.setModeTx();
      return SUCCESS;
    }
  
!   async command error_t HplTda5250DataControl.setToRx() {
!    call UartControl.setModeRx();
!    return SUCCESS;
    }
  	
--- 52,63 ----
  implementation {
    
!   async command error_t UartDataControl.setToTx() {
!     call Msp430UartControl.setModeTx();
      return SUCCESS;
    }
  
!   async command error_t UartDataControl.setToRx() {
!     call Msp430UartControl.setModeRx();
!     return SUCCESS;
    }
  	



More information about the Tinyos-2-commits mailing list