20#ifndef FEETECH_PROTOCOL_H
21#define FEETECH_PROTOCOL_H
27#define FEETECH_START (0xFF)
43 SCS15_RETURN_DELAY_TIME = 7,
44 SCS15_RETURN_LEVEL = 8,
45 SCS15_LIMIT_TEMPERATURE = 13,
46 SCS15_MAX_LIMIT_VOLTAGE = 14,
47 SCS15_MIN_LIMIT_VOLTAGE = 15,
49 SCS15_ALARM_SHUTDOWN = 19,
50 SCS15_COMPLIANCE_P = 21,
51 SCS15_COMPLIANCE_D = 22,
52 SCS15_COMPLIANCE_I = 23,
55 SCS15_TORQUE_ENABLE = 40,
58 SCS15_PRESENT_VOLTAGE = 62,
59 SCS15_PRESENT_TEMPERATURE = 63,
60 SCS15_REGISTERED_INSTRUCTION = 64,
66 SCS15_MODEL_NUMBER = 0,
68 SCS15_MIN_ANGLE_LIMIT = 9,
69 SCS15_MAX_ANGLE_LIMIT = 11,
70 SCS15_MAX_TORQUE = 16,
74 SCS15_GOAL_POSITION = 42,
76 SCS15_GOAL_SPEED = 46,
77 SCS15_PRESENT_POSITION = 56,
78 SCS15_PRESENT_SPEED = 58,
79 SCS15_PRESENT_LOAD = 60,
80 SCS15_VIR_POSITION = 67,
88 INST_REG_WRITE = 0x04,
91 INST_SYNC_WRITE = 0x83,
92} feetech_intruction_t;