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