ch372.c的文件中
void CH375_WR_CMD_PORT(unsigned int cmd) { /* 向CH375的命令端口写入命令 delay2us(); CH375_CMD_PORT=cmd; delay2us(); }
ch372.h的文件中 #define CH375_CMD_PORT 0x82000002 // 对CH372的命令口做读写操作
当编译到 CH375_CMD_PORT=cmd; 时 出错 illegal in the context of an l-value: 请问怎么解决?