Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Driver Operations Reset Controller driver operations More...

#include <zephyr/drivers/reset.h>

Data Fields

reset_api_status status
  OPT API template to get the reset status of the device.
reset_api_line_assert line_assert
  OPT API template to put the device in reset state.
reset_api_line_deassert line_deassert
  OPT API template to take out the device from reset state.
reset_api_line_toggle line_toggle
  OPT API template to reset the device.

Detailed Description

Driver Operations Reset Controller driver operations

This is the driver API structure any Reset Controller 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

◆ line_assert

reset_api_line_assert reset_driver_api::line_assert

OPT API template to put the device in reset state.

◆ line_deassert

reset_api_line_deassert reset_driver_api::line_deassert

OPT API template to take out the device from reset state.

◆ line_toggle

reset_api_line_toggle reset_driver_api::line_toggle

OPT API template to reset the device.

◆ status

reset_api_status reset_driver_api::status

OPT API template to get the reset status of the device.


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