low power step 1
This commit is contained in:
parent
3c16c273cc
commit
4c1c262a60
|
@ -78,14 +78,17 @@ const struct UTIL_LPM_Driver_s UTIL_PowerDriver =
|
|||
void PWR_EnterOffMode(void)
|
||||
{
|
||||
/* USER CODE BEGIN EnterOffMode_1 */
|
||||
|
||||
HAL_SuspendTick();
|
||||
LL_PWR_ClearFlag_WU();
|
||||
HAL_PWR_EnterSTANDBYMode();
|
||||
/* USER CODE END EnterOffMode_1 */
|
||||
}
|
||||
|
||||
void PWR_ExitOffMode(void)
|
||||
{
|
||||
/* USER CODE BEGIN ExitOffMode_1 */
|
||||
|
||||
HAL_ResumeTick();
|
||||
return;
|
||||
/* USER CODE END ExitOffMode_1 */
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ extern "C" {
|
|||
/*!
|
||||
* Defines the application data transmission duty cycle. 10s, value in [ms].
|
||||
*/
|
||||
#define APP_TX_DUTYCYCLE 10000
|
||||
#define APP_TX_DUTYCYCLE 30000
|
||||
|
||||
/*!
|
||||
* LoRaWAN User application port
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:78:6:PWR_EnterOffMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:92:6:PWR_EnterStopMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:145:6:PWR_ExitSleepMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:110:6:PWR_ExitStopMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:129:6:PWR_EnterSleepMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:85:6:PWR_ExitOffMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:87:6:PWR_ExitOffMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:95:6:PWR_EnterStopMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:113:6:PWR_ExitStopMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:132:6:PWR_EnterSleepMode 1
|
||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/stm32_lpm_if.c:148:6:PWR_ExitSleepMode 1
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue