|
L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
|
Header for Low Power Manager interface configuration. More...
#include "stm32_lpm.h"Go to the source code of this file.
Functions | |
| void | PWR_EnterOffMode (void) |
| Accumulates the total time spent in STOP or SLEEP mode (in ms or ticks). Incremented each time PWR_ExitStopMode() or PWR_ExitSleepMode() is called so that the application can track duty-cycle or battery consumption. | |
| void | PWR_ExitOffMode (void) |
| Exits Low Power Off Mode. | |
| void | PWR_EnterStopMode (void) |
| Enters Low Power Stop Mode. | |
| void | PWR_ExitStopMode (void) |
| Exits Low Power Stop Mode. | |
| void | PWR_EnterSleepMode (void) |
| Enters Low Power Sleep Mode. | |
| void | PWR_ExitSleepMode (void) |
| Exits Low Power Sleep Mode. | |
Header for Low Power Manager interface configuration.
Copyright (c) 2026 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32_lpm_if.h.
| void PWR_EnterOffMode | ( | void | ) |
Accumulates the total time spent in STOP or SLEEP mode (in ms or ticks). Incremented each time PWR_ExitStopMode() or PWR_ExitSleepMode() is called so that the application can track duty-cycle or battery consumption.
Enters Low Power Off Mode
Definition at line 85 of file stm32_lpm_if.c.
References hadc, hrtc, MX_SPI1_DeInit(), NFC_INT_Pin, RTC_BKP_STANDBY, RTC_BKP_STANDBY_SIGN, and setBackUpRegister().
| void PWR_EnterSleepMode | ( | void | ) |
Enters Low Power Sleep Mode.
Definition at line 260 of file stm32_lpm_if.c.
References writeLog().
| void PWR_EnterStopMode | ( | void | ) |
Enters Low Power Stop Mode.
Definition at line 206 of file stm32_lpm_if.c.
References MX_SPI1_DeInit(), sensorsBase_StartTimerToOff(), and writeLog().
| void PWR_ExitOffMode | ( | void | ) |
Exits Low Power Off Mode.
Definition at line 198 of file stm32_lpm_if.c.
| void PWR_ExitSleepMode | ( | void | ) |
Exits Low Power Sleep Mode.
Definition at line 277 of file stm32_lpm_if.c.
References writeLog().
| void PWR_ExitStopMode | ( | void | ) |
Exits Low Power Stop Mode.
Definition at line 236 of file stm32_lpm_if.c.
References MX_SPI1_Init(), sensorsBase_StopTimerToOff(), SystemClock_Config(), uart_Start(), vcom_Resume(), and writeLog().