Add bufferedUart, including a split version for only Rx or Tx

This commit is contained in:
Mathias
2022-09-09 10:36:27 +02:00
parent 9611e7c9f2
commit 31d85da78a
2 changed files with 315 additions and 66 deletions

View File

@ -343,7 +343,7 @@ impl<'d, T: Instance, M: Mode> Uart<'d, T, M> {
w.set_stp2(config.stop_bits == StopBits::STOP2);
w.set_pen(pen);
w.set_eps(eps);
w.set_fen(true);
w.set_fen(false);
});
r.uartcr().write(|w| {