20.6.2.9.2 Function system_get_reset_cause()

Get the reset cause.

enum system_reset_cause system_get_reset_cause( void )

Retrieves the cause of the last system reset.

Returns

An enum value indicating the cause of the last system reset.