stm32/usart: enable fifo mode on usartv4.

This commit is contained in:
Dario Nieuwenhuis
2023-09-26 04:22:25 +02:00
parent e8587e2fba
commit 44bb405683
2 changed files with 28 additions and 16 deletions

View File

@ -998,6 +998,8 @@ fn configure(
});
#[cfg(not(usart_v1))]
w.set_over8(vals::Over8::from_bits(over8 as _));
#[cfg(usart_v4)]
w.set_fifoen(true);
});
#[cfg(not(usart_v1))]