Moved uart utils to separate type submodule

This commit is contained in:
2020-04-07 03:50:29 +02:00
parent 6f592dd098
commit 41b9ef74f9
4 changed files with 26 additions and 170 deletions

View File

@@ -1,15 +1,15 @@
#pragma once
#include "config.hpp"
#include "utils.hpp"
#include "../io/io.hpp"
#include "../type/type.hpp"
namespace uart {
template <io::P rxPin, io::P txPin, class cfg = Config<>>
class Software {
static_assert(util::always_false_v<cfg>, "Not implemented");
static_assert(type::always_false_v<cfg>, "Not implemented");
public:
using data_t = typename cfg::data_t;