Zephyr API Documentation 4.5.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Driver Operations Host Command driver operations More...

#include <zephyr/mgmt/ec_host_cmd/backend.h>

Data Fields

ec_host_cmd_backend_api_init init
  REQ Initialize a host command backend.
ec_host_cmd_backend_api_send send
  REQ Sends data to the host.

Detailed Description

Driver Operations Host Command driver operations

This is the driver API structure any Host Command 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

◆ init

ec_host_cmd_backend_api_init ec_host_cmd_backend_api::init

REQ Initialize a host command backend.

◆ send

ec_host_cmd_backend_api_send ec_host_cmd_backend_api::send

REQ Sends data to the host.


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