36 #define TCS_UART_ERROR 2
40 #define TCS_USB_ERROR 6
49 #define TMCL_GetVersion 136
50 #define TMCL_Boot 0xf2
51 #define TMCL_SoftwareReset 0xff
60 #define REPLY_CHKERR 1
61 #define REPLY_INVALID_CMD 2
62 #define REPLY_WRONG_TYPE 3
63 #define REPLY_INVALID_VALUE 4
64 #define REPLY_EEPROM_LOCKED 5
65 #define REPLY_CMD_NOT_AVAILABLE 6
66 #define REPLY_CMD_LOAD_ERROR 7
67 #define REPLY_WRITE_PROTECTED 8
68 #define REPLY_MAX_EXCEEDED 9
void ProcessCommand(void)
Fetch and execute TMCL commands.
Definition: Commands.c:164
UCHAR Status
status code
Definition: Commands.h:91
TMCL reply.
Definition: Commands.h:89
UCHAR Opcode
opcode of executed command
Definition: Commands.h:92
TMCL command.
Definition: Commands.h:76
UCHAR Opcode
command opcode
Definition: Commands.h:78
void InitTMCL(void)
Initialize TMCL interpreter.
Definition: Commands.c:148
long Int32
value parameter as 32 bit integer
Definition: Commands.h:83
unsigned char UCHAR
8 bits unsigned
Definition: stepRocker.h:31
UCHAR Motor
motor/bank parameter
Definition: Commands.h:80
UCHAR Type
type parameter
Definition: Commands.h:79
long Int32
reply value as 32 bit integer
Definition: Commands.h:95