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.

程序疑问

__root unsigned int DMA2CTL_Const_R = DMADSTINCR_3 + DMAEN + DMAIE;

DMA1SA = (unsigned int)&DMA2CTL_Const_R;

前一句是对DMA2通道的配置;而后一句直接将其赋给DMA1的源地址寄存器,因C语言功底薄弱,很难理解。我查看了DMA1SA = 0X1100,实在很难理解其其中的含义。

希望得到一个详细的解释,加深其理解。