Power off deivce

Discussion in 'Programmer's Corner' started by pranathi1091, Oct 12, 2012.

  1. pranathi1091

    Thread Starter New Member

    Oct 12, 2012
    Hello All,
    I am using STM32F2 family for coding. I am new to embedded world.
    I want to power off my device when some switch is pressed which is connected to GPIO of MCU. So how can i do that in my program?

    Please help

  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    And by "power off" you mean... ? Complete power on the micro and everything else off, or to just sleep the processor?

    If you want all power off my low voltage switch timer project does exactly that using a low dropout regulator and it's output enable pin.