AnsweredAssumed Answered

Changing GPIO pin from IN <> OUT dynamically?

Question asked by vu.andy on Sep 29, 2016
Latest reply on Sep 29, 2016 by FTITI.Walid
What would be the best way to reconfigure a pin from Input to Output and vice versa on the flight?  The STM function HAL_GPIO_Init() is quite long so I would rather not use that function just to change a mode Input/Output.
What would be the most efficient way to change a pin I/O mode once it has been initially configured?