eive-obsw/fsfwconfig/devices/addresses.h

41 lines
811 B
C
Raw Normal View History

2020-09-16 16:22:36 +02:00
/**
2020-12-04 14:14:08 +01:00
* \file addresses.cpp
2020-09-16 16:22:36 +02:00
*
* \date 07.11.2019
*/
2020-12-04 14:14:08 +01:00
#ifndef FSFWCONFIG_DEVICES_ADDRESSES_H_
#define FSFWCONFIG_DEVICES_ADDRESSES_H_
2020-09-16 16:22:36 +02:00
#include <stdint.h>
#include <fsfw/devicehandlers/CookieIF.h>
2020-11-20 18:10:39 +01:00
#include <fsfwconfig/objects/systemObjectList.h>
2020-09-16 16:22:36 +02:00
namespace addresses {
/* Logical addresses have uint32_t datatype */
enum logicalAddresses: address_t {
PCDU,
/* Dummy and Test Addresses */
DUMMY_ECHO = 129,
DUMMY_GPS0 = 130,
DUMMY_GPS1 = 131,
};
2020-12-04 14:14:08 +01:00
2021-01-12 10:39:24 +01:00
enum i2cAddresses: address_t {
TMP1075_TCS_1 = 72,
TMP1075_TCS_2 = 73,
};
2020-12-04 14:14:08 +01:00
/* Addresses of devices supporting the CSP protocol */
enum cspAddresses: uint8_t {
P60DOCK = 4,
2020-12-21 10:26:28 +01:00
ACU = 2,
2020-12-20 13:31:44 +01:00
PDU1 = 3,
2020-12-04 14:14:08 +01:00
/* PDU2 occupies X4 slot of P60Dock */
PDU2 = 6
};
2020-09-16 16:22:36 +02:00
}
2020-12-04 14:14:08 +01:00
#endif /* FSFWCONFIG_DEVICES_ADDRESSES_H_ */