在看datasheet的时候看到GPIO的部分有这么一段话:[size=4]When using the GPxDAT register to change the level of an output pin, you should be cautious not to[/size][size=4]accidentally change the level of another pin. For
volatilechar tmp = 0;for (tmp = 0; tmp4; tmp++) {recbuf[tmp] = resp[tmp + 1];}编译时给出如下警告:Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement E:\5438A_Test\
评论