LevelMeter-Display  2.0
An ultrasonic Level Meter for Stormwater Cisterns
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;
34 
35 
36 
37 uint8_t ExecCommand(char *str);
38 
39 
40 
41 #endif /* USARTCMD_H_ */
char * cmd
The command string.
Definition: usartcmd.h:22
Holds a Table containing all valid Commands and the corresponding Address of the routine handling it.
Definition: usartcmd.h:16
const char * helptext
A short explanation printed with the help command.
Definition: usartcmd.h:32
uint8_t ExecCommand(char *str)
Executes one command line.
Definition: usartcmd.c:1005