27.6.3.1.2 Function wdt_get_config_defaults()

Initializes a Watchdog Timer configuration structure to defaults.

void wdt_get_config_defaults( struct wdt_conf *const config)

Initializes a given Watchdog Timer configuration structure to a set of known default values. This function should be called on all new instances of these configuration structures before being modified by the user application.

The default configuration is as follows:
  • Not locked, to allow for further (re-)configuration

  • Enable WDT

  • Watchdog timer sourced from Generic Clock Channel 4

  • A timeout period of 16384 clocks of the Watchdog module clock

  • No window period, so that the Watchdog count can be reset at any time

  • No early warning period to indicate the Watchdog will soon expire

Table 27-3. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values