This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我将 UDMA 与 UART 配合使用、它工作正常。
有没有函数返回数据的索引最终被 DMA 添加到 Rx 缓冲器中?
您好!
没有此类功能。 UDMA 将使用中断通知处理器传输完成。 用户应用应该知道 UDMA 将数据传输到的缓冲区的目标缓冲区地址和大小。 您希望在下一次传输开始前处理这些数据、这可能会覆盖未处理的数据。 在这方面、使用 uDMA 乒乓模式应该会大有帮助。