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 2

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

powered by: WebSVN 2.1.0

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