Go to the source code of this file.
|
enum | CB_Command {
NONE = 0,
COMMAND_START = 1,
COMMAND_STOP = 2,
COMMAND_RESET = 3,
COMMAND_DISABLE = 4
} |
|
enum | CB_State {
STATE_NOPOWER,
STATE_STANDBY,
STATE_PUMPING,
STATE_ON,
STATE_DISABLED
} |
|
enum | Master_State {
MASTER_NOPOWER,
MASTER_STANDBY,
MASTER_ON,
MASTER_OFF,
MASTER_SHUTDOWN
} |
|
◆ COMMAND_FLAG_RESET_STATS
#define COMMAND_FLAG_RESET_STATS 0x1 |
◆ COMMAND_FLAG_RESET_TRANSITION_STATS
#define COMMAND_FLAG_RESET_TRANSITION_STATS 0x2 |
◆ CURRENT_MESSAGE_SIZE
#define CURRENT_MESSAGE_SIZE (sizeof(PowerMessage)) |
◆ REVISION_2_MESSAGE_SIZE
#define REVISION_2_MESSAGE_SIZE (sizeof(MessageHeader) + sizeof(StatusStruct_Rev2)) |
◆ CB_Command
Enumerator |
---|
NONE | |
COMMAND_START | |
COMMAND_STOP | |
COMMAND_RESET | |
COMMAND_DISABLE | |
Definition at line 50 of file power_comm.h.
◆ CB_State
Enumerator |
---|
STATE_NOPOWER | |
STATE_STANDBY | |
STATE_PUMPING | |
STATE_ON | |
STATE_DISABLED | |
Definition at line 49 of file power_comm.h.
◆ Master_State
Enumerator |
---|
MASTER_NOPOWER | |
MASTER_STANDBY | |
MASTER_ON | |
MASTER_OFF | |
MASTER_SHUTDOWN | |
Definition at line 48 of file power_comm.h.
◆ COMMAND_MESSAGE_REVISION
const unsigned COMMAND_MESSAGE_REVISION = 2 |
|
static |
◆ CURRENT_MESSAGE_REVISION
const unsigned CURRENT_MESSAGE_REVISION = 3 |
|
static |
◆ MESSAGE_ID_COMMAND
const unsigned MESSAGE_ID_COMMAND = 1 |
|
static |
◆ MESSAGE_ID_POWER
const unsigned MESSAGE_ID_POWER = 0 |
|
static |
◆ MESSAGE_ID_STATUS
const unsigned MESSAGE_ID_STATUS = 3 |
|
static |
◆ MESSAGE_ID_TRANSITION
const unsigned MESSAGE_ID_TRANSITION = 2 |
|
static |
◆ MINIMUM_MESSAGE_REVISION
const unsigned MINIMUM_MESSAGE_REVISION = 2 |
|
static |
◆ POWER_PORT
const unsigned POWER_PORT = 6801 |
|
static |
◆ STATUS_MESSAGE_REVISION
const unsigned STATUS_MESSAGE_REVISION = 2 |
|
static |
◆ TRANSITION_MESSAGE_REVISION
const unsigned TRANSITION_MESSAGE_REVISION = 2 |
|
static |