eive-obsw/test/gpio/DummyGpioIF.cpp

17 lines
430 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, int* gpioState) {
2022-03-28 13:54:46 +02:00
*gpioState = 0;
return RETURN_OK;
2022-03-28 09:30:37 +02:00
}