eive-obsw/fsfwconfig/objects/systemObjectList.h

114 lines
3.1 KiB
C
Raw Normal View History

2020-09-16 16:22:36 +02:00
#ifndef HOSTED_CONFIG_OBJECTS_SYSTEMOBJECTLIST_H_
#define HOSTED_CONFIG_OBJECTS_SYSTEMOBJECTLIST_H_
#include <cstdint>
2021-01-14 00:40:30 +01:00
#include <fsfw/objectmanager/frameworkObjects.h>
2020-09-16 16:22:36 +02:00
// The objects will be instantiated in the ID order
namespace objects {
enum sourceObjects: uint32_t {
2021-01-14 00:40:30 +01:00
/* 0x53 reserved for FSFW */
FW_ADDRESS_START = PUS_SERVICE_1_VERIFICATION,
FW_ADDRESS_END = TIME_STAMPER,
2020-09-16 16:22:36 +02:00
/* First Byte 0x50-0x52 reserved for PUS Services **/
CCSDS_PACKET_DISTRIBUTOR = 0x50000100,
PUS_PACKET_DISTRIBUTOR = 0x50000200,
UDP_BRIDGE = 0x50000300,
UDP_POLLING_TASK = 0x50000400,
2021-05-16 19:22:04 +02:00
CCSDS_IP_CORE_BRIDGE = 0x50000500,
2020-09-16 16:22:36 +02:00
PUS_SERVICE_3 = 0x51000300,
PUS_SERVICE_5 = 0x51000400,
PUS_SERVICE_6 = 0x51000500,
PUS_SERVICE_8 = 0x51000800,
PUS_SERVICE_23 = 0x51002300,
PUS_SERVICE_201 = 0x51020100,
2020-09-30 17:17:01 +02:00
TM_FUNNEL = 0x52000002,
2020-09-16 16:22:36 +02:00
2020-10-01 02:06:39 +02:00
/* 0x49 ('I') for Communication Interfaces **/
2020-11-19 18:24:03 +01:00
ARDUINO_COM_IF = 0x49000001,
2020-12-20 13:31:44 +01:00
CSP_COM_IF = 0x49000002,
2021-01-08 09:34:43 +01:00
I2C_COM_IF = 0x49000003,
2021-02-22 09:24:42 +01:00
UART_COM_IF = 0x49000004,
SPI_COM_IF = 0x49000005,
2020-12-04 14:14:08 +01:00
2021-01-23 17:22:40 +01:00
/* 0x47 ('G') for Gpio Interfaces */
2021-01-28 14:55:21 +01:00
GPIO_IF = 0x47000001,
2021-01-23 17:22:40 +01:00
2020-12-04 14:14:08 +01:00
/* 0x44 ('D') for device handlers */
2020-12-20 13:31:44 +01:00
P60DOCK_HANDLER = 0x44000001,
2020-12-20 17:35:03 +01:00
PDU1_HANDLER = 0x44000002,
2020-12-21 10:26:28 +01:00
PDU2_HANDLER = 0x44000003,
2021-01-08 09:34:43 +01:00
ACU_HANDLER = 0x44000004,
TMP1075_HANDLER_1 = 0x44000005,
2021-01-23 17:22:40 +01:00
TMP1075_HANDLER_2 = 0x44000006,
2021-04-01 15:22:16 +02:00
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,
2021-03-26 12:08:37 +01:00
IMTQ_HANDLER = 0x44000014,
2021-04-11 12:04:13 +02:00
PLOC_HANDLER = 0x44000015,
2021-03-26 12:08:37 +01:00
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,
2021-01-28 14:55:21 +01:00
/* Custom device handler */
PCDU_HANDLER = 0x44001000,
SOLAR_ARRAY_DEPL_HANDLER = 0x44001001,
SYRLINKS_HK_HANDLER = 0x44001002,
2021-01-28 14:55:21 +01:00
2021-01-23 17:22:40 +01:00
/* 0x54 ('T') for thermal objects */
2021-02-16 15:32:24 +01:00
HEATER_HANDLER = 0x54000003,
2021-03-13 14:42:30 +01:00
/**
* Not yet specified which pt1000 will measure which device/location in the satellite.
* Therefore object ids are named according to the IC naming of the RTDs in the schematic.
*/
RTD_IC3 = 0x54000004,
RTD_IC4 = 0x54000005,
RTD_IC5 = 0x54000006,
RTD_IC6 = 0x54000007,
RTD_IC7 = 0x54000008,
RTD_IC8 = 0x54000009,
RTD_IC9 = 0x5400000A,
RTD_IC10 = 0x5400000B,
RTD_IC11 = 0x5400000C,
RTD_IC12 = 0x5400000D,
RTD_IC13 = 0x5400000E,
RTD_IC14 = 0x5400000F,
RTD_IC15 = 0x5400001F,
RTD_IC16 = 0x5400002F,
RTD_IC17 = 0x5400003F,
RTD_IC18 = 0x5400004F,
2021-01-14 00:40:30 +01:00
2021-05-02 13:48:39 +02:00
RAD_SENSOR = 0x54000050,
2021-01-14 00:40:30 +01:00
/* 0x54 ('T') for test handlers */
TEST_TASK = 0x54694269,
2021-02-14 09:25:40 +01:00
LIBGPIOD_TEST = 0x54123456,
2021-01-14 00:40:30 +01:00
SPI_TEST = 0x54000010,
DUMMY_INTERFACE = 0x5400CAFE,
DUMMY_HANDLER = 0x5400AFFE,
2021-01-28 14:55:21 +01:00
P60DOCK_TEST_TASK = 0x00005060
2020-09-16 16:22:36 +02:00
};
}
#endif /* BSP_CONFIG_OBJECTS_SYSTEMOBJECTLIST_H_ */