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.
为什么在 Tivaware 示例中、UDMA 控制表被声明为 uint8_t 而不是 uint32_t?
根据数据表、针对目标地址等的"寄存器"为32位长。
您好!
我想原因是 uDMA 控制表必须与1024字节对齐。 为了满足此要求、该示例的软件开发人员按如下方式使用 pragma DATA_ALIGN 来强制对齐。 我想 uint32_t 可以用于 pui8ControlTable[256]来实现相同的目的。
#pragma DATA_ALIGN (pui8ControlTable、1024)
uint8_t pui8ControlTable[1024];
作为一名校长、我目前正在度假。 我的答复可能会有延误。