/* define.h */
typedef struct {
unsigned char bit0 :1;
unsigned char bit1 :1;
unsigned char bit2 :1;
unsigned char bit3 :1;
unsigned char bit4 :1;
unsigned char bit5 :1;
unsigned char bit6 :1;
unsigned char bit7 :1;
}_STC_BIT;
#define DEF_BIT7(pdata
C语言位域应用--一个字节存八个标志位
最新推荐文章于 2022-08-13 21:24:28 发布