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.

DMA字地址与字节地址的问题



    (DMA_AdrPtr) &video,                     /* DMACSSAL */

    0x0060,                                     /* DMACSSAU */

    (DMA_AdrPtr)&video,                      /* DMACDSAL */

    0x0004,                                     /* DMACDSAU */

    300000,                                     /* DMACEN   */

    1,                                     /* DMACFN   */

    0,                                     /* DMACFI   */

    0                                      /* DMACEI   */

我video地址设置是0x0000,但是myconfig.dmacssal = (DMA_AdrPtr)(((Uint32)(myconfig.dmacssal)<<1)&0xFFFF这里怎么改啊