zephyr/samples/boards/stm32/power_mgmt
Abderrahmane Jarmouni 80180188b1 samples: boards: stm32: exit Poweroff using wkup pins & gpios
This sample demonstrates how gpio pins can be used to power on
the system after a Poweroff, just like a reset pin.
The user only needs to add the STM32_GPIO_WKUP flag to the gpio pin
in "gpios" property of a DT device such a button or a sensor.
The samples Powers off the system after a delay then the user can power it
on with the user button that has the STM32_GPIO_WKUP flag in DT.
Only works on STM32 boards that support Zephyr POWEROFF
(U5, WL, WB, & L4 SoC series), & also have a user button whose GPIO pin
is associated with a wake-up pin (see PWR node in SoC dtsi file).

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-06-05 17:35:55 -05:00
..
adc tests: pm: Replace depracated build option 2024-06-04 19:13:53 -04:00
blinky tests: pm: Replace depracated build option 2024-06-04 19:13:53 -04:00
serial_wakeup tests: pm: Replace depracated build option 2024-06-04 19:13:53 -04:00
standby_shutdown samples: boards: stm32: power_mgmt: standby_shutdown: use sys_poweroff 2023-08-31 10:18:07 +02:00
stm32wb_ble samples: stm32: pm_ble: Enable DEBUG when run with twister 2023-10-26 09:49:42 +02:00
suspend_to_ram tests: pm: Replace depracated build option 2024-06-04 19:13:53 -04:00
wkup_pins samples: boards: stm32: exit Poweroff using wkup pins & gpios 2024-06-05 17:35:55 -05:00