eive-obsw/common/config/commonObjects.h

59 lines
1.5 KiB
C++

#ifndef COMMON_CONFIG_COMMONOBJECTS_H_
#define COMMON_CONFIG_COMMONOBJECTS_H_
#include <cstdint>
namespace objects {
enum commonObjects: uint32_t {
/* First Byte 0x50-0x52 reserved for PUS Services **/
CCSDS_PACKET_DISTRIBUTOR = 0x50000100,
PUS_PACKET_DISTRIBUTOR = 0x50000200,
UDP_BRIDGE = 0x50000300,
UDP_POLLING_TASK = 0x50000400,
/* 0x43 ('C') for Controllers */
THERMAL_CONTROLLER = 0x43400001,
ACS_CONTROLLER = 0x43100002,
CORE_CONTROLLER = 0x43000003,
/* 0x44 ('D') for device handlers */
P60DOCK_HANDLER = 0x44200001,
PDU1_HANDLER = 0x44200002,
PDU2_HANDLER = 0x44200003,
ACU_HANDLER = 0x44200004,
TMP1075_HANDLER_1 = 0x44400005,
TMP1075_HANDLER_2 = 0x44400006,
MGM_0_LIS3_HANDLER = 0x44120007,
MGM_1_RM3100_HANDLER = 0x44120008,
MGM_2_LIS3_HANDLER = 0x44120009,
MGM_3_RM3100_HANDLER = 0x44120010,
GYRO_0_ADIS_HANDLER = 0x44120011,
GYRO_1_L3G_HANDLER = 0x44120012,
GYRO_2_ADIS_HANDLER = 0x44120013,
GYRO_3_L3G_HANDLER = 0x44120014,
IMTQ_HANDLER = 0x44140014,
PLOC_HANDLER = 0x44330015,
SUS_1 = 0x44000016,
SUS_2 = 0x44000017,
SUS_3 = 0x44000018,
SUS_4 = 0x44000019,
SUS_5 = 0x4400001A,
SUS_6 = 0x4400001B,
SUS_7 = 0x4400001C,
SUS_8 = 0x4400001D,
SUS_9 = 0x4400001E,
SUS_10 = 0x4400001F,
SUS_11 = 0x44000021,
SUS_12 = 0x44000022,
SUS_13 = 0x44000023,
GPS0_HANDLER = 0x44001000,
GPS1_HANDLER = 0x44002000
};
}
#endif /* COMMON_CONFIG_COMMONOBJECTS_H_ */