56 lines
1.4 KiB
C++
56 lines
1.4 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 = 0x43001000,
|
|
ATTITUDE_CONTROLLER = 0x43002000,
|
|
ACS_CONTROLLER = 0x43003000,
|
|
CORE_CONTROLLER = 0x43004000,
|
|
|
|
/* 0x44 ('D') for device handlers */
|
|
P60DOCK_HANDLER = 0x44000001,
|
|
PDU1_HANDLER = 0x44000002,
|
|
PDU2_HANDLER = 0x44000003,
|
|
ACU_HANDLER = 0x44000004,
|
|
TMP1075_HANDLER_1 = 0x44000005,
|
|
TMP1075_HANDLER_2 = 0x44000006,
|
|
MGM_0_LIS3_HANDLER = 0x44000007,
|
|
MGM_1_RM3100_HANDLER = 0x44000008,
|
|
MGM_2_LIS3_HANDLER = 0x44000009,
|
|
MGM_3_RM3100_HANDLER = 0x44000010,
|
|
GYRO_0_ADIS_HANDLER = 0x44000011,
|
|
GYRO_1_L3G_HANDLER = 0x44000012,
|
|
GYRO_2_L3G_HANDLER = 0x44000013,
|
|
|
|
IMTQ_HANDLER = 0x44000014,
|
|
PLOC_HANDLER = 0x44000015,
|
|
|
|
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,
|
|
};
|
|
}
|
|
|
|
|
|
#endif /* COMMON_CONFIG_COMMONOBJECTS_H_ */
|