Initial import of firmware and host projects
This commit is contained in:
16
inc/hid_host_command_protocol.h
Normal file
16
inc/hid_host_command_protocol.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef HID_HOST_COMMAND_PROTOCOL_H__
|
||||
#define HID_HOST_COMMAND_PROTOCOL_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define HID_HOST_CMD_DATA_SIZE 8U
|
||||
#define HID_HOST_CMD_OUTPUT_PAYLOAD_SIZE (1U + HID_HOST_CMD_DATA_SIZE)
|
||||
#define HID_HOST_CMD_ACK_PAYLOAD_SIZE 1U
|
||||
|
||||
#define HID_HOST_CMD_ID_THEME_COLOR 0x01U
|
||||
#define HID_HOST_CMD_ID_TIME_SYNC 0x02U
|
||||
|
||||
#define HID_HOST_CMD_THEME_PARAM_SIZE 3U
|
||||
#define HID_HOST_CMD_TIME_SYNC_PARAM_SIZE 8U
|
||||
|
||||
#endif /* HID_HOST_COMMAND_PROTOCOL_H__ */
|
||||
Reference in New Issue
Block a user