fsfw-example-common/config/commonObjects.h

40 lines
932 B
C
Raw Normal View History

2021-06-08 13:46:45 +02:00
#ifndef COMMON_COMMONSYSTEMOBJECTS_H_
#define COMMON_COMMONSYSTEMOBJECTS_H_
#include <fsfw/objectmanager/frameworkObjects.h>
2022-05-05 20:55:28 +02:00
#include <cstdint>
2021-06-08 13:46:45 +02:00
namespace objects {
2022-05-05 20:55:28 +02:00
enum commonObjects : object_id_t {
2021-06-08 13:46:45 +02:00
2022-05-05 20:55:28 +02:00
/* 0x41 ('A') for Assemblies */
TEST_ASSEMBLY = 0x4100CAFE,
2021-06-08 13:46:45 +02:00
2022-05-05 20:55:28 +02:00
/* 0x43 ('C') for Controllers */
TEST_CONTROLLER = 0x4301CAFE,
2021-06-08 13:46:45 +02:00
2022-05-05 20:55:28 +02:00
/* 0x44 ('D') for Device Handlers */
TEST_DEVICE_HANDLER_0 = 0x4401AFFE,
TEST_DEVICE_HANDLER_1 = 0x4402AFFE,
2021-06-08 13:46:45 +02:00
2022-05-05 20:55:28 +02:00
/* 0x49 ('I') for Communication Interfaces */
TEST_ECHO_COM_IF = 0x4900AFFE,
2021-06-08 13:46:45 +02:00
2022-05-05 20:55:28 +02:00
/* 0x63 ('C') for core objects */
CCSDS_DISTRIBUTOR = 0x63000000,
PUS_DISTRIBUTOR = 0x63000001,
TM_FUNNEL = 0x63000002,
2021-06-08 13:46:45 +02:00
2022-05-05 20:55:28 +02:00
/* 0x74 ('t') for test and example objects */
TEST_TASK = 0x7400CAFE,
TEST_DUMMY_1 = 0x74000001,
TEST_DUMMY_2 = 0x74000002,
TEST_DUMMY_3 = 0x74000003,
TEST_DUMMY_4 = 0x74000004,
TEST_DUMMY_5 = 0x74000005,
2021-06-08 13:46:45 +02:00
};
}
#endif /* COMMON_COMMONSYSTEMOBJECTS_H_ */