Loading files
#pragma once
#include <cstddef>
#include <cstdint>
namespace Espfc {
enum InputStatus
{
INPUT_IDLE,
INPUT_RECEIVED,
INPUT_LOST,
INPUT_FAILSAFE
};
namespace Device {
class InputDevice
{
public:
virtual InputStatus update() = 0;
virtual uint16_t get(uint8_t channel) const = 0;
virtual void get(uint16_t* data, size_t len) const = 0;
virtual size_t getChannelCount() const = 0;
virtual bool needAverage() const = 0;
};
} // namespace Device
} // namespace Espfc
66c1bda98This file is pinned to the selected release. Download the original to open it in your design tool.