Synopsis
unsigned platform_reset_cause(void);
Description

platform_reset_cause reads the reason for a microcontroller reset and clears the reset cause flags. The value returned is the inclusive-or of the individual causes in PLATFORM_RESET_CAUSE_t.

See Also

PLATFORM_RESET_CAUSE_t