* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * - Neither the name of the Technische Universität Berlin nor the names
+ * - Neither the name of the Titanium Mirror, Inc. nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
+
/**
* @author R. Steve McKown <rsmckown@gmail.com>
*/
-
+
module MotePlatformC @safe() {
provides interface Init;
}
/* reset all of the ports to be input and using i/o functionality */
atomic
{
-#ifdef __MSP430_HAS_WDT__
- /* Stop the watchdog, if running. Should be somewhere in chips/msp430... */
- WDTCTL = WDTPW + WDTHOLD;
-#endif
-
/* Port 1: 7-0:- */
P1SEL = 0; /* 0 0 0 0 0 0 0 0 */
P1OUT = 0; /* 0 0 0 0 0 0 0 0 */
P1DIR = 0; /* 0 0 0 0 0 0 0 0 */
-
+
/* Port 2: 7-0:- */
P2SEL = 0; /* 0 0 0 0 0 0 0 0 */
P2OUT = 0; /* 0 0 0 0 0 0 0 0 */