AnsweredAssumed Answered

Is it possible to disable GPIO?

Question asked by shan on Oct 9, 2013
Latest reply on Oct 24, 2013 by Amel N
Hi all,

Recently I'm trying to implement some power saving code.  In some condition (e.g. a specific digital input pin is ON), I'd like to enable all of my GPIO pins, while in the rest of the time I'd like to disable it.  Is there any good ways that I can do?  I'm also using ADC/DAC/DMA as well.

I looked into the gpio library, but I'm not quite sure if GPIO_DeInit() could fulfill my goal. Seems like it only set all the pins to default settings (i.e. input floating mode) and it still consumes power.

I'm pretty new to the power saving issue.  I'd be very appreciated if anyone could help.  :D