]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Updates to tmirws MotePlatformC to reflect proper states for pins to the cell
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Tue, 16 Sep 2008 20:20:47 +0000 (20:20 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:02 +0000 (20:01 -0700)
radio section while the cell radio is not populated.

tos/platforms/tmirws/MotePlatformC.nc

index 2a57147dd170edae6e956103b5754e92fd405bc9..159db7ff6d2a75db8d6653ebfc3c0abed0b1dce7 100644 (file)
@@ -53,27 +53,27 @@ implementation {
        P1REN = 0x10;   /* 0 0 0 1 0 0 0 0 */
  
        /* Port 2:
-        * 7:SHT_DATA, 6:SCP_DRDY, 5:BUTTONn, 4:USB_SUSPENDn, 3:-, 2:BSL_RX,
-        * 1:USBPGn, 0:SOLARPGn
+        * 7:SHT_DATA, 6:SCP_DRDY, 5:BUTTONn, 4:USB_SUSPENDn, 3:GM_PWRMON,
+        * 2:BSL_RX, 1:USBPGn, 0:SOLARPGn
         */
        P2SEL = 0;      /* 0 0 0 0 0 0 0 0 */
        P2OUT = 0x88;   /* 1 0 0 0 1 0 0 0 */
        P2DIR = 0x00;   /* 0 0 0 0 0 0 0 0 */
        P2REN = 0x88;   /* 1 0 0 0 1 0 0 0 */
 
-       /* Port 3: 7:UC_RX, 6:UC_TX, 5:-, 4:-, 3:UC_SCK, 2:UC_SOMI, 1:UC_SIMO,
-        * 0:SHT_SCK
+       /* Port 3: 7:UC_RX, 6:UC_TX, 5:GM_RXD, 4:GM_TXD, 3:UC_SCK, 2:UC_SOMI,
+        * 1:UC_SIMO, 0:SHT_SCK
         */
        P3SEL = 0;      /* 0 0 0 0 0 0 0 0 */
        P3OUT = 0xff;   /* 1 1 1 1 1 1 1 1 */
        P3DIR = 0x4b;   /* 0 1 0 0 1 0 1 1 */
        P3REN = 0xb4;   /* 1 0 1 1 0 1 0 0 */
 
-       /* Port 4: 7:-, 6:LED2n, 5:LED1n, 4:FLH_CSn, 3:SCP_CSn, 2:SCP_PD, 1:-,
-        * 0:-
+       /* Port 4: 7:GM_RTS, 6:LED2n, 5:LED1n, 4:FLH_CSn, 3:SCP_CSn, 2:SCP_PD,
+        * 1:GM_ONn, 0:GM_VGM_EN
         */
        P4SEL = 0;      /* 0 0 0 0 0 0 0 0 */
-       P4OUT = 0xff;   /* 1 1 1 1 1 1 1 1 */
+       P4OUT = 0xfe;   /* 1 1 1 1 1 1 1 0 */
        P4DIR = 0x7c;   /* 0 1 1 1 1 1 0 0 */
        P4REN = 0x83;   /* 1 0 0 0 0 0 1 1 */