Connect with us

Configuring GPIO pins in Sleep-Mode

Discussion in 'Microcontrollers, Programming and IoT' started by jacobkats, Nov 29, 2017.

Scroll to continue with content
  1. jacobkats

    jacobkats

    3
    0
    Nov 29, 2017
    Hey !

    Looking for assistance at configuring GPIO pins in Sleep-Mode.
    1. Can these pins be set via SW to be "HIGH" and keep their value as "HIGH" even in Sleep-Mode?

    2. Will the implementation of (1) will make a higher "current consumption" as opposed to a regime where these pins were "idle"?

    3. Will there be a difference at voltages (i.e. Current Flow) between a GPIO that has been set as "HIGH" and a positive side of a Battery that provides the power to the Micro-Controller? Is it something that happens? (Even if the current that could be consumed is at about [uA])..
    Thank you very much!
     
  2. BobK

    BobK

    7,682
    1,689
    Jan 5, 2010
    GPIO pins will maintain their state in sleep mode. The current they will source or sink depends on what they are connected to.

    Bob
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-