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