我的的编译结果有如下错误,请问是为什么,在PeripheralHeaderIncludes.h中,错误是
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.
我的的编译结果有如下错误,请问是为什么,在PeripheralHeaderIncludes.h中,错误是
Joe,
Cregister 这个关键字不能被包含,所以你看一下HVDCAC_PLC_CLA-Shared_C.h 头文件,里面包含了#include "PeripheralHeaderIncludes.h",你如果屏蔽掉这个头文件,就不会产生问题。一种方法是,可以把下面这两句话放在main文件开头就可以了。
extern __cregister volatile unsigned int IFR;
extern __cregister volatile unsigned int IER;
Eric