Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
relay_driver_api Struct Reference

Relay driver class API. More...

#include <zephyr/drivers/relay/relay.h>

Data Fields

relay_set_state_t set_state
  REQ Set the on/off state of the relay.
relay_get_state_t get_state
  OPT Read back the last requested on/off state of the relay.

Detailed Description

Relay driver class API.

Field Documentation

◆ get_state

relay_get_state_t relay_driver_api::get_state

OPT Read back the last requested on/off state of the relay.

◆ set_state

relay_set_state_t relay_driver_api::set_state

REQ Set the on/off state of the relay.


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