12 #ifndef COMMANDLIST_H_ 13 #define COMMANDLIST_H_ 20 #include "CommandHandler.h" 27 #define NUM_OF(x) (sizeof(x)/sizeof(x[0])) 29 #define MONITOR_MAX_COMMAND_NUM (uint8_t)( NUM_OF(CommandList)) 45 extern const CommandID_t MONITOR_CommandNum;
55 CommandResult_t CommandFunction_cls(uint32_t argc,
char** argv);
56 CommandResult_t CommandFunction_help(uint32_t argc,
char** argv);
58 CommandResult_t CommandFunction_version(uint32_t argc,
char** argv);
59 CommandResult_t CommandFunction_welcome(uint32_t argc,
char** argv);
61 CommandResult_t CommandFunction_test(uint32_t argc,
char** argv);
63 CommandResult_t CommandFunction_set(uint32_t argc,
char** argv);
64 CommandResult_t CommandFunction_get(uint32_t argc,
char** argv);
65 CommandResult_t CommandFunction_GlobalVariableHelp(uint32_t argc,
char** argv);
66 CommandResult_t CommandFunction_GlobalVariableList(uint32_t argc,
char** argv);
67 CommandResult_t CommandFunction_GlobalVariableValueList(uint32_t argc,
char** argv);
69 CommandResult_t CommandFunction_reset(uint32_t argc,
char** argv);
70 CommandResult_t CommandFunction_led(uint32_t argc,
char** argv);
72 CommandResult_t CommandFunction_unittest(uint32_t argc,
char** argv);
73 CommandResult_t CommandFunction_moduletest(uint32_t argc,
char** argv);
75 CommandResult_t CommandFunction_dac(uint32_t argc,
char** argv);
76 CommandResult_t CommandFunction_io(uint32_t argc,
char** argv);
77 CommandResult_t CommandFunction_adc(uint32_t argc,
char** argv);
78 CommandResult_t CommandFunction_adcread(uint32_t argc,
char** argv);
80 CommandResult_t CommandFunction_raspberrypi(uint32_t argc,
char** argv);
82 CommandResult_t CommandFunction_flashdel(uint32_t argc,
char** argv);
83 CommandResult_t CommandFunction_flashread(uint32_t argc,
char** argv);
84 CommandResult_t CommandFunction_flashwrite(uint32_t argc,
char** argv);
85 CommandResult_t CommandFunction_temp(uint32_t argc,
char** argv);
Command structure.
Definition: CommandHandler.h:157