Mbed OS Reference
Loading...
Searching...
No Matches
watchdog_config_t Struct Reference

Watchdog configuration. More...

#include <watchdog_api.h>

Data Fields

uint32_t timeout_ms
 Refresh value for the watchdog in milliseconds. More...
 

Detailed Description

Watchdog configuration.

Definition at line 77 of file watchdog_api.h.

Field Documentation

◆ timeout_ms

uint32_t timeout_ms

Refresh value for the watchdog in milliseconds.

The maximum value of this setting is platform dependent, to find the maximum value for the current platform call hal_watchdog_get_features() and check the timeout value member. The minimum valid value for this setting is 1. Attempting to initialize the watchdog with a timeout of 0 ms returns WATCHDOG_STATUS_INVALID_ARGUMENT.

Definition at line 86 of file watchdog_api.h.