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.

遇到一个很奇怪的问题,我看F2837XS技术手册中关于DMA寄存器,其中CONTROL寄存器(16位)第9-10位是Reserved,但是F2837xS_dma.h中CONTROL_BITS中第9位是SYNCFLG,第10位是SYNCERR。到底应该看哪个?



F2837xS_dma.h中关于CONTROL的定义:

struct CONTROL_BITS { // bits description
Uint16 RUN:1; // 0 Run Bit
Uint16 HALT:1; // 1 Halt Bit
Uint16 SOFTRESET:1; // 2 Soft Reset Bit
Uint16 PERINTFRC:1; // 3 Interrupt Force Bit
Uint16 PERINTCLR:1; // 4 Interrupt Clear Bit
Uint16 rsvd2:2; // 6:5 Reserved
Uint16 ERRCLR:1; // 7 Error Clear Bit
Uint16 PERINTFLG:1; // 8 Interrupt Flag Bit
Uint16 SYNCFLG:1; // 9 Sync Flag Bit
Uint16 SYNCERR:1; // 10 Sync Error Flag Bit
Uint16 TRANSFERSTS:1; // 11 Transfer Status Bit
Uint16 BURSTSTS:1; // 12 Burst Status Bit
Uint16 RUNSTS:1; // 13 Run Status Bit
Uint16 OVRFLG:1; // 14 Overflow Flag Bit
Uint16 rsvd1:1; // 15 Reserved
};