From 34937fdf4124537bd6ddf43bef3e1874660f8ad7 Mon Sep 17 00:00:00 2001 From: smckown Date: Tue, 16 Sep 2008 20:20:47 +0000 Subject: [PATCH] Updates to tmirws MotePlatformC to reflect proper states for pins to the cell radio section while the cell radio is not populated. --- tos/platforms/tmirws/MotePlatformC.nc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tos/platforms/tmirws/MotePlatformC.nc b/tos/platforms/tmirws/MotePlatformC.nc index 2a57147d..159db7ff 100644 --- a/tos/platforms/tmirws/MotePlatformC.nc +++ b/tos/platforms/tmirws/MotePlatformC.nc @@ -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 */ -- 2.39.2