这个宏是什么意思#define st(x) do { x } while (__LINE__ == -1)zstack中进入退出临界区的宏定义是 #define HAL_ENTER_CRITICAL_SECTION(x) st( x = EA; HAL_DISABLE_INTERRUPTS(); ) #define HAL_EXIT_CRITICAL_SECTION(x) st( EA = x; ) 其中st(x)应作何解释? #define st(x) do { ...
这个宏是什么意思#define st(x) do { x } while (__LINE__ == -1)zstack中进入退出临界区的宏定义是 #define HAL_ENTER_CRITICAL_SECTION(x) st( x = EA; HAL_DISABLE_INTERRUPTS(); ) #define HAL_EXIT_CRITICAL_SECTION(x) st( EA = x; ) 其中st(x)应作何解释? #define st(x) do { ...