Esempio n. 1
0
 protected static void CheckResult(FtResult result)
 {
     if (result != FtResult.Ok)
     {
         throw new SpiChannelNotConnectedException(result);
     }
 }
Esempio n. 2
0
 protected static void CheckResult(FtResult result)
 {
     if (result != FtResult.Ok)
         throw new SpiChannelNotConnectedException(result);
 }
 public SpiChannelNotConnectedException(FtResult res)
 {
     Reason = res;
 }
 public I2CChannelNotConnectedException(FtResult res)
 {
     Reason = res;
 }