uart/software.hpp

19 lines
302 B
C++
Raw Normal View History

#pragma once
2019-07-28 12:15:19 +02:00
#include "config.hpp"
2019-07-28 12:15:19 +02:00
#include "../io/io.hpp"
namespace uart {
template <io::P rxPin, io::P txPin, class cfg = config<>>
2019-07-28 12:15:19 +02:00
class software {
public:
2019-07-28 14:08:41 +02:00
using data_t = typename cfg::data_t;
static constexpr auto DATA_BITS = cfg::DATA_BITS;
2019-07-28 12:15:19 +02:00
static void init() {}
};
} // namespace uart