Esempio n. 1
0
 public CyCustErr IsSupported(ICyDWComponentSupportedArgs_v1 args)
 {
     return((args.DeviceQureyV1.IsPSoC3 || args.DeviceQureyV1.IsPSoC4 || args.DeviceQureyV1.IsPSoC5)
         ? CyCustErr.OK : new CyCustErr(resource.DWC_DEVICE_ERROR));
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
 public CyCustErr IsSupported(ICyDWComponentSupportedArgs_v1 args)
 {
     return((args.DeviceQureyV1.IsPSoC3 || args.DeviceQureyV1.IsPSoC4 || args.DeviceQureyV1.IsPSoC5) ? CyCustErr.OK : new CyCustErr(""));
 }