Zephyr API Documentation 4.4.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wdt_driver_api Struct Reference

Driver Operations Watchdog driver operations More...

#include <zephyr/drivers/watchdog.h>

Data Fields

wdt_api_setup setup
  REQ Set up watchdog instance.
wdt_api_disable disable
  REQ Disable watchdog instance.
wdt_api_install_timeout install_timeout
  REQ Install a new timeout.
wdt_api_feed feed
  REQ Feed specified watchdog timeout.

Detailed Description

Driver Operations Watchdog driver operations

This is the driver API structure any Watchdog driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ disable

wdt_api_disable wdt_driver_api::disable

REQ Disable watchdog instance.

◆ feed

wdt_api_feed wdt_driver_api::feed

REQ Feed specified watchdog timeout.

◆ install_timeout

wdt_api_install_timeout wdt_driver_api::install_timeout

REQ Install a new timeout.

◆ setup

wdt_api_setup wdt_driver_api::setup

REQ Set up watchdog instance.


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