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 83b7b6d commit a0ff95bCopy full SHA for a0ff95b
targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_LPCXpresso/PeripheralPins.c
@@ -16,3 +16,24 @@
16
17
#include "PeripheralPins.h"
18
#include "PeripheralPinMaps.h"
19
+
20
+// List of GPIOs with limited functionality
21
+const PinList *pinmap_gpio_restricted_pins()
22
+{
23
+ static const PinName pins[] = {
24
+ A4, // fixed pull-up (for I2C)
25
+ A5, // fixed pull-up (for I2C)
26
+ D5, // fixed pull-up (for LED)
27
+ D3, // fixed pull-up (for LED)
28
+ D4, // fixed pull-up (for LED)
29
+ D7, // fixed pull-up
30
+ D15, // fixed pull-up (for I2C)
31
+ D14 // fixed pull-up (for I2C)
32
+ };
33
34
+ static const PinList pin_list = {
35
+ sizeof(pins) / sizeof(pins[0]),
36
+ pins
37
38
+ return &pin_list;
39
+}
0 commit comments