Numworks Epsilon  1.4.1
Graphing Calculator Operating System
command.h
Go to the documentation of this file.
1 #ifndef ION_DEVICE_BENCH_COMMAND_COMMAND_H
2 #define ION_DEVICE_BENCH_COMMAND_COMMAND_H
3 
4 #include <stdint.h>
5 
6 namespace Ion {
7 namespace Device {
8 namespace Bench {
9 namespace Command {
10 
11 typedef void (*Function)(const char * input);
12 
13 void ADC(const char * input);
14 void Backlight(const char * input);
15 void Charge(const char * input);
16 void Display(const char * input);
17 void Exit(const char * input);
18 void Keyboard(const char * input);
19 void LED(const char * input);
20 void MCUSerial(const char * input);
21 void Ping(const char * input);
22 void Print(const char * input);
23 void Suspend(const char * input);
24 
25 extern const char * const sOK;
26 extern const char * const sKO;
27 extern const char * const sSyntaxError;
28 extern const char * const sON;
29 extern const char * const sOFF;
30 
31 void reply(const char * s);
32 int8_t hexChar(char c);
33 bool isHex(char c);
34 uint32_t hexNumber(const char * s, int maxLength = -1);
35 
36 }
37 }
38 }
39 }
40 
41 #endif
const char *const sOK
Definition: command.cpp:9
void(* Function)(const char *input)
Definition: command.h:11
void Display(const char *input)
Definition: display.cpp:11
const char *const sSyntaxError
Definition: command.cpp:11
void Backlight(const char *input)
Definition: backlight.cpp:10
void Charge(const char *input)
Definition: charge.cpp:9
void Ping(const char *input)
Definition: ping.cpp:8
void ADC(const char *input)
Definition: adc.cpp:11
const char *const sON
Definition: command.cpp:12
const char *const sOFF
Definition: command.cpp:13
c(generic_all_nodes)
unsigned int uint32_t
Definition: stdint.h:6
void LED(const char *input)
Definition: led.cpp:11
void Suspend(const char *input)
Definition: suspend.cpp:9
const char *const sKO
Definition: command.cpp:10
uint32_t hexNumber(const char *s, int maxLength)
Definition: command.cpp:33
signed char int8_t
Definition: stdint.h:9
void Print(const char *input)
Definition: print.cpp:12
void Exit(const char *input)
Definition: exit.cpp:8
void MCUSerial(const char *input)
Definition: mcu_serial.cpp:9
void reply(const char *s)
Definition: command.cpp:15
void Keyboard(const char *input)
Definition: keyboard.cpp:9
Definition: backlight.h:6
int8_t hexChar(char c)
Definition: command.cpp:19