eive-obsw/mission/system/tcs/TmpDevFdir.h

21 lines
748 B
C
Raw Normal View History

2023-04-13 23:54:23 +02:00
#ifndef MISSION_SYSTEM_TCS_TMPDEVFDIR_H_
#define MISSION_SYSTEM_TCS_TMPDEVFDIR_H_
#include <fsfw/devicehandlers/DeviceHandlerFailureIsolation.h>
/**
* Special FDIR because we can not simply power cycle the TMP devices which are powered by the
* 3.3 V stack and there is also no way to logically reset or re-configure the TMP devices in
* any way. In general, instead of doing a recovery, the TMP devices should be set faulty
* immediately for the EIVE project.
*/
class TmpDevFdir : public DeviceHandlerFailureIsolation {
public:
TmpDevFdir(object_id_t sensorId);
private:
ReturnValue_t eventReceived(EventMessage* event) override;
void eventConfirmed(EventMessage* event) override;
};
#endif /* MISSION_SYSTEM_TCS_TMPDEVFDIR_H_ */