Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F411RE/pinmap.c
- Revision:
- 327:a7562ccfb9d5
- Parent:
- 285:31249416b6f9
diff -r da258e7d377e -r a7562ccfb9d5 targets/hal/TARGET_STM/TARGET_NUCLEO_F411RE/pinmap.c
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F411RE/pinmap.c Sat Sep 20 11:30:07 2014 +0100
+++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F411RE/pinmap.c Mon Sep 22 09:30:07 2014 +0100
@@ -33,7 +33,7 @@
#include "mbed_error.h"
// GPIO mode look-up table
-static const uint32_t gpio_mode[12] = {
+static const uint32_t gpio_mode[13] = {
0x00000000, // 0 = GPIO_MODE_INPUT
0x00000001, // 1 = GPIO_MODE_OUTPUT_PP
0x00000011, // 2 = GPIO_MODE_OUTPUT_OD
@@ -45,7 +45,8 @@
0x10310000, // 8 = GPIO_MODE_IT_RISING_FALLING
0x10120000, // 9 = GPIO_MODE_EVT_RISING
0x10220000, // 10 = GPIO_MODE_EVT_FALLING
- 0x10320000 // 11 = GPIO_MODE_EVT_RISING_FALLING
+ 0x10320000, // 11 = GPIO_MODE_EVT_RISING_FALLING
+ 0x10000000 // 12 = Reset GPIO_MODE_IT_EVT
};
// Enable GPIO clock and return GPIO base address

