Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
rokubimini_serial
states.hpp
Go to the documentation of this file.
1
/*
2
* states.hpp
3
*
4
* Created on: Dec 19, 2016
5
* Author(s): Christian Gehring
6
*/
7
8
#pragma once
9
10
namespace
rokubimini
11
{
12
namespace
serial
13
{
14
enum class
ConnectionState
: unsigned int
15
{
16
DISCONNECTED
= 0,
17
ISCONNECTING
,
18
CONNECTED
19
};
20
21
enum class
ModeState
: unsigned int
22
{
23
RUN_MODE
= 0,
24
CONFIG_MODE
,
25
INIT_MODE
26
};
27
28
enum class
ErrorState
: unsigned int
29
{
30
NO_ERROR
= 0,
31
OFFSET_ERROR
,
32
CALIBRATION_ERROR
,
33
PACKET_READING_ERROR
,
34
SYNC_ERROR
35
};
36
37
}
// namespace serial
38
}
// namespace rokubimini
rokubimini::serial::ErrorState::NO_ERROR
rokubimini::serial::ConnectionState::CONNECTED
rokubimini::serial::ErrorState::SYNC_ERROR
rokubimini::serial::ModeState
ModeState
Definition:
states.hpp:21
rokubimini::serial::ErrorState::CALIBRATION_ERROR
rokubimini::serial::ConnectionState::DISCONNECTED
rokubimini::serial::ModeState::RUN_MODE
rokubimini::serial::ConnectionState::ISCONNECTING
rokubimini::serial::ErrorState::OFFSET_ERROR
rokubimini::serial::ErrorState::PACKET_READING_ERROR
rokubimini::serial::ModeState::INIT_MODE
rokubimini::serial::ErrorState
ErrorState
Definition:
states.hpp:28
rokubimini::serial::ModeState::CONFIG_MODE
rokubimini::serial::ConnectionState
ConnectionState
Definition:
states.hpp:14
rokubimini
System dependencies.
rokubimini_serial
Author(s):
autogenerated on Wed Mar 3 2021 03:09:18