예제 #1
0
 private static bool WaitReady(uint timeout)
 {
     do
     {
         if ((_xspi.ReadByte(0x04) & 0x01) == 0)
         {
             return(true);
         }
     }while (timeout-- > 0);
     return(false);
 }