aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/NETDUINO_PLUS_2
diff options
context:
space:
mode:
authorDave Hylands2014-03-14 23:41:28 -0700
committerDave Hylands2014-03-14 23:41:28 -0700
commitca5444e6cd8b566bd4ad78e84162e03ec18e01b6 (patch)
tree64369de8ac0ef6214112340da70c78c474567dc7 /stmhal/boards/NETDUINO_PLUS_2
parent0a64c92a9c3bd7d648c8a0d087fa7e739a5eeaa3 (diff)
stmhal - add pin mapping, gpio, exti, usrsw
Diffstat (limited to 'stmhal/boards/NETDUINO_PLUS_2')
-rw-r--r--stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
index b355486e2..412dede13 100644
--- a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
+++ b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
@@ -20,8 +20,8 @@
// USRSW is pulled low. Pressing the button makes the input go high.
#define USRSW_PIN (pin_B11)
-#define USRSW_PUPD (GPIO_PuPd_NOPULL)
-#define USRSW_EXTI_EDGE (EXTI_Trigger_Rising)
+#define USRSW_PULL (GPIO_NOPULL)
+#define USRSW_EXTI_MODE (GPIO_MODE_IT_RISING)
#define USRSW_PRESSED (1)
/* LED */