Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
STM32 GPIO instances get
GPIO_instance &instance = (*instancesStatic)[port];
// Check if port is active, if not, try to activate it.
if (!instance.active) {
if (Rcc::enablePort((RccPort) port)) {
instance.active = true;
}
else {
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.