Synopsis
void platform_watchdog_enable(void);
Description

platform_watchdog_enable enables the watchdog using the timeout period set by platform_watchdog_set_period. The watchdog must be serviced by calling platform_watchdog_service within the timeout period to prevent the microcontroller from being reset.

You can detect a reset caused by a watchdog timeout by calling platform_reset_cause.

See Also

platform_watchdog_set_period, platform_watchdog_service, platform_reset_cause