diff --git a/README.md b/README.md index c65db87..fde4fd0 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,9 @@ This crate is a working-in-progress and not ready for use. - [x] PLL setting (only PLL0 is supported, since others might be unsafe) - [x] GPIO, Flex, Input, Output - [x] RTT support (defmt, defmt-rtt) - - [ ] UART support + - [x] UART support - [x] blocking TX + - [x] blocking RX - MCUs - HPM5300 - currently it's the only supported series diff --git a/src/uart/mod.rs b/src/uart/mod.rs index d2e13cc..88f4d3c 100644 --- a/src/uart/mod.rs +++ b/src/uart/mod.rs @@ -710,15 +710,10 @@ fn configure( if enable_rx { r.idle_cfg().modify(|w| { w.set_rxen(true); + w.set_rx_idle_thr(10); // 10bit }); } - /* - r.mcr().modify(|w| { - w.set_loop_(false); - }); - */ - Ok(()) }