17 lines
470 B
C++
17 lines
470 B
C++
#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);
|
|
virtual ReturnValue_t readGpio(gpioId_t gpioId, gpio::Levels& gpioState);
|
|
};
|
|
|
|
#endif /* TEST_GPIO_DUMMYGPIOIF_H_ */
|