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.

28377d can操作

Other Parts Discussed in Thread: C2000WARE

自己在把CAN寄存器封装成结构体

修改例程时发现,很多的操作是在操作无效区域??

例如

CAN_IF1CMD 32位 占用0x100 和0x101,CAN_IF1MSK 32位占用0x104 和0x105

0x103 和0x104 未使用,但是在历程中却在使用

HWREGH(ui32Base + CAN_O_IF1CMD + 2) = CAN_IF1CMD_CLRINTPND >> 16;

其他也有就不举例了,请问怎么回事???