| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Context for host command backend and handler to pass tx data. More...
#include <backend.h>
Data Fields | |
| void * | buf | 
| size_t | len | 
| size_t | len_max | 
Context for host command backend and handler to pass tx data.
| void* ec_host_cmd_tx_buf::buf | 
Data to write to the host The buffer is provided by the handler if CONFIG_EC_HOST_CMD_HANDLER_TX_BUFFER_SIZE > 0. Otherwise, the backend should provide the buffer on its own and overwrites buf pointer and len_max in the init function.
| size_t ec_host_cmd_tx_buf::len | 
Number of bytes to write from buf.
| size_t ec_host_cmd_tx_buf::len_max | 
Size of buf.