Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_SED_Coap_FreeRTOS/Core/Src/stm32wbxx_it.c')
-rw-r--r--Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_SED_Coap_FreeRTOS/Core/Src/stm32wbxx_it.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_SED_Coap_FreeRTOS/Core/Src/stm32wbxx_it.c b/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_SED_Coap_FreeRTOS/Core/Src/stm32wbxx_it.c
index 0afb3f0c6..a5cc7e80e 100644
--- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_SED_Coap_FreeRTOS/Core/Src/stm32wbxx_it.c
+++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/Thread/Thread_SED_Coap_FreeRTOS/Core/Src/stm32wbxx_it.c
@@ -62,6 +62,7 @@ extern DMA_HandleTypeDef hdma_lpuart1_tx;
extern DMA_HandleTypeDef hdma_usart1_tx;
extern UART_HandleTypeDef hlpuart1;
extern UART_HandleTypeDef huart1;
+extern RTC_HandleTypeDef hrtc;
extern TIM_HandleTypeDef htim17;
/* USER CODE BEGIN EV */
@@ -179,6 +180,20 @@ void PVD_PVM_IRQHandler(void)
}
/**
+ * @brief This function handles RTC wake-up interrupt through EXTI line 19.
+ */
+void RTC_WKUP_IRQHandler(void)
+{
+ /* USER CODE BEGIN RTC_WKUP_IRQn 0 */
+
+ /* USER CODE END RTC_WKUP_IRQn 0 */
+ HAL_RTCEx_WakeUpTimerIRQHandler(&hrtc);
+ /* USER CODE BEGIN RTC_WKUP_IRQn 1 */
+
+ /* USER CODE END RTC_WKUP_IRQn 1 */
+}
+
+/**
* @brief This function handles Flash global interrupt.
*/
void FLASH_IRQHandler(void)
@@ -357,10 +372,7 @@ void FPU_IRQHandler(void)
}
/* USER CODE BEGIN 1 */
-void RTC_WKUP_IRQHandler(void)
-{
- HW_TS_RTC_Wakeup_Handler();
-}
+
/* USER CODE END 1 */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/