13#include <asm/byteorder.h>
25#define WMR_PACKED __attribute__((packed))
36#define WMR_MOTION_CONTROLLER_MSG_BUFFER_SIZE 256
37#define WMR_MOTION_CONTROLLER_NS_PER_TICK 100
41#define WMR_MOTION_CONTROLLER_STATUS_MSG 0x01
58#define WMR_CONTROLLER_FW_CMD_INIT(p, c, b, a) \
59 ((struct wmr_controller_fw_cmd){ \
60 .cmd = {.prefix = (p), .cmd_id = (c), .block_id = (b), .addr = __cpu_to_le32((a))}})
71 uint8_t block_id_echo;
77 } WMR_PACKED response;
Definition: wmr_controller_protocol.h:63
Definition: wmr_controller_protocol.h:44
WMR and MS HoloLens protocol constants, structures and helpers header.