typedef unsigned char U8;
typedef unsigned int UI;
typedef unsigned short U16;
typedef unsigned long U32;
typedef signed char S8;
typedef signed int SI;
typedef signed short S16;
typedef signed long S32;
typedef struct{
U8 b0:1;
U8 b1:1;
U8 b2:1;
U8 b3:1;
U8 b4:1;
U8 b5:1;
U8 b6:1;
U8 b7:1;
}FLAGS8;
typedef union {
struct{
U8 b0:1;
U8 b1:1;
U8 b2:1;
U8 b3:1;
U8 b4:1;
U8 b5:1;
U8 b6:1;
U8 b7:1;
} bit;
U8 byte;
}BYTE_FLAGS;
typedef struct{
U8 Low :4;
U8 High :4;
}nibble;
文章评论(0条评论)
登录后参与讨论