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 5340c00 commit 5afd9ebCopy full SHA for 5afd9eb
targets/TARGET_STM/PeripheralPins.h
@@ -34,6 +34,8 @@
34
#include "pinmap.h"
35
#include "PeripheralNames.h"
36
37
+#define GPIO_AF_NONE 0
38
+
39
//*** ADC ***
40
#if DEVICE_ANALOGIN
41
extern const PinMap PinMap_ADC[];
@@ -89,4 +91,16 @@ extern const PinMap PinMap_QSPI_SCLK[];
89
91
extern const PinMap PinMap_QSPI_SSEL[];
90
92
#endif
93
94
+#if DEVICE_USBDEVICE
95
96
+#define USE_USB_NO_OTG 0
97
+#define USE_USB_OTG_FS 1
98
+#define USE_USB_OTG_HS 2
99
+#define USE_USB_HS_IN_FS 3
100
101
+extern const PinMap PinMap_USB_HS[];
102
+extern const PinMap PinMap_USB_FS[];
103
104
+#endif /* DEVICE_USBDEVICE */
105
106
0 commit comments