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 3930d2e commit e8ce42aCopy full SHA for e8ce42a
targets/TARGET_STM/pinmap.c
@@ -79,7 +79,13 @@ void pin_function(PinName pin, int data)
79
#if defined (TARGET_STM32F1)
80
if (mode == STM_PIN_OUTPUT) {
81
#endif
82
+
83
+#if defined (LL_GPIO_SPEED_FREQ_VERY_HIGH)
84
+ LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH);
85
+#else
86
LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_HIGH);
87
+#endif
88
89
90
}
91
0 commit comments