Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Header for responses from embedded controller to host. More...
#include <ec_host_cmd.h>
Data Fields | |
uint8_t | prtcl_ver |
Should be 3. | |
uint8_t | checksum |
Checksum of response and data; sum of all bytes including checksum. | |
uint16_t | result |
A ec_host_cmd_status response code for specific command. | |
uint16_t | data_len |
Length of data which follows this header. | |
uint16_t | reserved |
Unused bytes in current protocol version; set to 0. | |
Header for responses from embedded controller to host.
Represent the over-the-wire header in LE format for host command responses. This represent version 3 of the host command header. Responses are always sent from embedded controller to host.
uint8_t ec_host_cmd_response_header::checksum |
Checksum of response and data; sum of all bytes including checksum.
Should total to 0.
uint16_t ec_host_cmd_response_header::data_len |
Length of data which follows this header.
uint8_t ec_host_cmd_response_header::prtcl_ver |
Should be 3.
uint16_t ec_host_cmd_response_header::reserved |
Unused bytes in current protocol version; set to 0.
uint16_t ec_host_cmd_response_header::result |
A ec_host_cmd_status response code for specific command.