21#ifndef MBED_WATCHDOG_API_H
22#define MBED_WATCHDOG_API_H
watchdog_status_t hal_watchdog_stop(void)
Stops the watchdog timer.
watchdog_features_t hal_watchdog_get_platform_features(void)
Get information on the current platforms supported watchdog functionality.
watchdog_status_t hal_watchdog_init(const watchdog_config_t *config)
Initialize and start a watchdog timer with the given configuration.
watchdog_status_t
Status of a watchdog operation.
void hal_watchdog_kick(void)
Refreshes the watchdog timer.
uint32_t hal_watchdog_get_reload_value(void)
Get the watchdog timer refresh value.
@ WATCHDOG_STATUS_INVALID_ARGUMENT
Invalid argument.
@ WATCHDOG_STATUS_NOT_SUPPORTED
Operation not supported.
@ WATCHDOG_STATUS_OK
Operation successful.
uint32_t timeout_ms
Refresh value for the watchdog in milliseconds.
uint32_t clock_typical_frequency
Typical frequency of not calibrated watchdog clock in Hz.
bool disable_watchdog
You can stop the watchdog after it starts without a reset.
bool update_config
You can update the watchdog configuration after the watchdog has started.
uint32_t clock_max_frequency
Maximum frequency of not calibrated watchdog clock in Hz.
uint32_t max_timeout
Maximum timeout value for the watchdog in milliseconds.