Microchip® Advanced Software Framework

wdt_conf Struct Reference

Watchdog Timer configuration structure.

Configuration structure for a Watchdog Timer instance. This structure should be initialized by the wdt_get_config_defaults() function before being modified by the user application.

#include <wdt.h>

Data Fields

bool always_on
 If true, the Watchdog will be locked to the current configuration settings when the Watchdog is enabled. More...
 
enum wdt_period early_warning_period
 Number of Watchdog timer clock ticks until the early warning flag is set. More...
 
bool enable
 Enable/Disable the Watchdog Timer. More...
 
enum wdt_period timeout_period
 Number of Watchdog timer clock ticks until the Watchdog expires. More...
 
enum wdt_period window_period
 Number of Watchdog timer clock ticks until the reset window opens. More...
 

bool wdt_conf::always_on

If true, the Watchdog will be locked to the current configuration settings when the Watchdog is enabled.

Referenced by wdt_get_config_defaults(), and wdt_set_config().

enum wdt_period wdt_conf::early_warning_period

Number of Watchdog timer clock ticks until the early warning flag is set.

Referenced by wdt_get_config_defaults(), and wdt_set_config().

bool wdt_conf::enable

Enable/Disable the Watchdog Timer.

Referenced by wdt_get_config_defaults(), and wdt_set_config().

enum wdt_period wdt_conf::timeout_period

Number of Watchdog timer clock ticks until the Watchdog expires.

Referenced by wdt_get_config_defaults(), and wdt_set_config().

enum wdt_period wdt_conf::window_period

Number of Watchdog timer clock ticks until the reset window opens.

Referenced by wdt_get_config_defaults(), and wdt_set_config().