MT2523 API Reference  LinkIt SDK v4
Typedef
HAL » WDT

Overview

Typedefs

typedef void(* hal_wdt_callback_t) (hal_wdt_reset_status_t wdt_reset_status)
 This defines the callback function prototype. More...
 

Typedef Documentation

typedef void(* hal_wdt_callback_t) (hal_wdt_reset_status_t wdt_reset_status)

This defines the callback function prototype.

User should register a callback function while WDT is in an interrupt mode. This function will be called after the watchdog times out in the WDT ISR routine. For more details about the callback, please refer to hal_wdt_register_callback().

Parameters
[in]wdt_reset_statusThe value is defined in hal_wdt_reset_status_t. This paramter is given by the driver to tell the user the reason for current watchdog reset.