usart_handler: DMA based memory copy

This commit is contained in:
Attila Body 2019-10-01 14:49:10 +02:00
parent e8ab90c2b3
commit ecd6c1d5d6
13 changed files with 367 additions and 408 deletions

View file

@ -16,10 +16,6 @@ void HandleConsoleUsartTxDmaIrq(DMAINFO *info, USART_TypeDef *usart) // debug us
LL_USART_EnableIT_TC(usart);
LL_DMA_DisableStream(info->dma, info->stream);
}
else if(*info->isReg & info->htMask)
*info->ifcReg = info->htMask;
else if(*info->isReg & info->teMask)
*info->ifcReg = info->teMask;
}
void HandleConsoleUsartIrq(USART_TypeDef *usart)