Zephyr API Documentation
2.7.0-rc2
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 |
uint8_t | checksum |
uint16_t | result |
uint16_t | data_len |
uint16_t | reserved |
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.