cancel
Showing results for 
Search instead for 
Did you mean: 

Can I DeInit only one GPIO-pin Instead of a whole port??? (STM32)

rkleine9
Associate II
Posted on April 02, 2009 at 13:33

Can I DeInit only one GPIO-pin Instead of a whole port??? (STM32)

1 REPLY 1
rkleine9
Associate II
Posted on May 17, 2011 at 11:32

Hi all,

I'm relatively new to the STM32 Cortex, and I like to re-init a GPIO Pin.

I like to switch between Alternate function and Output open drain mode.

But when I use GPIO_DeInit(GPIO_PORT) I reset the whole port instead of only the desired pin.

Is it possible to deinit only this pin??

(problem is, an new Init, without the preceeding Deinit it doesn't seem to work)

Can anyone help ?

Thanks!!

Remco