OpenCores
URL https://opencores.org/ocsvn/usb_fpga_1_11/usb_fpga_1_11/trunk

Subversion Repositories usb_fpga_1_11

[/] [usb_fpga_1_11/] [trunk/] [docs/] [java/] [ztex/] [ZtexScanBus1.html] - Diff between revs 3 and 5

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 3 Rev 5
Line 1... Line 1...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<!--NewPage-->
<HTML>
<HTML>
<HEAD>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
<TITLE>
ZtexScanBus1
ZtexScanBus1
</TITLE>
</TITLE>
 
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
 
<SCRIPT type="text/javascript">
<SCRIPT type="text/javascript">
function windowTitle()
function windowTitle()
Line 120... Line 120...
<B>Constructor Summary</B></FONT></TH>
<B>Constructor Summary</B></FONT></TH>
</TR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
             int&nbsp;usbProductId,
             int&nbsp;usbProductId,
             boolean&nbsp;scanCypress,
             boolean&nbsp;scanUnconfigured,
             boolean&nbsp;quiet)</CODE>
             boolean&nbsp;quiet)</CODE>
 
 
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the USB for suitable devices and constructs a list of them.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the USB for suitable devices and constructs a list of them.</TD>
</TR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
             int&nbsp;usbProductId,
             int&nbsp;usbProductId,
             boolean&nbsp;scanCypress,
             boolean&nbsp;scanUnconfigured,
             boolean&nbsp;quiet,
             boolean&nbsp;quiet,
             int&nbsp;interfaceVersion)</CODE>
             int&nbsp;interfaceVersion)</CODE>
 
 
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the USB for suitable devices and constructs a list of them.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the USB for suitable devices and constructs a list of them.</TD>
</TR>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, int, int, int, int)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
             int&nbsp;usbProductId,
             int&nbsp;usbProductId,
             boolean&nbsp;scanCypress,
             boolean&nbsp;scanUnconfigured,
             boolean&nbsp;quiet,
             boolean&nbsp;quiet,
             int&nbsp;interfaceVersion,
             int&nbsp;interfaceVersion,
 
             java.lang.String&nbsp;snString)</CODE>
 
 
 
<BR>
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the USB for suitable devices and constructs a list of them.</TD>
 
</TR>
 
<TR BGCOLOR="white" CLASS="TableRowColor">
 
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String, int, int, int, int)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
 
             int&nbsp;usbProductId,
 
             boolean&nbsp;scanUnconfigured,
 
             boolean&nbsp;quiet,
 
             int&nbsp;interfaceVersion,
 
             java.lang.String&nbsp;snString,
             int&nbsp;productId0,
             int&nbsp;productId0,
             int&nbsp;productId1,
             int&nbsp;productId1,
             int&nbsp;productId2,
             int&nbsp;productId2,
             int&nbsp;productId3)</CODE>
             int&nbsp;productId3)</CODE>
 
 
Line 207... Line 219...
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
<B>Constructor Detail</B></FONT></TH>
</TR>
</TR>
</TABLE>
</TABLE>
 
 
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, int, int, int, int)"><!-- --></A><H3>
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String, int, int, int, int)"><!-- --></A><H3>
ZtexScanBus1</H3>
ZtexScanBus1</H3>
<PRE>
<PRE>
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
                    int&nbsp;usbProductId,
                    int&nbsp;usbProductId,
                    boolean&nbsp;scanCypress,
                    boolean&nbsp;scanUnconfigured,
                    boolean&nbsp;quiet,
                    boolean&nbsp;quiet,
                    int&nbsp;interfaceVersion,
                    int&nbsp;interfaceVersion,
 
                    java.lang.String&nbsp;snString,
                    int&nbsp;productId0,
                    int&nbsp;productId0,
                    int&nbsp;productId1,
                    int&nbsp;productId1,
                    int&nbsp;productId2,
                    int&nbsp;productId2,
                    int&nbsp;productId3)</PRE>
                    int&nbsp;productId3)</PRE>
<DL>
<DL>
Line 226... Line 239...
 Four kinds of search filters can be applied
 Four kinds of search filters can be applied
 <ol>
 <ol>
   <li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
   <li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
   <li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
   <li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
   <li> Incompatible devices can be excluded by the specification of the ZTEX product ID's, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A>. </li>
   <li> Incompatible devices can be excluded by the specification of the ZTEX product ID's, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A>. </li>
   <li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
   <li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
 
   <li> In multi device environment a single device can be selected by giving a serial number. </li>
 
 </ol>
 
<P>
 
<DL>
 
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (&lt;0 if no interface version is required)<DD><CODE>snString</CODE> - The serial number of the device<DD><CODE>productId0</CODE> - Byte 0 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId1</CODE> - Byte 1 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId2</CODE> - Byte 2 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId3</CODE> - Byte 3 of a given ZTEX product ID (&le;0 if not to be considered)</DL>
 
</DL>
 
<HR>
 
 
 
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String)"><!-- --></A><H3>
 
ZtexScanBus1</H3>
 
<PRE>
 
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
 
                    int&nbsp;usbProductId,
 
                    boolean&nbsp;scanUnconfigured,
 
                    boolean&nbsp;quiet,
 
                    int&nbsp;interfaceVersion,
 
                    java.lang.String&nbsp;snString)</PRE>
 
<DL>
 
<DD>Scans the USB for suitable devices and constructs a list of them.
 
 Three kinds of search filters can be applied
 
 <ol>
 
   <li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
 
   <li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
 
   <li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
 
   <li> In multi device environment a single device can be selected by giving a serial number. </li>
 </ol>
 </ol>
<P>
<P>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (&lt;0 if no interface version is required)<DD><CODE>productId0</CODE> - Byte 0 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId1</CODE> - Byte 1 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId2</CODE> - Byte 2 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId3</CODE> - Byte 3 of a given ZTEX product ID (&le;0 if not to be considered)</DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
</DL>
</DL>
<HR>
<HR>
 
 
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int)"><!-- --></A><H3>
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int)"><!-- --></A><H3>
ZtexScanBus1</H3>
ZtexScanBus1</H3>
<PRE>
<PRE>
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
                    int&nbsp;usbProductId,
                    int&nbsp;usbProductId,
                    boolean&nbsp;scanCypress,
                    boolean&nbsp;scanUnconfigured,
                    boolean&nbsp;quiet,
                    boolean&nbsp;quiet,
                    int&nbsp;interfaceVersion)</PRE>
                    int&nbsp;interfaceVersion)</PRE>
<DL>
<DL>
<DD>Scans the USB for suitable devices and constructs a list of them.
<DD>Scans the USB for suitable devices and constructs a list of them.
 Three kinds of search filters can be applied
 Three kinds of search filters can be applied
 <ol>
 <ol>
   <li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
   <li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
   <li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
   <li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
   <li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
   <li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
 </ol>
 </ol>
<P>
<P>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
</DL>
</DL>
<HR>
<HR>
 
 
<A NAME="ZtexScanBus1(int, int, boolean, boolean)"><!-- --></A><H3>
<A NAME="ZtexScanBus1(int, int, boolean, boolean)"><!-- --></A><H3>
ZtexScanBus1</H3>
ZtexScanBus1</H3>
<PRE>
<PRE>
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
                    int&nbsp;usbProductId,
                    int&nbsp;usbProductId,
                    boolean&nbsp;scanCypress,
                    boolean&nbsp;scanUnconfigured,
                    boolean&nbsp;quiet)</PRE>
                    boolean&nbsp;quiet)</PRE>
<DL>
<DL>
<DD>Scans the USB for suitable devices and constructs a list of them.
<DD>Scans the USB for suitable devices and constructs a list of them.
 Two kinds of search filters can be applied
 Two kinds of search filters can be applied
 <ol>
 <ol>
   <li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
   <li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
   <li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
   <li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
 </ol>
 </ol>
<P>
<P>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings</DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings</DL>
</DL>
</DL>
 
 
<!-- ============ METHOD DETAIL ========== -->
<!-- ============ METHOD DETAIL ========== -->
 
 
<A NAME="method_detail"><!-- --></A>
<A NAME="method_detail"><!-- --></A>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.