Can I DeInit only one GPIO-pin Instead of a whole port??? (STM32)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2009-04-02 4:33 AM
Posted on April 02, 2009 at 13:33
Can I DeInit only one GPIO-pin Instead of a whole port??? (STM32)
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 2:32 AM
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