Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Ion::Device::Bench Namespace Reference

Namespaces

 Command
 

Classes

class  CommandHandler
 
class  CommandList
 

Functions

void run ()
 

Variables

constexpr CommandHandler handles []
 
constexpr const CommandList sCommandList = CommandList(handles)
 
constexpr int kMaxCommandLength = 255
 

Function Documentation

◆ run()

void Ion::Device::Bench::run ( )

Definition at line 28 of file bench.cpp.

Variable Documentation

◆ handles

constexpr CommandHandler Ion::Device::Bench::handles[]
Initial value:
= {
CommandHandler("ADC", Command::ADC),
CommandHandler("BACKLIGHT", Command::Backlight),
CommandHandler("CHARGE", Command::Charge),
CommandHandler("DISPLAY", Command::Display),
CommandHandler("EXIT", Command::Exit),
CommandHandler("KEYBOARD", Command::Keyboard),
CommandHandler("LED", Command::LED),
CommandHandler("MCU_SERIAL", Command::MCUSerial),
CommandHandler("PING", Command::Ping),
CommandHandler("PRINT", Command::Print),
CommandHandler("SUSPEND", Command::Suspend),
CommandHandler(nullptr, nullptr)
}
constexpr ADC ADC
Definition: adc.h:71
void Display(const char *input)
Definition: display.cpp:11
void Backlight(const char *input)
Definition: backlight.cpp:10
void Ping(const char *input)
Definition: ping.cpp:8
void LED(const char *input)
Definition: led.cpp:11
void Suspend(const char *input)
Definition: suspend.cpp: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 Keyboard(const char *input)
Definition: keyboard.cpp:9

Definition at line 9 of file bench.cpp.

◆ kMaxCommandLength

constexpr int Ion::Device::Bench::kMaxCommandLength = 255

Definition at line 26 of file bench.cpp.

◆ sCommandList

constexpr const CommandList Ion::Device::Bench::sCommandList = CommandList(handles)

Definition at line 24 of file bench.cpp.