protected static void CheckResult(FtResult result) { if (result != FtResult.Ok) { throw new SpiChannelNotConnectedException(result); } }
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; }