|
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 81 of file stm32_lpm_if.c.
References hadc, hrtc, MX_SPI1_DeInit(), and NFC_INT_Pin.
| void PWR_EnterSleepMode | ( | void | ) |
Enters Low Power Sleep Mode.
Definition at line 292 of file stm32_lpm_if.c.
References writeLog().
| void PWR_EnterStopMode | ( | void | ) |
Enters Low Power Stop Mode.
Definition at line 237 of file stm32_lpm_if.c.
References MX_SPI1_DeInit(), NFC_LPD_Enb_GPIO_Port, NFC_LPD_Enb_Pin, sensorsBase_StartTimerToOff(), and writeLog().
| void PWR_ExitOffMode | ( | void | ) |
Exits Low Power Off Mode.
Definition at line 229 of file stm32_lpm_if.c.
References systemRestart().
| void PWR_ExitSleepMode | ( | void | ) |
Exits Low Power Sleep Mode.
Definition at line 309 of file stm32_lpm_if.c.
References writeLog().
| void PWR_ExitStopMode | ( | void | ) |
Exits Low Power Stop Mode.
Definition at line 267 of file stm32_lpm_if.c.
References MX_SPI1_Init(), NFC_LPD_Enb_GPIO_Port, NFC_LPD_Enb_Pin, sensorsBase_StopTimerToOff(), SystemClock_Config(), uart_Start(), vcom_Resume(), and writeLog().