|
Zephyr API Documentation 4.5.0-rc1
A Scalable Open Source RTOS
|
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. | |
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.
| ec_host_cmd_backend_api_init ec_host_cmd_backend_api::init |
REQ Initialize a host command backend.
| ec_host_cmd_backend_api_send ec_host_cmd_backend_api::send |
REQ Sends data to the host.