#define get_bit_u(dat,i) ((dat&(0x0001<<i))?1:0) //获取第i位
#define clr_bit_u(dat,i) ((dat)&=(~(0x0001<<(i)))) //第i位清0
#define set_bit_u(dat,i) ((dat)|=(0x0001<<(i))) //第i位置1
#define get_bit_u(dat,i) ((dat&(0x0001<<i))?1:0) //获取第i位
#define clr_bit_u(dat,i) ((dat)&=(~(0x0001<<(i)))) //第i位清0
#define set_bit_u(dat,i) ((dat)|=(0x0001<<(i))) //第i位置1