FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
HeadersBIAS.h
Go to the documentation of this file.
1
#ifndef FACT_HeadersBIAS
2
#define FACT_HeadersBIAS
3
4
namespace
BIAS
5
{
6
enum
7
{
8
kNumBoards
= 13,
9
kNumChannelsPerBoard
= 32,
10
kNumChannels
=
kNumBoards
*
kNumChannelsPerBoard
11
};
12
13
enum
Command_t
14
{
15
// Communication commands
16
kCmdReset
= 0,
17
kCmdRead
= 1,
18
kCmdGlobalSet
= 2,
19
kCmdChannelSet
= 3,
20
21
// Internal command names
22
kResetChannels
= 0x10|
kCmdChannelSet
,
23
kUpdate
= 0x10|
kCmdRead
,
24
kExpertChannelSet
= 0x14|
kCmdChannelSet
,
25
kSynchronize
= 0x1e,
26
};
27
28
enum
29
{
30
kMaxDac
= 0xfff
31
};
32
33
namespace
State
34
{
35
enum
states_t
36
{
37
kDisconnected
= 1,
//StateMachineImp::kSM_UserMode,
38
kConnecting
,
39
kInitializing
,
40
kConnected
,
41
kRamping
,
42
kOverCurrent
,
43
kVoltageOff
,
44
kNotReferenced
,
45
kVoltageOn
,
46
kExpertMode
,
// 'forward' declaration to be used in StateMachineBias
47
kLocked
,
48
};
49
}
50
}
51
52
#endif
BIAS::State::kDisconnected
Definition:
HeadersBIAS.h:37
BIAS::State::kExpertMode
Definition:
HeadersBIAS.h:46
BIAS::kNumBoards
Definition:
HeadersBIAS.h:8
BIAS::State::kNotReferenced
Definition:
HeadersBIAS.h:44
BIAS::kCmdRead
Definition:
HeadersBIAS.h:17
BIAS::State::kVoltageOff
Definition:
HeadersBIAS.h:43
BIAS::State::kVoltageOn
Definition:
HeadersBIAS.h:45
BIAS::kSynchronize
Definition:
HeadersBIAS.h:25
BIAS::State::kConnecting
Definition:
HeadersBIAS.h:38
BIAS::kResetChannels
Definition:
HeadersBIAS.h:22
BIAS::State::kRamping
Definition:
HeadersBIAS.h:41
BIAS::kCmdGlobalSet
Definition:
HeadersBIAS.h:18
BIAS::State::kLocked
Definition:
HeadersBIAS.h:47
BIAS::Command_t
Command_t
Definition:
HeadersBIAS.h:13
BIAS::kExpertChannelSet
Definition:
HeadersBIAS.h:24
BIAS::State::kConnected
Definition:
HeadersBIAS.h:40
BIAS::kCmdReset
Definition:
HeadersBIAS.h:16
BIAS::kUpdate
Definition:
HeadersBIAS.h:23
BIAS::State::kInitializing
Definition:
HeadersBIAS.h:39
BIAS::kNumChannels
Definition:
HeadersBIAS.h:10
BIAS::kMaxDac
Definition:
HeadersBIAS.h:30
BIAS
Definition:
HeadersBIAS.h:4
BIAS::kNumChannelsPerBoard
Definition:
HeadersBIAS.h:9
BIAS::State::kOverCurrent
Definition:
HeadersBIAS.h:42
BIAS::kCmdChannelSet
Definition:
HeadersBIAS.h:19
BIAS::State::states_t
states_t
Definition:
HeadersBIAS.h:35
State
Definition:
HeadersFAD.h:57
src
HeadersBIAS.h
Generated on Sun Sep 18 2016 20:50:25 for FACT++ by
1.8.11