public CyCustErr IsSupported(ICyDWComponentSupportedArgs_v1 args) { return((args.DeviceQureyV1.IsPSoC3 || args.DeviceQureyV1.IsPSoC4 || args.DeviceQureyV1.IsPSoC5) ? CyCustErr.OK : new CyCustErr(resource.DWC_DEVICE_ERROR)); }
public CyCustErr IsSupported(ICyDWComponentSupportedArgs_v1 args) { return((args.DeviceQureyV1.IsPSoC3 || args.DeviceQureyV1.IsPSoC5 || args.DeviceQureyV1.GetFeatureParameter("m0s8scb", "UART") > 0) ? CyCustErr.OK : new CyCustErr(resource.DWC_DEVICE_ERROR)); }
public CyCustErr IsSupported(ICyDWComponentSupportedArgs_v1 args) { return((args.DeviceQureyV1.IsPSoC3 || args.DeviceQureyV1.IsPSoC4 || args.DeviceQureyV1.IsPSoC5) ? CyCustErr.OK : new CyCustErr("")); }