| Zephyr API Documentation
    2.7.0-rc2
    A Scalable Open Source RTOS | 
Structure use for statically registering host command handlers. More...
#include <ec_host_cmd.h>
| Data Fields | |
| ec_host_cmd_handler_cb | handler | 
| uint16_t | id | 
| uint16_t | version_mask | 
| uint16_t | min_rqt_size | 
| uint16_t | min_rsp_size | 
Structure use for statically registering host command handlers.
| ec_host_cmd_handler_cb ec_host_cmd_handler::handler | 
Callback routine to process commands that match id.
| uint16_t ec_host_cmd_handler::id | 
The numberical command id used as the lookup for commands.
| uint16_t ec_host_cmd_handler::min_rqt_size | 
The minimum input_buf_size enforced by the framework before passing to the handler.
| uint16_t ec_host_cmd_handler::min_rsp_size | 
The minimum output_buf_size enforced by the framework before passing to the handler.
| uint16_t ec_host_cmd_handler::version_mask | 
The bitfield of all versions that the handler supports, where each bit value represents that the handler supports that version. E.g. BIT(0) corresponse to version 0.