Zephyr Project API 3.7.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 |
Data to write to the host The buffer is provided by the handler if CONFIG_EC_HOST_CMD_HANDLER_TX_BUFFER_SIZE > 0. | |
size_t | len |
Number of bytes to write from buf. | |
size_t | len_max |
Maximum number of bytes to send with one response packet. | |
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 |
Maximum number of bytes to send with one response packet.