Skip to content
Snippets Groups Projects
Commit d4311cdc authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added a header file with some common definitions from other files.

parent 076acb0f
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,15 @@ typedef enum {dyn_ping=0x01,
dyn_bulk_read=0x92,
dyn_bulk_write=0x93} dyn_inst_t;
typedef enum{DYN_NO_ERROR=0x00,
DYN_INST_ERROR=0x40,
DYN_OVERLOAD_ERROR=0x20,
DYN_CHECKSUM_ERROR=0x10,
DYN_RANGE_ERROR=0x08,
DYN_OVERTEMP_ERROR=0x04,
DYN_ANGLE_ERROR=0x02,
DYN_VOLTAGE_ERROR=0x01} TDynError;
typedef enum {dyn_reset_all=0xFF,dyn_reset_keep_id=0x01,dyn_reset_keep_id_baud=0x02} dyn_reset_mode_t;
typedef enum{no_return=0x00,return_only_read=0x01,return_all=0x02} return_level_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment