27#ifndef CBMPSDADDRESS_H
28#define CBMPSDADDRESS_H 1
43 static uint32_t
GetAddress(int32_t moduleId, int32_t sectionId)
86 static uint32_t
SetModuleId(uint32_t address, int32_t newModuleId)
98 static uint32_t
SetSectionId(uint32_t address, int32_t newSectionId)
XPU_D constexpr auto ToIntegralType(T enumerator) -> typename std::underlying_type< T >::type
@ kPsd
Projectile spectator detector.
CBM PSD interface class to the unique address.
static const int32_t fgkSectionIdShift
static const int32_t fgkSystemIdLength
static uint32_t SetModuleId(uint32_t address, int32_t newModuleId)
Set new module ID for address.
static uint32_t GetSystemId(uint32_t address)
Return System identifier from address.
static uint32_t GetAddress(int32_t moduleId, int32_t sectionId)
Return address from system ID, module, Section.
static uint32_t SetSectionId(uint32_t address, int32_t newSectionId)
Set new section ID for address.
static const int32_t fgkSectionIdLength
static const int32_t fgkModuleIdShift
static const int32_t fgkModuleIdLength
static const int32_t fgkSystemIdShift
static uint32_t GetSectionId(uint32_t address)
Return sector ID from address.
static uint32_t GetModuleId(uint32_t address)
Return module ID from address.