We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc15ee commit c2cd2bbCopy full SHA for c2cd2bb
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.c
@@ -31,3 +31,23 @@
31
#include "PeripheralPins.h"
32
#include "mbed_toolchain.h"
33
#include "PeripheralPinMaps.h"
34
+
35
+// List of GPIOs with limited functionality
36
+const PinList *pinmap_gpio_restricted_pins()
37
+{
38
+ static const PinName pins[] = {
39
+ PB_8, // fixed pull-up (for I2C)
40
+ PB_9, // fixed pull-up (for I2C)
41
+ PB_10, // fixed pull-up (for I2C)
42
+ PB_11, // fixed pull-up (for I2C)
43
+ PC_14, // OSC32_IN
44
+ PC_15, // OSC32_OUT
45
+ PH_0, // OSC_IN
46
+ PH_1 // OSC_OUT
47
+ };
48
+ static const PinList pin_list = {
49
+ sizeof(pins) / sizeof(pins[0]),
50
+ pins
51
52
+ return &pin_list;
53
+}
0 commit comments