usart_handler: DMA based memory copy
This commit is contained in:
parent
e8ab90c2b3
commit
ecd6c1d5d6
13 changed files with 367 additions and 408 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue