rp/uart: report errors from dma receive

This commit is contained in:
pennae
2023-04-29 10:30:04 +02:00
parent 1d5adb8974
commit b58b9ff390
4 changed files with 375 additions and 25 deletions

View File

@ -74,7 +74,7 @@ pub(crate) fn init_buffers<'d, T: Instance + 'd>(
// to pend the ISR when we want data transmission to start.
let regs = T::regs();
unsafe {
regs.uartimsc().write_set(|w| {
regs.uartimsc().write(|w| {
w.set_rxim(true);
w.set_rtim(true);
w.set_txim(true);