16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 20:59:19 +02:00

milek7/sim branch uart input code import

This commit is contained in:
tmj-fstate
2020-04-09 03:17:17 +02:00
parent 65780f9fb2
commit f2c1a4dc96
2 changed files with 125 additions and 23 deletions

2
uart.h
View File

@@ -60,6 +60,8 @@ private:
using input_pin_t = std::tuple<std::size_t, input_type_t, user_command, user_command>;
using inputpin_sequence = std::vector<input_pin_t>;
bool setup_port();
// members
sp_port *port = nullptr;