eive-obsw/test/gpio/DummyGpioIF.cpp

17 lines
454 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-03-28 13:54:46 +02:00
ReturnValue_t DummyGpioIF::addGpios(GpioCookie* cookie) { return RETURN_OK; }
2022-03-28 09:30:37 +02:00
2022-03-28 13:54:46 +02:00
ReturnValue_t DummyGpioIF::pullHigh(gpioId_t gpioId) { return RETURN_OK; }
2022-03-28 09:30:37 +02:00
2022-03-28 13:54:46 +02:00
ReturnValue_t DummyGpioIF::pullLow(gpioId_t gpioId) { return RETURN_OK; }
2022-03-28 09:30:37 +02:00
ReturnValue_t DummyGpioIF::readGpio(gpioId_t gpioId, gpio::Levels& gpioState) {
gpioState = gpio::Levels::LOW;
2022-03-28 13:54:46 +02:00
return RETURN_OK;
2022-03-28 09:30:37 +02:00
}