Electronic Load 1.0 Programmable Constant Current Sink

usartcmd.h
Go to the documentation of this file.
1
5 #ifndef USARTCMD_H_
6 #define USARTCMD_H_
7
8
16 typedef struct {
22 char *cmd;
25 int8_t (*adr)(void);
32 const char *helptext;
33 } commandTable_t;
34
35 uint8_t ExecCommand(char *str);
36
37 #endif /* USARTCMD_H_ */
commandTable_t::cmd
char * cmd
The command string.
Definition: usartcmd.h:22
commandTable_t
Holds a Table containing all valid Commands and the corresponding Address of the routine handling it.
Definition: usartcmd.h:16
commandTable_t::helptext
const char * helptext
A short explanation printed with the help command.
Definition: usartcmd.h:32
ExecCommand
uint8_t ExecCommand(char *str)
Executes one command line.
Definition: usartcmd.c:549