FACT++  1.0
FTM Namespace Reference

Namespaces

 State
 

Classes

struct  DimDynamicData
 
struct  DimError
 
struct  DimFtuList
 
struct  DimPassport
 
struct  DimStaticData
 
struct  DimTriggerRates
 
struct  DynamicData
 
struct  DynamicDataBoard
 
struct  Error
 
struct  FtuList
 
struct  FtuResponse
 
struct  Header
 
struct  StaticData
 
struct  StaticDataBoard
 

Enumerations

enum  States {
  kFtmUndefined = 0, kFtmIdle = 1, kFtmConfig = 2, kFtmRunning = 3,
  kFtmCalib = 4, kFtmStates = 0x0ff, kFtmLocked = 0x100
}
 
enum  Commands {
  kCmdRead = 0x0001, kCmdWrite = 0x0002, kCmdStartRun = 0x0004, kCmdStopRun = 0x0008,
  kCmdPing = 0x0010, kCmdCrateReset = 0x0020, kCmdDisableReports = 0x0040, kCmdConfigFTU = 0x0080,
  kCmdToggleLed = 0xc000, kCmdStaticData = 0x0001, kCmdDynamicData = 0x0002, kCmdRegister = 0x0004,
  kStartRun = 0x0001, kTakeNevents = 0x0002, kResetCrate0 = 0x0001, kResetCrate1 = 0x0002,
  kResetCrate2 = 0x0004, kResetCrate3 = 0x0008
}
 Command codes for FTM communication. More...
 
enum  Types {
  kHeader = 0, kStaticData = 1, kDynamicData = 2, kFtuList = 3,
  kErrorList = 4, kRegister = 5
}
 Types sent in the header of the following data. More...
 
enum  Delimiter { kDelimiterStart = 0xfb01, kDelimiterEnd = 0x04fe }
 

Functions

struct FTM::Header __attribute__ ((__packed__))
 
std::ostream & operator<< (std::ostream &out, const FtuResponse &h)
 
std::ostream & operator<< (std::ostream &out, const Header &h)
 
std::ostream & operator<< (std::ostream &out, const FtuList &h)
 
std::ostream & operator<< (std::ostream &out, const DynamicDataBoard &h)
 
std::ostream & operator<< (std::ostream &out, const DynamicData &h)
 
std::ostream & operator<< (std::ostream &out, const StaticDataBoard &h)
 
std::ostream & operator<< (std::ostream &out, const StaticData &h)
 
std::ostream & operator<< (std::ostream &out, const Error &h)