| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
Public APIs for Host Command Peripherals that respond to host commands. More...
#include <zephyr/sys/__assert.h>#include <zephyr/device.h>#include <zephyr/kernel.h>#include <zephyr/types.h>Go to the source code of this file.
Data Structures | |
| struct | ec_host_cmd_periph_rx_ctx | 
| Context for host command peripheral and framework to pass rx data.  More... | |
| struct | ec_host_cmd_periph_tx_buf | 
| Context for host command peripheral and framework to pass tx data.  More... | |
| struct | ec_host_cmd_periph_api | 
Typedefs | |
| typedef int(* | ec_host_cmd_periph_api_init) (const struct device *dev, struct ec_host_cmd_periph_rx_ctx *rx_ctx) | 
| typedef int(* | ec_host_cmd_periph_api_send) (const struct device *dev, const struct ec_host_cmd_periph_tx_buf *tx_buf) | 
Functions | |
| static int | ec_host_cmd_periph_init (const struct device *dev, struct ec_host_cmd_periph_rx_ctx *rx_ctx) | 
| Initialize a host command device.  More... | |
| static int | ec_host_cmd_periph_send (const struct device *dev, const struct ec_host_cmd_periph_tx_buf *tx_buf) | 
| Sends the specified data to the host.  More... | |
Public APIs for Host Command Peripherals that respond to host commands.