eive-obsw/linux/fsfwconfig/objects/systemObjectList.h

91 lines
2.3 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_
2021-05-26 14:16:16 +02:00
#include "commonObjects.h"
2021-01-14 00:40:30 +01:00
#include <fsfw/objectmanager/frameworkObjects.h>
2021-05-26 14:16:16 +02:00
#include <cstdint>
2020-09-16 16:22:36 +02:00
// The objects will be instantiated in the ID order
2021-06-24 16:17:38 +02:00
// For naming scheme see flight manual
/*
https://egit.irs.uni-stuttgart.de/redmine/projects/eive-flight-manual/wiki/EIVE_Project_IDs
2021-01-14 00:40:30 +01:00
2021-06-24 16:17:38 +02:00
Second byte first four bits is the subsystem:
OBDH 0x0
ACS 0x1
EPS 0x2
PL 0x3
TCS 0x4
COM 0x5
2020-09-16 16:22:36 +02:00
2021-06-24 16:17:38 +02:00
Second byte last four bits is the bus:
None 0x0
GPIO 0x1
SPI 0x2
UART 0x3
I2C 0x4
CAN 0x5
2020-09-16 16:22:36 +02:00
2021-06-24 16:17:38 +02:00
Third byte is an assembly counter if there are multiple redundant devices.
Fourth byte is a unique counter.
2020-09-16 16:22:36 +02:00
2021-06-24 16:17:38 +02:00
*/
namespace objects {
enum sourceObjects: uint32_t {
/* 0x53 reserved for FSFW */
FW_ADDRESS_START = PUS_SERVICE_1_VERIFICATION,
FW_ADDRESS_END = TIME_STAMPER,
PUS_SERVICE_6 = 0x51000500,
2020-12-04 14:14:08 +01:00
2021-06-24 16:17:38 +02:00
CCSDS_IP_CORE_BRIDGE = 0x73500000,
TM_FUNNEL = 0x73000100,
2021-01-23 17:22:40 +01:00
2021-06-24 16:17:38 +02:00
/* 0x49 ('I') for Communication Interfaces **/
ARDUINO_COM_IF = 0x49000000,
CSP_COM_IF = 0x49050001,
I2C_COM_IF = 0x49040002,
UART_COM_IF = 0x49030003,
SPI_COM_IF = 0x49020004,
GPIO_IF = 0x49010005,
2021-01-28 14:55:21 +01:00
2021-06-24 16:17:38 +02:00
/* Custom device handler */
PCDU_HANDLER = 0x44200032,
SOLAR_ARRAY_DEPL_HANDLER = 0x44410033,
SYRLINKS_HK_HANDLER = 0x44530034,
HEATER_HANDLER = 0x44410035,
/**
* 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 = 0x44420036,
RTD_IC4 = 0x44420037,
RTD_IC5 = 0x44420038,
RTD_IC6 = 0x44420039,
RTD_IC7 = 0x44420040,
RTD_IC8 = 0x44420041,
RTD_IC9 = 0x44420042,
RTD_IC10 = 0x44420043,
RTD_IC11 = 0x44420044,
RTD_IC12 = 0x44420045,
RTD_IC13 = 0x44420046,
RTD_IC14 = 0x44420047,
RTD_IC15 = 0x44420048,
RTD_IC16 = 0x44420049,
RTD_IC17 = 0x44420050,
RTD_IC18 = 0x44420051,
2021-01-14 00:40:30 +01:00
2021-06-24 16:17:38 +02:00
RAD_SENSOR = 0x44300052,
2021-05-02 13:48:39 +02:00
2021-06-24 16:17:38 +02:00
/* 0x54 ('T') for test handlers */
TEST_TASK = 0x54694269,
LIBGPIOD_TEST = 0x54123456,
SPI_TEST = 0x54000010,
UART_TEST = 0x54000020,
DUMMY_INTERFACE = 0x5400CAFE,
DUMMY_HANDLER = 0x5400AFFE,
P60DOCK_TEST_TASK = 0x00005060
};
2020-09-16 16:22:36 +02:00
}
#endif /* BSP_CONFIG_OBJECTS_SYSTEMOBJECTLIST_H_ */