22 lines
393 B
C++
22 lines
393 B
C++
#pragma once
|
|
|
|
#include "config.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(type::always_false_v<cfg>, "Not implemented");
|
|
|
|
public:
|
|
using data_t = typename cfg::data_t;
|
|
static constexpr auto DATA_BITS = cfg::DATA_BITS;
|
|
|
|
static void init() {}
|
|
};
|
|
|
|
} // namespace uart
|