[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/dma HplMsp430DmaC.nc, 1.4, 1.5 HplMsp430DmaP.nc, 1.4, 1.5

Kevin Klues klueska at users.sourceforge.net
Thu Apr 17 15:38:36 PDT 2008


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

Modified Files:
	HplMsp430DmaC.nc HplMsp430DmaP.nc 
Log Message:
Update to centralize inside one module where all interrupt handlers are signaled from

Index: HplMsp430DmaC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/dma/HplMsp430DmaC.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** HplMsp430DmaC.nc	12 Dec 2006 18:23:07 -0000	1.4
--- HplMsp430DmaC.nc	17 Apr 2008 22:38:34 -0000	1.5
***************
*** 86,89 ****
--- 86,92 ----
    Dma1.Interrupt -> HplMsp430DmaP;
    Dma2.Interrupt -> HplMsp430DmaP;
+   
+   components HplMsp430InterruptSigP;
+   HplMsp430DmaP.SIGNAL_DACDMA_VECTOR -> HplMsp430InterruptSigP.SIGNAL_DACDMA_VECTOR;
  
  }

Index: HplMsp430DmaP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/dma/HplMsp430DmaP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** HplMsp430DmaP.nc	12 Dec 2006 18:23:07 -0000	1.4
--- HplMsp430DmaP.nc	17 Apr 2008 22:38:34 -0000	1.5
***************
*** 62,66 ****
    provides interface HplMsp430DmaControl as DmaControl;
    provides interface HplMsp430DmaInterrupt as Interrupt;
! 
  }
  
--- 62,66 ----
    provides interface HplMsp430DmaControl as DmaControl;
    provides interface HplMsp430DmaInterrupt as Interrupt;
!   uses interface HplMsp430InterruptSig as SIGNAL_DACDMA_VECTOR;
  }
  
***************
*** 70,74 ****
    MSP430REG_NORACE( DMACTL1 );
  
!   TOSH_SIGNAL( DACDMA_VECTOR ) {
      signal Interrupt.fired();
    }
--- 70,74 ----
    MSP430REG_NORACE( DMACTL1 );
  
!   inline async event void SIGNAL_DACDMA_VECTOR.fired {
      signal Interrupt.fired();
    }



More information about the Tinyos-2-commits mailing list