User Activity

Hello everybody, I am working with a stm32wb55 and in my application I need to send the microcontroller to sleep for 5 second, wake up, perform some actions and go back to sleep.I send the micro to sleeomode using the function  HAL_PWR_EnterSLEEPMode...