fix(stm32): enable dma half transfer interrupt for buffereduart

This commit is contained in:
Badr Bouslikhin 2024-09-06 18:36:11 +02:00
parent ee25f14b20
commit 0e477a4df5
No known key found for this signature in database

View File

@ -777,6 +777,7 @@ impl<'a, W: Word> ReadableRingBuffer<'a, W> {
let dir = Dir::PeripheralToMemory;
let data_size = W::size();
options.half_transfer_ir = true;
options.complete_transfer_ir = true;
options.circular = true;