2022-03-28 09:30:37 +02:00
|
|
|
#ifndef TEST_GPIO_DUMMYGPIOIF_H_
|
|
|
|
#define TEST_GPIO_DUMMYGPIOIF_H_
|
|
|
|
|
|
|
|
#include "fsfw_hal/common/gpio/GpioIF.h"
|
|
|
|
|
|
|
|
class DummyGpioIF : public GpioIF {
|
|
|
|
public:
|
|
|
|
DummyGpioIF();
|
|
|
|
virtual ~DummyGpioIF();
|
|
|
|
virtual ReturnValue_t addGpios(GpioCookie* cookie);
|
|
|
|
virtual ReturnValue_t pullHigh(gpioId_t gpioId);
|
|
|
|
virtual ReturnValue_t pullLow(gpioId_t gpioId);
|
2022-05-07 13:50:36 +02:00
|
|
|
virtual ReturnValue_t readGpio(gpioId_t gpioId, gpio::Levels& gpioState);
|
2022-03-28 09:30:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* TEST_GPIO_DUMMYGPIOIF_H_ */
|