29 lines
429 B
C++
29 lines
429 B
C++
/*
|
|
* InputPinController.h
|
|
*
|
|
* Created on: May 31, 2018
|
|
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
|
*/
|
|
|
|
#ifndef SRC_UTILITIES_IINPUTGPIOINTERFACE_H_
|
|
#define SRC_UTILITIES_IINPUTGPIOINTERFACE_H_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace flippR_driver
|
|
{
|
|
namespace input
|
|
{
|
|
|
|
class InputPinController
|
|
{
|
|
public:
|
|
virtual ~InputPinController() = default;
|
|
|
|
virtual bool read_data(uint8_t pin) const = 0;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif |