Loading files
#pragma once
#include "Hal/Serial.hpp"
#include "Stream/Readable.hpp"
#include "Stream/Writable.hpp"
namespace Espfc::Stream {
// Bidirectional byte stream.
class ReadWritable : public Readable, public Writable
{
public:
virtual void begin(const Hal::SerialDeviceConfig& config) = 0;
virtual void updateBaudRate(int baud) = 0;
protected:
~ReadWritable() = default;
};
} // namespace Espfc::Stream
c04356942This file is pinned to the selected release. Download the original to open it in your design tool.