Get the reset cause.
enum system_reset_cause system_get_reset_cause( void )
Retrieves the cause of the last system reset.
An enum value indicating the cause of the last system reset.