Question
Power turn ON and Power turn OFF detection.
My requirement is as follows.
When I power ON the STM32L4 series MCU, a string must be sent on to the UART terminal like "Power is ON". Now abruptly I will power OFF. Now at this instance, another string must be sent to UART terminal which is "Power is OFF". How to do this? Kindly let me know the solution if anyone has come across such a situation.
Thank you!
