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/] [ZtexDevice1.html] - Blame information for rev 5

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

powered by: WebSVN 2.1.0

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