//读取状态寄存器
//bit7 bit6 bit6 bit6 bit6 bit6 bit6 bit6
//RDY/BUSY COMP 1 0 1 1 PROTECT PAGE SIZE
If bit 7 is a 1, then the device is
not busy and is ready to accept the next command
***********************************************/
void Until_Ready()//这里无法跳出循环
{
uchar x=0x00;
while(!(x&0x80))
{
AT45_CS_0;
Write_Data(0xd7);
x = UCB0RXBUF;