Power on reset (PORRST) not detected on STM32L471RGT6
Hi,
I am trying to detect whether a reset event was caused by power on rather than any other reset such as a button reset or a software reset. I attempted to use
if (__HAL_RCC_GET_FLAG(RCC_FLAG_PORRST) != RESET)
but the compiler reports that PORRST is not recognized. I tried BORRST and that is recognized but i don't believe that that setting is solely for power on detection.
Thanks in advance
Richard
