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

Subversion Repositories usb_fpga_1_15

[/] [usb_fpga_1_15/] [trunk/] [docs/] [java/] [ztex/] [ZtexDevice1.html] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ZTEX
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5 3 ZTEX
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
6 2 ZTEX
<TITLE>
7
ZtexDevice1
8
</TITLE>
9
 
10 3 ZTEX
<META NAME="date" CONTENT="2013-10-30">
11 2 ZTEX
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="ZtexDevice1";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47
  </TR>
48
</TABLE>
49
</TD>
50
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51
</EM>
52
</TD>
53
</TR>
54
 
55
<TR>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
&nbsp;<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
58
&nbsp;<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
59
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60
  <A HREF="../index.html?ztex/ZtexDevice1.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61
&nbsp;<A HREF="ZtexDevice1.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62
&nbsp;<SCRIPT type="text/javascript">
63
  <!--
64
  if(window==top) {
65
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
66
  }
67
  //-->
68
</SCRIPT>
69
<NOSCRIPT>
70
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
71
</NOSCRIPT>
72
 
73
 
74
</FONT></TD>
75
</TR>
76
<TR>
77
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81
</TR>
82
</TABLE>
83
<A NAME="skip-navbar_top"></A>
84
<!-- ========= END OF TOP NAVBAR ========= -->
85
 
86
<HR>
87
<!-- ======== START OF CLASS DATA ======== -->
88
<H2>
89
<FONT SIZE="-1">
90
ztex</FONT>
91
<BR>
92
Class ZtexDevice1</H2>
93
<PRE>
94
java.lang.Object
95
  <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.ZtexDevice1</B>
96
</PRE>
97
<HR>
98
<DL>
99
<DT><PRE>public class <B>ZtexDevice1</B><DT>extends java.lang.Object</DL>
100
</PRE>
101
 
102
<P>
103
A class representing an EZ-USB device that supports the ZTEX descriptor 1 or an unconfigured EZ-USB device.<br>
104
 Instances of this class are usually created by <A HREF="../ztex/ZtexScanBus1.html" title="class in ztex"><CODE>ZtexScanBus1</CODE></A>.
105
 The following table describes the ZTEX descriptor 1.
106
 <a name="descriptor"></a>
107
 <table bgcolor="#404040" cellspacing=1 cellpadding=4>
108
   <tr>
109
     <td bgcolor="#d0d0d0" valign="top"><b>Field name</b></td>
110
     <td bgcolor="#d0d0d0" valign="top"><b>Offset</b></td>
111
     <td bgcolor="#d0d0d0" valign="top"><b>Size</b></td>
112
     <td bgcolor="#d0d0d0" valign="top"><b>Description</b></td>
113
   </tr>
114
   <tr>
115
     <td bgcolor="#ffffff" valign="top">ZTEX_DESCRIPTOR_SIZE</td>
116
     <td bgcolor="#ffffff" valign="top">0</td>
117
     <td bgcolor="#ffffff" valign="top">1</td>
118
     <td bgcolor="#ffffff" valign="top">Size of the descriptor in bytes; must be 40 for descriptor version 1</td>
119
   </tr>
120
   <tr>
121
     <td bgcolor="#ffffff" valign="top">ZTEX_DESCRIPTOR_VERSION</td>
122
     <td bgcolor="#ffffff" valign="top">1</td>
123
     <td bgcolor="#ffffff" valign="top">1</td>
124
     <td bgcolor="#ffffff" valign="top">Descriptor version; 1 for version 1</td>
125
   </tr>
126
   <tr>
127
     <td bgcolor="#ffffff" valign="top">ZTEXID</td>
128
     <td bgcolor="#ffffff" valign="top">2</td>
129
     <td bgcolor="#ffffff" valign="top">4</td>
130
     <td bgcolor="#ffffff" valign="top">ID; must be "ZTEX"</td>
131
   </tr>
132
   <tr>
133
     <td bgcolor="#ffffff" valign="top">PRODUCT_ID</td>
134
     <td bgcolor="#ffffff" valign="top">6</td>
135
     <td bgcolor="#ffffff" valign="top">4</td>
136
     <td bgcolor="#ffffff" valign="top">Four numbers (0..255) representing the product ID and firmware compatibility information.<br>
137
         A firmware can overwrite an installed one<br>
138
           <pre>if ( INSTALLED.PRODUCTID[0]==0 || PRODUCTID[0]==0 || INSTALLED.PRODUCTID[0]==PRODUCTID[0] ) &&
139
   ( INSTALLED.PRODUCTID[1]==0 || PRODUCTID[1]==0 || INSTALLED.PRODUCTID[1]==PRODUCTID[1] ) &&
140
   ( INSTALLED.PRODUCTID[2]==0 || PRODUCTID[2]==0 || INSTALLED.PRODUCTID[2]==PRODUCTID[2] ) &&
141
   ( INSTALLED.PRODUCTID[3]==0 || PRODUCTID[3]==0 || INSTALLED.PRODUCTID[3]==PRODUCTID[3] ) </pre>
142
       Here is a list of the preserved product ID's:
143
       <table><tr><td>&nbsp</td><td>
144
         <table>
145
          <tr><td>0.0.0.0</td> <td>default Product ID (no product specified)</td></tr>
146
           <tr><td>1.*.*.*</td> <td>may be used for experimental purposes</td></tr>
147
           <tr><td>10.*.*.*</td> <td>used for ZTEX products</td></tr>
148 3 ZTEX
           <tr><td>10.11.*.*</td> <td>ZTEX USB-FPGA-Module 1.2</td></tr>
149
           <tr><td>10.12.*.*</td> <td>ZTEX USB-FPGA-Module 1.11</td></tr>
150
           <tr><td>10.13.*.*</td> <td>ZTEX USB-FPGA-Module 1.15 (not 1.15y)</td></tr>
151
           <tr><td>10.14.*.*</td> <td>ZTEX USB-FPGA-Module 1.15x</td></tr>
152
           <tr><td>10.15.*.*</td> <td>ZTEX USB-FPGA-Module 1.15y</td></tr>
153
           <tr><td>10.20.*.*</td> <td>ZTEX USB-Module 1.0</td></tr>
154
           <tr><td>10.30.*.*</td> <td>ZTEX USB-XMEGA-Module 1.0</td></tr>
155
           <tr><td>10.0.1.1</td> <td>ZTEX BTCMiner firmware</td></tr>
156 2 ZTEX
         </table></td></tr></table>
157 3 ZTEX
         Please contact us (<a href="http://www.ztex.de/contact.e.html">http://www.ztex.de/contact.e.html</a>) if you want to register or reserve a Product ID (range).
158 2 ZTEX
       </td>
159
   </tr>
160
   <tr>
161
     <td bgcolor="#ffffff" valign="top">FW_VERSION</td>
162
     <td bgcolor="#ffffff" valign="top">10</td>
163
     <td bgcolor="#ffffff" valign="top">1</td>
164
     <td bgcolor="#ffffff" valign="top">May be used to specify the firmware version.</td>
165
   </tr>
166
   <tr>
167
     <td bgcolor="#ffffff" valign="top">INTERFACE_VERSION</td>
168
     <td bgcolor="#ffffff" valign="top">11</td>
169
     <td bgcolor="#ffffff" valign="top">1</td>
170
     <td bgcolor="#ffffff" valign="top">The interface version. This number specifies the protocol that is used for interfacing the host software. A description of interface version 1 can be found in <A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A> </td>
171
   </tr>
172
   <tr>
173
     <td bgcolor="#ffffff" valign="top">INTERFACE_CAPABILITIES</td>
174
     <td bgcolor="#ffffff" valign="top">12</td>
175
     <td bgcolor="#ffffff" valign="top">6</td>
176
     <td bgcolor="#ffffff" valign="top">6 bytes, each bit represents a capability. If set, the capability is supported. A description of the capabilities of interface version 1 can be found in <A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A> </td>
177
   </tr>
178
   <tr>
179
     <td bgcolor="#ffffff" valign="top">MODULE_RESERVED</td>
180
     <td bgcolor="#ffffff" valign="top">18</td>
181
     <td bgcolor="#ffffff" valign="top">12</td>
182
     <td bgcolor="#ffffff" valign="top">12 bytes for application specific use, i.e. they depend from the PRODUCT_ID </td>
183
   </tr>
184
   <tr>
185
     <td bgcolor="#ffffff" valign="top">SN_STRING</td>
186
     <td bgcolor="#ffffff" valign="top">30</td>
187
     <td bgcolor="#ffffff" valign="top">10</td>
188
     <td bgcolor="#ffffff" valign="top">A serial number string of 10 characters. The default SN is "0000000000"</td> </td>
189
   </tr>
190
 </table>
191
<P>
192
 
193
<P>
194
<DL>
195
<DT><B>See Also:</B><DD><A HREF="../ztex/Ztex1.html" title="class in ztex"><CODE>Ztex1</CODE></A>,
196
<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A>,
197
<A HREF="../ztex/ZtexScanBus1.html" title="class in ztex"><CODE>ZtexScanBus1</CODE></A></DL>
198
<HR>
199
 
200
<P>
201
<!-- =========== FIELD SUMMARY =========== -->
202
 
203
<A NAME="field_summary"><!-- --></A>
204
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
205
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
206
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
207
<B>Field Summary</B></FONT></TH>
208
</TR>
209
<TR BGCOLOR="white" CLASS="TableRowColor">
210
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211
<CODE>static&nbsp;int</CODE></FONT></TD>
212
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#cypressProductId">cypressProductId</A></B></CODE>
213
 
214
<BR>
215
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EZ-USB USB product ID: 0x8613</TD>
216
</TR>
217
<TR BGCOLOR="white" CLASS="TableRowColor">
218
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219
<CODE>static&nbsp;int</CODE></FONT></TD>
220
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#cypressVendorId">cypressVendorId</A></B></CODE>
221
 
222
<BR>
223
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cypress vendor ID: 0x4b4</TD>
224
</TR>
225
<TR BGCOLOR="white" CLASS="TableRowColor">
226
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227
<CODE>static&nbsp;int</CODE></FONT></TD>
228
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#ztexProductId">ztexProductId</A></B></CODE>
229
 
230
<BR>
231
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x100.</TD>
232
</TR>
233
<TR BGCOLOR="white" CLASS="TableRowColor">
234
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235
<CODE>static&nbsp;int</CODE></FONT></TD>
236
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#ztexProductIdMax">ztexProductIdMax</A></B></CODE>
237
 
238
<BR>
239
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Largest USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x1ff.</TD>
240
</TR>
241
<TR BGCOLOR="white" CLASS="TableRowColor">
242
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243
<CODE>static&nbsp;int</CODE></FONT></TD>
244
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#ztexVendorId">ztexVendorId</A></B></CODE>
245
 
246
<BR>
247
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ZTEX vendor ID: 0x221a</TD>
248
</TR>
249
</TABLE>
250
&nbsp;
251
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
252
 
253
<A NAME="constructor_summary"><!-- --></A>
254
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
255
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
257
<B>Constructor Summary</B></FONT></TH>
258
</TR>
259
<TR BGCOLOR="white" CLASS="TableRowColor">
260
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#ZtexDevice1(ch.ntb.usb.Usb_Device, int, int, boolean)">ZtexDevice1</A></B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;p_dev,
261
            int&nbsp;pUsbVendorId,
262
            int&nbsp;pUsbProductId,
263
            boolean&nbsp;allowUnconfigured)</CODE>
264
 
265
<BR>
266
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given USB device.</TD>
267
</TR>
268
</TABLE>
269
&nbsp;
270
<!-- ========== METHOD SUMMARY =========== -->
271
 
272
<A NAME="method_summary"><!-- --></A>
273
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
274
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
275
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
276
<B>Method Summary</B></FONT></TH>
277
</TR>
278
<TR BGCOLOR="white" CLASS="TableRowColor">
279
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
281
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#byteArrayString(byte[])">byteArrayString</A></B>(byte[]&nbsp;buf)</CODE>
282
 
283
<BR>
284
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Produces a nice string representation of an array of bytes.</TD>
285
</TR>
286
<TR BGCOLOR="white" CLASS="TableRowColor">
287
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288
<CODE>&nbsp;boolean</CODE></FONT></TD>
289
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)">compatible</A></B>(int&nbsp;productId0,
290
           int&nbsp;productId1,
291
           int&nbsp;productId2,
292
           int&nbsp;productId3)</CODE>
293
 
294
<BR>
295
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the given product ID is compatible to the device.</TD>
296
</TR>
297
<TR BGCOLOR="white" CLASS="TableRowColor">
298
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
299
<CODE>&nbsp;<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A></CODE></FONT></TD>
300
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#dev()">dev</A></B>()</CODE>
301
 
302
<BR>
303
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the USB device.</TD>
304
</TR>
305
<TR BGCOLOR="white" CLASS="TableRowColor">
306
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
307
<CODE>&nbsp;int</CODE></FONT></TD>
308
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#fwVersion()">fwVersion</A></B>()</CODE>
309
 
310
<BR>
311
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the firmware version.</TD>
312
</TR>
313
<TR BGCOLOR="white" CLASS="TableRowColor">
314
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
315
<CODE>&nbsp;byte[]</CODE></FONT></TD>
316
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#interfaceCapabilities()">interfaceCapabilities</A></B>()</CODE>
317
 
318
<BR>
319
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the interface capabilities (all 6 bytes).</TD>
320
</TR>
321
<TR BGCOLOR="white" CLASS="TableRowColor">
322
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
323
<CODE>&nbsp;int</CODE></FONT></TD>
324
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#interfaceCapabilities(int)">interfaceCapabilities</A></B>(int&nbsp;i)</CODE>
325
 
326
<BR>
327
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns byte i of the interface capabilities.</TD>
328
</TR>
329
<TR BGCOLOR="white" CLASS="TableRowColor">
330
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
331
<CODE>&nbsp;boolean</CODE></FONT></TD>
332
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#interfaceCapabilities(int, int)">interfaceCapabilities</A></B>(int&nbsp;i,
333
                      int&nbsp;j)</CODE>
334
 
335
<BR>
336
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns byte i, bit j  of the interface capabilities.</TD>
337
</TR>
338
<TR BGCOLOR="white" CLASS="TableRowColor">
339
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340
<CODE>&nbsp;int</CODE></FONT></TD>
341
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#interfaceVersion()">interfaceVersion</A></B>()</CODE>
342
 
343
<BR>
344
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the interface version.</TD>
345
</TR>
346
<TR BGCOLOR="white" CLASS="TableRowColor">
347
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
348
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
349
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#manufacturerString()">manufacturerString</A></B>()</CODE>
350
 
351
<BR>
352
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the manufacturer string of the device.</TD>
353
</TR>
354
<TR BGCOLOR="white" CLASS="TableRowColor">
355
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
356
<CODE>&nbsp;byte[]</CODE></FONT></TD>
357
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#moduleReserved()">moduleReserved</A></B>()</CODE>
358
 
359
<BR>
360
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the application specific information (all 12 bytes).</TD>
361
</TR>
362
<TR BGCOLOR="white" CLASS="TableRowColor">
363
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
364
<CODE>&nbsp;int</CODE></FONT></TD>
365
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#moduleReserved(int)">moduleReserved</A></B>(int&nbsp;i)</CODE>
366
 
367
<BR>
368
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns byte i of the application specific information.</TD>
369
</TR>
370
<TR BGCOLOR="white" CLASS="TableRowColor">
371
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
372
<CODE>&nbsp;byte[]</CODE></FONT></TD>
373
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#productId()">productId</A></B>()</CODE>
374
 
375
<BR>
376
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the product ID (all 4 bytes).</TD>
377
</TR>
378
<TR BGCOLOR="white" CLASS="TableRowColor">
379
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
380
<CODE>&nbsp;int</CODE></FONT></TD>
381
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#productId(int)">productId</A></B>(int&nbsp;i)</CODE>
382
 
383
<BR>
384
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns byte i of the product ID.</TD>
385
</TR>
386
<TR BGCOLOR="white" CLASS="TableRowColor">
387
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
389
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#productString()">productString</A></B>()</CODE>
390
 
391
<BR>
392
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the product string of the device.</TD>
393
</TR>
394
<TR BGCOLOR="white" CLASS="TableRowColor">
395
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
397
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#snString()">snString</A></B>()</CODE>
398
 
399
<BR>
400
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the serial number string of the device.</TD>
401
</TR>
402
<TR BGCOLOR="white" CLASS="TableRowColor">
403
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
405
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#toString()">toString</A></B>()</CODE>
406
 
407
<BR>
408
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation if the device with a lot of useful information.</TD>
409
</TR>
410
<TR BGCOLOR="white" CLASS="TableRowColor">
411
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412
<CODE>&nbsp;int</CODE></FONT></TD>
413
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#usbProductId()">usbProductId</A></B>()</CODE>
414
 
415
<BR>
416
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the USB product ID of the device.</TD>
417
</TR>
418
<TR BGCOLOR="white" CLASS="TableRowColor">
419
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
420
<CODE>&nbsp;int</CODE></FONT></TD>
421
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#usbVendorId()">usbVendorId</A></B>()</CODE>
422
 
423
<BR>
424
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the USB vendor ID of the device.</TD>
425
</TR>
426
<TR BGCOLOR="white" CLASS="TableRowColor">
427
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
428
<CODE>&nbsp;boolean</CODE></FONT></TD>
429
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#valid()">valid</A></B>()</CODE>
430
 
431
<BR>
432
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if ZTEX descriptor 1 is available.</TD>
433
</TR>
434
</TABLE>
435
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
436
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
437
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
438
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
439
</TR>
440
<TR BGCOLOR="white" CLASS="TableRowColor">
441
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
442
</TR>
443
</TABLE>
444
&nbsp;
445
<P>
446
 
447
<!-- ============ FIELD DETAIL =========== -->
448
 
449
<A NAME="field_detail"><!-- --></A>
450
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
451
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
452
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
453
<B>Field Detail</B></FONT></TH>
454
</TR>
455
</TABLE>
456
 
457
<A NAME="cypressVendorId"><!-- --></A><H3>
458
cypressVendorId</H3>
459
<PRE>
460
public static final int <B>cypressVendorId</B></PRE>
461
<DL>
462
<DD>Cypress vendor ID: 0x4b4
463
<P>
464
<DL>
465
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.ZtexDevice1.cypressVendorId">Constant Field Values</A></DL>
466
</DL>
467
<HR>
468
 
469
<A NAME="cypressProductId"><!-- --></A><H3>
470
cypressProductId</H3>
471
<PRE>
472
public static final int <B>cypressProductId</B></PRE>
473
<DL>
474
<DD>EZ-USB USB product ID: 0x8613
475
<P>
476
<DL>
477
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.ZtexDevice1.cypressProductId">Constant Field Values</A></DL>
478
</DL>
479
<HR>
480
 
481
<A NAME="ztexVendorId"><!-- --></A><H3>
482
ztexVendorId</H3>
483
<PRE>
484
public static final int <B>ztexVendorId</B></PRE>
485
<DL>
486
<DD>ZTEX vendor ID: 0x221a
487
<P>
488
<DL>
489
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.ZtexDevice1.ztexVendorId">Constant Field Values</A></DL>
490
</DL>
491
<HR>
492
 
493
<A NAME="ztexProductId"><!-- --></A><H3>
494
ztexProductId</H3>
495
<PRE>
496
public static final int <B>ztexProductId</B></PRE>
497
<DL>
498
<DD>USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x100.
499
 This product ID is intended for general purpose use and can be shared by all devices that base on ZTEX modules.
500
 Different products are identified by a second product ID, namely the PRODUCT_ID field of the <a href="#descriptor"> ZTEX descriptor 1</a>.
501
 <p>
502
 Please read the <a href="http://www.ztex.de/firmware-kit/usb_ids.e.html">informations about USB vendor and product ID's<a>.
503
<P>
504
<DL>
505
<DT><B>See Also:</B><DD><A HREF="../ztex/ZtexDevice1.html#ztexProductIdMax"><CODE>ztexProductIdMax</CODE></A>,
506
<A HREF="../constant-values.html#ztex.ZtexDevice1.ztexProductId">Constant Field Values</A></DL>
507
</DL>
508
<HR>
509
 
510
<A NAME="ztexProductIdMax"><!-- --></A><H3>
511
ztexProductIdMax</H3>
512
<PRE>
513
public static final int <B>ztexProductIdMax</B></PRE>
514
<DL>
515
<DD>Largest USB product ID for ZTEX devices that support ZTEX descriptor 1: 0x1ff.
516
 USB product ID's from <A HREF="../ztex/ZtexDevice1.html#ztexProductId"><CODE>ztexProductId</CODE></A>+1 to ztexProductIdMax (0x101 to 0x1ff) are reserved for ZTEX devices and allow to identify products without reading the ZTEX descriptor.
517
 <p>
518
 Please read the <a href="http://www.ztex.de/firmware-kit/usb_ids.e.html">informations about USB vendor and product ID's<a>.
519
<P>
520
<DL>
521
<DT><B>See Also:</B><DD><A HREF="../ztex/ZtexDevice1.html#ztexProductId"><CODE>ztexProductId</CODE></A>,
522
<A HREF="../constant-values.html#ztex.ZtexDevice1.ztexProductIdMax">Constant Field Values</A></DL>
523
</DL>
524
 
525
<!-- ========= CONSTRUCTOR DETAIL ======== -->
526
 
527
<A NAME="constructor_detail"><!-- --></A>
528
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
529
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
530
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
531
<B>Constructor Detail</B></FONT></TH>
532
</TR>
533
</TABLE>
534
 
535
<A NAME="ZtexDevice1(ch.ntb.usb.Usb_Device, int, int, boolean)"><!-- --></A><H3>
536
ZtexDevice1</H3>
537
<PRE>
538
public <B>ZtexDevice1</B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;p_dev,
539
                   int&nbsp;pUsbVendorId,
540
                   int&nbsp;pUsbProductId,
541
                   boolean&nbsp;allowUnconfigured)
542
            throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
543
                   <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
544
                   <A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A></PRE>
545
<DL>
546
<DD>Constructs an instance from a given USB device.<br>
547
 If the given vendor and product id's match to the vendor and product id's of the given USB device,
548
 the ZTEX descriptor 1 is attempted to read. If this fails, an <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex"><CODE>InvalidFirmwareException</CODE></A> is thrown.
549
 To suppress this behavior (e.g. if the EZ-USB device is known to be unconfigured) the vendor and product id's
550
 can be set to -1.
551
<P>
552
<DL>
553
<DT><B>Parameters:</B><DD><CODE>p_dev</CODE> - The USB device.<DD><CODE>pUsbVendorId</CODE> - The given vendor ID.<DD><CODE>pUsbProductId</CODE> - The given product ID.<DD><CODE>allowUnconfigured</CODE> - If true, unconfigured devices are allowed.
554
<DT><B>Throws:</B>
555
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an USB communication error occurs.
556
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if no valid ZTEX descriptor 1 is found.
557
<DD><CODE>DeviceNotSupported</CODE> - if the device has the wrong USB ID's.
558
<DD><CODE><A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A></CODE></DL>
559
</DL>
560
 
561
<!-- ============ METHOD DETAIL ========== -->
562
 
563
<A NAME="method_detail"><!-- --></A>
564
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
565
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
566
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
567
<B>Method Detail</B></FONT></TH>
568
</TR>
569
</TABLE>
570
 
571
<A NAME="byteArrayString(byte[])"><!-- --></A><H3>
572
byteArrayString</H3>
573
<PRE>
574
public static java.lang.String <B>byteArrayString</B>(byte[]&nbsp;buf)</PRE>
575
<DL>
576
<DD>Produces a nice string representation of an array of bytes.
577
<P>
578
<DD><DL>
579
<DT><B>Parameters:</B><DD><CODE>buf</CODE> - A byte array.
580
<DT><B>Returns:</B><DD>a nice string</DL>
581
</DD>
582
</DL>
583
<HR>
584
 
585
<A NAME="toString()"><!-- --></A><H3>
586
toString</H3>
587
<PRE>
588
public java.lang.String <B>toString</B>()</PRE>
589
<DL>
590
<DD>Returns a string representation if the device with a lot of useful information.
591
<P>
592
<DD><DL>
593
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
594
</DD>
595
<DD><DL>
596
 
597
<DT><B>Returns:</B><DD>a string representation if the device with a lot of useful information.</DL>
598
</DD>
599
</DL>
600
<HR>
601
 
602
<A NAME="compatible(int, int, int, int)"><!-- --></A><H3>
603
compatible</H3>
604
<PRE>
605
public final boolean <B>compatible</B>(int&nbsp;productId0,
606
                                int&nbsp;productId1,
607
                                int&nbsp;productId2,
608
                                int&nbsp;productId3)</PRE>
609
<DL>
610
<DD>Checks whether the given product ID is compatible to the device.<br>
611
 The given product ID is compatible
612
 <pre>if ( this.productId(0)==0 || productId0<=0 || this.productId(0)==productId0 ) &&
613
   ( this.productId(0)==0 || productId1<=0 || this.productId(1)==productId1 ) &&
614
   ( this.productId(2)==0 || productId2<=0 || this.productId(2)==productId2 ) &&
615
   ( this.productId(3)==0 || productId3<=0 || this.productId(3)==productId3 ) </pre>
616
<P>
617
<DD><DL>
618
<DT><B>Parameters:</B><DD><CODE>productId0</CODE> - Byte 0 of the given product ID<DD><CODE>productId1</CODE> - Byte 1 of the given product ID<DD><CODE>productId2</CODE> - Byte 2 of the given product ID<DD><CODE>productId3</CODE> - Byte 3 of the given product ID
619
<DT><B>Returns:</B><DD>true if the given product ID is compatible</DL>
620
</DD>
621
</DL>
622
<HR>
623
 
624
<A NAME="dev()"><!-- --></A><H3>
625
dev</H3>
626
<PRE>
627
public final <A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A> <B>dev</B>()</PRE>
628
<DL>
629
<DD>Returns the USB device.
630
<P>
631
<DD><DL>
632
 
633
<DT><B>Returns:</B><DD>the USB device.</DL>
634
</DD>
635
</DL>
636
<HR>
637
 
638
<A NAME="valid()"><!-- --></A><H3>
639
valid</H3>
640
<PRE>
641
public final boolean <B>valid</B>()</PRE>
642
<DL>
643
<DD>Returns true if ZTEX descriptor 1 is available.
644
<P>
645
<DD><DL>
646
 
647
<DT><B>Returns:</B><DD>true if ZTEX descriptor 1 is available.</DL>
648
</DD>
649
</DL>
650
<HR>
651
 
652
<A NAME="usbVendorId()"><!-- --></A><H3>
653
usbVendorId</H3>
654
<PRE>
655
public final int <B>usbVendorId</B>()</PRE>
656
<DL>
657
<DD>Returns the USB vendor ID of the device.
658
<P>
659
<DD><DL>
660
 
661
<DT><B>Returns:</B><DD>the USB vendor ID of the device.</DL>
662
</DD>
663
</DL>
664
<HR>
665
 
666
<A NAME="usbProductId()"><!-- --></A><H3>
667
usbProductId</H3>
668
<PRE>
669
public final int <B>usbProductId</B>()</PRE>
670
<DL>
671
<DD>Returns the USB product ID of the device.
672
<P>
673
<DD><DL>
674
 
675
<DT><B>Returns:</B><DD>the USB product ID of the device.</DL>
676
</DD>
677
</DL>
678
<HR>
679
 
680
<A NAME="manufacturerString()"><!-- --></A><H3>
681
manufacturerString</H3>
682
<PRE>
683
public final java.lang.String <B>manufacturerString</B>()</PRE>
684
<DL>
685
<DD>Returns the manufacturer string of the device.
686
<P>
687
<DD><DL>
688
 
689
<DT><B>Returns:</B><DD>the manufacturer string of the device.</DL>
690
</DD>
691
</DL>
692
<HR>
693
 
694
<A NAME="productString()"><!-- --></A><H3>
695
productString</H3>
696
<PRE>
697
public final java.lang.String <B>productString</B>()</PRE>
698
<DL>
699
<DD>Returns the product string of the device.
700
<P>
701
<DD><DL>
702
 
703
<DT><B>Returns:</B><DD>the product string of the device.</DL>
704
</DD>
705
</DL>
706
<HR>
707
 
708
<A NAME="snString()"><!-- --></A><H3>
709
snString</H3>
710
<PRE>
711
public final java.lang.String <B>snString</B>()</PRE>
712
<DL>
713
<DD>Returns the serial number string of the device.
714
<P>
715
<DD><DL>
716
 
717
<DT><B>Returns:</B><DD>the serial number string of the device.</DL>
718
</DD>
719
</DL>
720
<HR>
721
 
722
<A NAME="productId()"><!-- --></A><H3>
723
productId</H3>
724
<PRE>
725
public final byte[] <B>productId</B>()</PRE>
726
<DL>
727
<DD>Returns the product ID (all 4 bytes).
728
<P>
729
<DD><DL>
730
 
731
<DT><B>Returns:</B><DD>PRODUCT_ID, see above.</DL>
732
</DD>
733
</DL>
734
<HR>
735
 
736
<A NAME="productId(int)"><!-- --></A><H3>
737
productId</H3>
738
<PRE>
739
public int <B>productId</B>(int&nbsp;i)</PRE>
740
<DL>
741
<DD>Returns byte i of the product ID.
742
<P>
743
<DD><DL>
744
<DT><B>Parameters:</B><DD><CODE>i</CODE> - index
745
<DT><B>Returns:</B><DD>PRODUCT_ID[i], see above.</DL>
746
</DD>
747
</DL>
748
<HR>
749
 
750
<A NAME="fwVersion()"><!-- --></A><H3>
751
fwVersion</H3>
752
<PRE>
753
public final int <B>fwVersion</B>()</PRE>
754
<DL>
755
<DD>Returns the firmware version.
756
<P>
757
<DD><DL>
758
 
759
<DT><B>Returns:</B><DD>FW_VERSION, see above.</DL>
760
</DD>
761
</DL>
762
<HR>
763
 
764
<A NAME="interfaceVersion()"><!-- --></A><H3>
765
interfaceVersion</H3>
766
<PRE>
767
public final int <B>interfaceVersion</B>()</PRE>
768
<DL>
769
<DD>Returns the interface version.
770
<P>
771
<DD><DL>
772
 
773
<DT><B>Returns:</B><DD>INTERFACE_VERSION, see above.</DL>
774
</DD>
775
</DL>
776
<HR>
777
 
778
<A NAME="interfaceCapabilities()"><!-- --></A><H3>
779
interfaceCapabilities</H3>
780
<PRE>
781
public final byte[] <B>interfaceCapabilities</B>()</PRE>
782
<DL>
783
<DD>Returns the interface capabilities (all 6 bytes).
784
<P>
785
<DD><DL>
786
 
787
<DT><B>Returns:</B><DD>INTERFACE_CAPABILITIES, see above.</DL>
788
</DD>
789
</DL>
790
<HR>
791
 
792
<A NAME="interfaceCapabilities(int)"><!-- --></A><H3>
793
interfaceCapabilities</H3>
794
<PRE>
795
public final int <B>interfaceCapabilities</B>(int&nbsp;i)</PRE>
796
<DL>
797
<DD>Returns byte i of the interface capabilities.
798
<P>
799
<DD><DL>
800
<DT><B>Parameters:</B><DD><CODE>i</CODE> - index
801
<DT><B>Returns:</B><DD>INTERFACE_CAPABILITIES[i], see above.</DL>
802
</DD>
803
</DL>
804
<HR>
805
 
806
<A NAME="interfaceCapabilities(int, int)"><!-- --></A><H3>
807
interfaceCapabilities</H3>
808
<PRE>
809
public final boolean <B>interfaceCapabilities</B>(int&nbsp;i,
810
                                           int&nbsp;j)</PRE>
811
<DL>
812
<DD>Returns byte i, bit j  of the interface capabilities.
813
<P>
814
<DD><DL>
815
<DT><B>Parameters:</B><DD><CODE>i</CODE> - byte index<DD><CODE>j</CODE> - bit index
816
<DT><B>Returns:</B><DD>INTERFACE_CAPABILITIES[i].j, see above.</DL>
817
</DD>
818
</DL>
819
<HR>
820
 
821
<A NAME="moduleReserved()"><!-- --></A><H3>
822
moduleReserved</H3>
823
<PRE>
824
public final byte[] <B>moduleReserved</B>()</PRE>
825
<DL>
826
<DD>Returns the application specific information (all 12 bytes).
827
<P>
828
<DD><DL>
829
 
830
<DT><B>Returns:</B><DD>MODULE_RESERVED, see above.</DL>
831
</DD>
832
</DL>
833
<HR>
834
 
835
<A NAME="moduleReserved(int)"><!-- --></A><H3>
836
moduleReserved</H3>
837
<PRE>
838
public final int <B>moduleReserved</B>(int&nbsp;i)</PRE>
839
<DL>
840
<DD>Returns byte i of the application specific information.
841
<P>
842
<DD><DL>
843
<DT><B>Parameters:</B><DD><CODE>i</CODE> - index
844
<DT><B>Returns:</B><DD>MODULE_RESERVED[i], see above.</DL>
845
</DD>
846
</DL>
847
<!-- ========= END OF CLASS DATA ========= -->
848
<HR>
849
 
850
 
851
<!-- ======= START OF BOTTOM NAVBAR ====== -->
852
<A NAME="navbar_bottom"><!-- --></A>
853
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
854
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
855
<TR>
856
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
857
<A NAME="navbar_bottom_firstrow"><!-- --></A>
858
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
859
  <TR ALIGN="center" VALIGN="top">
860
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
861
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
862
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
863
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
864
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
865
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
866
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
867
  </TR>
868
</TABLE>
869
</TD>
870
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
871
</EM>
872
</TD>
873
</TR>
874
 
875
<TR>
876
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
877
&nbsp;<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
878
&nbsp;<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
879
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
880
  <A HREF="../index.html?ztex/ZtexDevice1.html" target="_top"><B>FRAMES</B></A>  &nbsp;
881
&nbsp;<A HREF="ZtexDevice1.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
882
&nbsp;<SCRIPT type="text/javascript">
883
  <!--
884
  if(window==top) {
885
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
886
  }
887
  //-->
888
</SCRIPT>
889
<NOSCRIPT>
890
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
891
</NOSCRIPT>
892
 
893
 
894
</FONT></TD>
895
</TR>
896
<TR>
897
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
898
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
899
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
900
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
901
</TR>
902
</TABLE>
903
<A NAME="skip-navbar_bottom"></A>
904
<!-- ======== END OF BOTTOM NAVBAR ======= -->
905
 
906
<HR>
907
 
908
</BODY>
909
</HTML>

powered by: WebSVN 2.1.0

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