eive-obsw/test/gpio/DummyGpioIF.cpp

17 lines
454 B
C++

#include "DummyGpioIF.h"
DummyGpioIF::DummyGpioIF() {}
DummyGpioIF::~DummyGpioIF() {}
ReturnValue_t DummyGpioIF::addGpios(GpioCookie* cookie) { return RETURN_OK; }
ReturnValue_t DummyGpioIF::pullHigh(gpioId_t gpioId) { return RETURN_OK; }
ReturnValue_t DummyGpioIF::pullLow(gpioId_t gpioId) { return RETURN_OK; }
ReturnValue_t DummyGpioIF::readGpio(gpioId_t gpioId, gpio::Levels& gpioState) {
gpioState = gpio::Levels::LOW;
return RETURN_OK;
}