eive-obsw/test/gpio/DummyGpioIF.cpp

17 lines
478 B
C++
Raw Normal View History

2022-03-28 09:30:37 +02:00
#include "DummyGpioIF.h"
2022-03-28 13:54:46 +02:00
DummyGpioIF::DummyGpioIF() {}
2022-03-28 09:30:37 +02:00
2022-03-28 13:54:46 +02:00
DummyGpioIF::~DummyGpioIF() {}
2022-03-28 09:30:37 +02:00
2022-08-24 17:27:47 +02:00
ReturnValue_t DummyGpioIF::addGpios(GpioCookie* cookie) { return returnvalue::OK; }
2022-03-28 09:30:37 +02:00
2022-08-24 17:27:47 +02:00
ReturnValue_t DummyGpioIF::pullHigh(gpioId_t gpioId) { return returnvalue::OK; }
2022-03-28 09:30:37 +02:00
2022-08-24 17:27:47 +02:00
ReturnValue_t DummyGpioIF::pullLow(gpioId_t gpioId) { return returnvalue::OK; }
2022-03-28 09:30:37 +02:00
ReturnValue_t DummyGpioIF::readGpio(gpioId_t gpioId, gpio::Levels& gpioState) {
gpioState = gpio::Levels::LOW;
2022-08-24 17:27:47 +02:00
return returnvalue::OK;
2022-03-28 09:30:37 +02:00
}