共享变量汇编vs单独变量汇编

我爱茜茜公主 / 2023-08-23 / 原文

背景:
gpio引脚---灯

image

共享变量(gpio组)
int a;
a |= 0x01;

独立变量(gpio bit)
int a;
a = 0;