24 #ifndef MFEEDGEGPIO_HPP__
25 #define MFEEDGEGPIO_HPP__
27 #include "device/Gpio.hpp"
37 typedef std::shared_ptr<MFEEdgeGpio> Shared;
39 MFEEdgeGpio(
const std::string &
uid,
const std::shared_ptr<MFEPlatform> &mfe);
43 std::future<units::io_port_t>
getIoState()
const override;
46 std::weak_ptr<MFEPlatform> m_mfe;
DeviceId uid() const
Get the address of device.
std::future< units::io_port_t > getIoState() const override
Get current state of this GPIO.
std::future< void > setIoState(const units::io_port_t &state) const override
Set state of this IO.
main motion-lib namespace