19 lines
308 B
C++
19 lines
308 B
C++
#pragma once
|
|
|
|
#include "config.hpp"
|
|
|
|
#include "../io/io.hpp"
|
|
|
|
namespace uart {
|
|
|
|
template <io::P rxPin, io::P txPin, class cfg = config<>>
|
|
class software {
|
|
public:
|
|
using data_t = typename config::data_t;
|
|
static constexpr auto DATA_BITS = config::DATA_BITS;
|
|
|
|
static void init() {}
|
|
};
|
|
|
|
} // namespace uart
|