Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ec_host_cmd_response_header Struct Reference

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.
 

Detailed Description

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.

Field Documentation

◆ checksum

uint8_t ec_host_cmd_response_header::checksum

Checksum of response and data; sum of all bytes including checksum.

Should total to 0.

◆ data_len

uint16_t ec_host_cmd_response_header::data_len

Length of data which follows this header.

◆ prtcl_ver

uint8_t ec_host_cmd_response_header::prtcl_ver

Should be 3.

◆ reserved

uint16_t ec_host_cmd_response_header::reserved

Unused bytes in current protocol version; set to 0.

◆ result

uint16_t ec_host_cmd_response_header::result

A ec_host_cmd_status response code for specific command.


The documentation for this struct was generated from the following file: