[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/chips/msp430 Msp430Uart0C.nc, 1.1.2.3, 1.1.2.4

Philipp Huppertz phihup at users.sourceforge.net
Thu Nov 30 05:27:55 PST 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	Msp430Uart0C.nc 
Log Message:
- changed usart to use union configurations 
- implementation of Usart0 and Usart1 is consistent again (don't configure in different ways)
- changed the way configure is done (don't rely on unconfiguring)
- do all configuring stuff in SWRST !
- fixed Spi.write(): rx interrupt is cleared now
- Spi.write() now relies on configure to disable rx interrupt
- fixed semantics of Usart.isTxIntrPending (dos not clear interrupt), now it behaves like Usart.isRxIntrPending
- removed UartControl: is no longer needed can be rx/tx can be set via config

Index: Msp430Uart0C.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/msp430/Msp430Uart0C.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** Msp430Uart0C.nc	7 Nov 2006 23:15:14 -0000	1.1.2.3
--- Msp430Uart0C.nc	30 Nov 2006 13:27:52 -0000	1.1.2.4
***************
*** 41,48 ****
  generic configuration Msp430Uart0C() {
  
!   provides interface Resource;   provides interface ResourceRequested;
    provides interface UartStream;
    provides interface UartByte;
-   provides interface Msp430UartControl as UartControl;
  
    uses interface Msp430UartConfigure;
--- 41,48 ----
  generic configuration Msp430Uart0C() {
  
!   provides interface Resource;   
!   provides interface ResourceRequested;
    provides interface UartStream;
    provides interface UartByte;
  
    uses interface Msp430UartConfigure;
***************
*** 59,63 ****
    UartStream = UartP.UartStream;
    UartByte = UartP.UartByte;
-   UartControl = UartP.UartControl[ CLIENT_ID ];
    Msp430UartConfigure = UartP.Msp430UartConfigure[ CLIENT_ID ];
  
--- 59,62 ----



More information about the Tinyos-2-commits mailing list