- //全局变量
- uchar bdata Send_Byte; //定义可操作位的一字节发送数据
- sbit Bit0 = Send_Byte^0; //被发送的数据各位定义
- sbit Bit1 = Send_Byte^1;
- sbit Bit2 = Send_Byte^2;
- sbit Bit3 = Send_Byte^3;
- sbit Bit4 = Send_Byte^4;
- sbit Bit5 = Send_Byte^5;
- sbit Bit6 = Send_Byte^6;
- sbit Bit7 = Send_Byte^7;
我这样定义的没有问题,keil c51
|