Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 7 months ago.
Handle unused GPIO pins
Hi, I am using the Nucleo Board Stm32f401re. Regarding to the following application note http://www.st.com/en/embedded-software/stsw-stm32142.html
In the part 1.2.6 (I/O configuration), I found that in order to "avoid extra I/O current, all pins should be configured as analog input (AIN); in this mode the Schmitt trigger input is disabled; providing zero consumption for each I/O pin". My questions are: 1. In mbed, the default pin configurations are AIN? if not how can I set it with mbed? 2. Is there any other way I could do to handle with unused GPIOs with STM32F4?
Thank you.