头文件没复制好,如下:
#include <compiler_defs.h>#include <C8051F990_defs.h> // SFR declarations#include "adxl.h"