summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@avencall.com>2013-01-24 17:46:24 +0100
committerGuillaume Knispel <gknispel@avencall.com>2013-01-24 17:46:24 +0100
commitaae7316357334c004bbbbffcd64138753db5e288 (patch)
tree3888a8d05a6315096b3f92e25a750493945bb24c
parent8cdda2aeb3f74bd3ffbd185d06d227f0ffabf139 (diff)
reference P3REN
-rw-r--r--hardware.h1
-rw-r--r--main.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hardware.h b/hardware.h
index e124693..4a91eb5 100644
--- a/hardware.h
+++ b/hardware.h
@@ -108,6 +108,7 @@ PxIES_INIT //Interrupt Edge Select (0=pos 1=neg)
// PORT3
#define P3OUT_INIT 0
#define P3DIR_INIT (SYS_PWR_OK | VRMPWRGD)
+#define P3REN_INIT 0
#define P3SEL_INIT (MSP_BSL_TXD | MSP_BSL_RXD)
// PORT4
diff --git a/main.c b/main.c
index 8f02048..a080774 100644
--- a/main.c
+++ b/main.c
@@ -590,6 +590,7 @@ static void InitPorts(void)
P3OUT = P3OUT_INIT;
P3SEL = P3SEL_INIT;
P3DIR = P3DIR_INIT;
+ P3REN = P3REN_INIT;
P4OUT = P4OUT_INIT;
P4SEL = P4SEL_INIT;