Resolved! Power Consumption by GPIO.
I am using STM32F779NI for my project.https://www.st.com/resource/en/application_note/dm00315319-stm32-gpio-configuration-for-hardware-settings-and-lowpower-consumption-stmicroelectronics.pdf Section 6.1 of above pdf states that unused input GPIO sho...