Synergy Software Package User's Manual

#include <r_wdt_api.h>

Data Fields

wdt_start_mode_t start_mode
 The expected start mode for the WDT.
 
bool autostart
 
wdt_timeout_t timeout
 Timeout period.
 
wdt_clock_division_t clock_division
 Clock divider.
 
wdt_window_start_t window_start
 Refresh permitted window start position.
 
wdt_window_end_t window_end
 Refresh permitted window end position.
 
wdt_reset_control_t reset_control
 Select NMI or reset generated on underflow.
 
wdt_stop_control_t stop_control
 Select whether counter operates in sleep mode.
 
void(* p_callback )(wdt_callback_args_t *p_args)
 Callback provided when a WDT NMI ISR occurs.
 
void const * p_context
 
void const * p_extend
 Placeholder for user extension.
 

Detailed Description

WDT configuration parameters.

Field Documentation

◆ autostart

bool wdt_cfg_t::autostart

When true the WDT is started as part of its configuration (register start mode). If false the WDT needs to be started manually by calling the refresh API.

◆ p_context

void const* wdt_cfg_t::p_context

Placeholder for user data. Passed to the user callback in wdt_callback_args_t.


The documentation for this struct was generated from the following file: