cancel
Showing results for 
Search instead for 
Did you mean: 

Set GPIO to High Impedance mode

blue_dolphin1987
Associate II
Posted on April 25, 2014 at 09:43

Hi , 

I am working on a project that requires the GPIO to be set to tri state HIGH/LOW/HIGH IMPEDANCE mode.

Is there a way to set a gpio on STM32F4 to high impedance ?

Thanks.
1 REPLY 1
Posted on April 25, 2014 at 12:11

Turn it to input (MODERi = 00).

Alternatively, set output to high and change it from push-pull to open-drain (OTYPERi = 1).

JW