Numworks Epsilon
1.4.1
Graphing Calculator Operating System
suspend.cpp
Go to the documentation of this file.
1
#include "
command.h
"
2
#include <
ion.h
>
3
4
namespace
Ion
{
5
namespace
Device {
6
namespace
Bench {
7
namespace
Command
{
8
9
void
Suspend
(
const
char
* input) {
10
if
(input !=
nullptr
) {
11
reply
(
sSyntaxError
);
12
return
;
13
}
14
reply
(
sOK
);
15
Ion::msleep
(100);
16
Ion::Power::suspend
();
17
}
18
19
}
20
}
21
}
22
}
Ion::Device::Bench::Command::sOK
const char *const sOK
Definition:
command.cpp:9
command.h
ion.h
Ion::msleep
void msleep(long ms)
Definition:
ion.cpp:4
Ion::Device::Bench::Command::sSyntaxError
const char *const sSyntaxError
Definition:
command.cpp:11
Ion::Display::Device::Command
Command
Definition:
display.h:63
Ion::Device::Bench::Command::Suspend
void Suspend(const char *input)
Definition:
suspend.cpp:9
Ion::Device::Bench::Command::reply
void reply(const char *s)
Definition:
command.cpp:15
Ion
Definition:
backlight.h:6
Ion::Power::suspend
void suspend(bool checkIfPowerKeyReleased=false)
Definition:
power.cpp:11
epsilon
ion
src
device
bench
command
suspend.cpp
Generated by
1.8.14