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

Subversion Repositories usb_fpga_2_13

[/] [usb_fpga_2_13/] [trunk/] [docs/] [java/] [ch/] [ntb/] [usb/] [Usb_Endpoint_Descriptor.html] - Blame information for rev 2

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_18) on Wed Oct 30 21:18:14 CET 2013 -->
6
<TITLE>
7
Usb_Endpoint_Descriptor
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-10-30">
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="Usb_Endpoint_Descriptor";
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="../../../ch/ntb/usb/Usb_Device_Descriptor.html" title="class in ch.ntb.usb"><B>PREV CLASS</B></A>&nbsp;
58
&nbsp;<A HREF="../../../ch/ntb/usb/Usb_Interface.html" title="class in ch.ntb.usb"><B>NEXT CLASS</B></A></FONT></TD>
59
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60
  <A HREF="../../../index.html?ch/ntb/usb/Usb_Endpoint_Descriptor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61
&nbsp;<A HREF="Usb_Endpoint_Descriptor.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
ch.ntb.usb</FONT>
91
<BR>
92
Class Usb_Endpoint_Descriptor</H2>
93
<PRE>
94
java.lang.Object
95
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../ch/ntb/usb/Usb_Descriptor.html" title="class in ch.ntb.usb">ch.ntb.usb.Usb_Descriptor</A>
96
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>ch.ntb.usb.Usb_Endpoint_Descriptor</B>
97
</PRE>
98
<HR>
99
<DL>
100
<DT><PRE>public class <B>Usb_Endpoint_Descriptor</B><DT>extends <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html" title="class in ch.ntb.usb">Usb_Descriptor</A></DL>
101
</PRE>
102
 
103
<P>
104
Represents the descriptor of an USB endpoint.<br>
105
 Endpoint descriptors are used to describe endpoints other than endpoint zero.
106
 Endpoint zero is always assumed to be a control endpoint and is configured
107
 before any descriptors are even requested. The host will use the information
108
 returned from these descriptors to determine the bandwidth requirements of
109
 the bus.<br>
110
 <br>
111
 The length of the configuration descriptor is
112
 <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_ENDPOINT_SIZE"><CODE>Usb_Descriptor.USB_DT_ENDPOINT_SIZE</CODE></A> and the type is
113
 <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_ENDPOINT"><CODE>Usb_Descriptor.USB_DT_ENDPOINT</CODE></A>.
114
<P>
115
 
116
<P>
117
<HR>
118
 
119
<P>
120
<!-- =========== FIELD SUMMARY =========== -->
121
 
122
<A NAME="field_summary"><!-- --></A>
123
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
124
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
125
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
126
<B>Field Summary</B></FONT></TH>
127
</TR>
128
<TR BGCOLOR="white" CLASS="TableRowColor">
129
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130
<CODE>static&nbsp;int</CODE></FONT></TD>
131
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_ENDPOINT_ADDRESS_MASK">USB_ENDPOINT_ADDRESS_MASK</A></B></CODE>
132
 
133
<BR>
134
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Endpoint address mask (in bEndpointAddress).</TD>
135
</TR>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138
<CODE>static&nbsp;int</CODE></FONT></TD>
139
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_ENDPOINT_DIR_MASK">USB_ENDPOINT_DIR_MASK</A></B></CODE>
140
 
141
<BR>
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Endpoint address mask (in bEndpointAddress).</TD>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146
<CODE>static&nbsp;int</CODE></FONT></TD>
147
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_ENDPOINT_TYPE_BULK">USB_ENDPOINT_TYPE_BULK</A></B></CODE>
148
 
149
<BR>
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Possible endpoint types (in bmAttributes).</TD>
151
</TR>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
<CODE>static&nbsp;int</CODE></FONT></TD>
155
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_ENDPOINT_TYPE_CONTROL">USB_ENDPOINT_TYPE_CONTROL</A></B></CODE>
156
 
157
<BR>
158
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Possible endpoint types (in bmAttributes).</TD>
159
</TR>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162
<CODE>static&nbsp;int</CODE></FONT></TD>
163
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_ENDPOINT_TYPE_INTERRUPT">USB_ENDPOINT_TYPE_INTERRUPT</A></B></CODE>
164
 
165
<BR>
166
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Possible endpoint types (in bmAttributes).</TD>
167
</TR>
168
<TR BGCOLOR="white" CLASS="TableRowColor">
169
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170
<CODE>static&nbsp;int</CODE></FONT></TD>
171
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_ENDPOINT_TYPE_ISOCHRONOUS">USB_ENDPOINT_TYPE_ISOCHRONOUS</A></B></CODE>
172
 
173
<BR>
174
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Possible endpoint types (in bmAttributes).</TD>
175
</TR>
176
<TR BGCOLOR="white" CLASS="TableRowColor">
177
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178
<CODE>static&nbsp;int</CODE></FONT></TD>
179
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_ENDPOINT_TYPE_MASK">USB_ENDPOINT_TYPE_MASK</A></B></CODE>
180
 
181
<BR>
182
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Endpoint type mask (in bmAttributes).</TD>
183
</TR>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186
<CODE>static&nbsp;int</CODE></FONT></TD>
187
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#USB_MAXENDPOINTS">USB_MAXENDPOINTS</A></B></CODE>
188
 
189
<BR>
190
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maximum number of endpoints</TD>
191
</TR>
192
</TABLE>
193
&nbsp;<A NAME="fields_inherited_from_class_ch.ntb.usb.Usb_Descriptor"><!-- --></A>
194
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
196
<TH ALIGN="left"><B>Fields inherited from class ch.ntb.usb.<A HREF="../../../ch/ntb/usb/Usb_Descriptor.html" title="class in ch.ntb.usb">Usb_Descriptor</A></B></TH>
197
</TR>
198
<TR BGCOLOR="white" CLASS="TableRowColor">
199
<TD><CODE><A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_CONFIG">USB_DT_CONFIG</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_CONFIG_SIZE">USB_DT_CONFIG_SIZE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_DEVICE">USB_DT_DEVICE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_DEVICE_SIZE">USB_DT_DEVICE_SIZE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_ENDPOINT">USB_DT_ENDPOINT</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_ENDPOINT_AUDIO_SIZE">USB_DT_ENDPOINT_AUDIO_SIZE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_ENDPOINT_SIZE">USB_DT_ENDPOINT_SIZE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_HID">USB_DT_HID</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_HUB">USB_DT_HUB</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_HUB_NONVAR_SIZE">USB_DT_HUB_NONVAR_SIZE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_INTERFACE">USB_DT_INTERFACE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_INTERFACE_SIZE">USB_DT_INTERFACE_SIZE</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_PHYSICAL">USB_DT_PHYSICAL</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_REPORT">USB_DT_REPORT</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#USB_DT_STRING">USB_DT_STRING</A></CODE></TD>
200
</TR>
201
</TABLE>
202
&nbsp;
203
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
204
 
205
<A NAME="constructor_summary"><!-- --></A>
206
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
207
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
208
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
209
<B>Constructor Summary</B></FONT></TH>
210
</TR>
211
<TR BGCOLOR="white" CLASS="TableRowColor">
212
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#Usb_Endpoint_Descriptor()">Usb_Endpoint_Descriptor</A></B>()</CODE>
213
 
214
<BR>
215
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
216
</TR>
217
</TABLE>
218
&nbsp;
219
<!-- ========== METHOD SUMMARY =========== -->
220
 
221
<A NAME="method_summary"><!-- --></A>
222
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
224
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
225
<B>Method Summary</B></FONT></TH>
226
</TR>
227
<TR BGCOLOR="white" CLASS="TableRowColor">
228
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229
<CODE>&nbsp;byte</CODE></FONT></TD>
230
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getBEndpointAddress()">getBEndpointAddress</A></B>()</CODE>
231
 
232
<BR>
233
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the endpoint address.</TD>
234
</TR>
235
<TR BGCOLOR="white" CLASS="TableRowColor">
236
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237
<CODE>&nbsp;byte</CODE></FONT></TD>
238
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getBInterval()">getBInterval</A></B>()</CODE>
239
 
240
<BR>
241
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the intervall for polling endpoint data transfers.</TD>
242
</TR>
243
<TR BGCOLOR="white" CLASS="TableRowColor">
244
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245
<CODE>&nbsp;byte</CODE></FONT></TD>
246
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getBmAttributes()">getBmAttributes</A></B>()</CODE>
247
 
248
<BR>
249
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attributes of this endpoint.</TD>
250
</TR>
251
<TR BGCOLOR="white" CLASS="TableRowColor">
252
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253
<CODE>&nbsp;byte</CODE></FONT></TD>
254
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getBRefresh()">getBRefresh</A></B>()</CODE>
255
 
256
<BR>
257
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
258
</TR>
259
<TR BGCOLOR="white" CLASS="TableRowColor">
260
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261
<CODE>&nbsp;byte</CODE></FONT></TD>
262
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getBSynchAddress()">getBSynchAddress</A></B>()</CODE>
263
 
264
<BR>
265
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
266
</TR>
267
<TR BGCOLOR="white" CLASS="TableRowColor">
268
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269
<CODE>&nbsp;byte[]</CODE></FONT></TD>
270
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getExtra()">getExtra</A></B>()</CODE>
271
 
272
<BR>
273
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the data of extra descriptor(s) if available.</TD>
274
</TR>
275
<TR BGCOLOR="white" CLASS="TableRowColor">
276
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
277
<CODE>&nbsp;int</CODE></FONT></TD>
278
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getExtralen()">getExtralen</A></B>()</CODE>
279
 
280
<BR>
281
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of bytes of the extra descriptor.</TD>
282
</TR>
283
<TR BGCOLOR="white" CLASS="TableRowColor">
284
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
285
<CODE>&nbsp;short</CODE></FONT></TD>
286
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#getWMaxPacketSize()">getWMaxPacketSize</A></B>()</CODE>
287
 
288
<BR>
289
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum packet size of this endpoint is capable of sending or
290
 receiving.</TD>
291
</TR>
292
<TR BGCOLOR="white" CLASS="TableRowColor">
293
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
295
<TD><CODE><B><A HREF="../../../ch/ntb/usb/Usb_Endpoint_Descriptor.html#toString()">toString</A></B>()</CODE>
296
 
297
<BR>
298
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
299
</TR>
300
</TABLE>
301
&nbsp;<A NAME="methods_inherited_from_class_ch.ntb.usb.Usb_Descriptor"><!-- --></A>
302
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
303
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
304
<TH ALIGN="left"><B>Methods inherited from class ch.ntb.usb.<A HREF="../../../ch/ntb/usb/Usb_Descriptor.html" title="class in ch.ntb.usb">Usb_Descriptor</A></B></TH>
305
</TR>
306
<TR BGCOLOR="white" CLASS="TableRowColor">
307
<TD><CODE><A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#getBDescriptorType()">getBDescriptorType</A>, <A HREF="../../../ch/ntb/usb/Usb_Descriptor.html#getBLength()">getBLength</A></CODE></TD>
308
</TR>
309
</TABLE>
310
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
311
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
312
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
313
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
314
</TR>
315
<TR BGCOLOR="white" CLASS="TableRowColor">
316
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
317
</TR>
318
</TABLE>
319
&nbsp;
320
<P>
321
 
322
<!-- ============ FIELD DETAIL =========== -->
323
 
324
<A NAME="field_detail"><!-- --></A>
325
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
326
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
327
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
328
<B>Field Detail</B></FONT></TH>
329
</TR>
330
</TABLE>
331
 
332
<A NAME="USB_MAXENDPOINTS"><!-- --></A><H3>
333
USB_MAXENDPOINTS</H3>
334
<PRE>
335
public static final int <B>USB_MAXENDPOINTS</B></PRE>
336
<DL>
337
<DD>Maximum number of endpoints
338
<P>
339
<DL>
340
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_MAXENDPOINTS">Constant Field Values</A></DL>
341
</DL>
342
<HR>
343
 
344
<A NAME="USB_ENDPOINT_ADDRESS_MASK"><!-- --></A><H3>
345
USB_ENDPOINT_ADDRESS_MASK</H3>
346
<PRE>
347
public static final int <B>USB_ENDPOINT_ADDRESS_MASK</B></PRE>
348
<DL>
349
<DD>Endpoint address mask (in bEndpointAddress).
350
<P>
351
<DL>
352
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_ENDPOINT_ADDRESS_MASK">Constant Field Values</A></DL>
353
</DL>
354
<HR>
355
 
356
<A NAME="USB_ENDPOINT_DIR_MASK"><!-- --></A><H3>
357
USB_ENDPOINT_DIR_MASK</H3>
358
<PRE>
359
public static final int <B>USB_ENDPOINT_DIR_MASK</B></PRE>
360
<DL>
361
<DD>Endpoint address mask (in bEndpointAddress).
362
<P>
363
<DL>
364
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_ENDPOINT_DIR_MASK">Constant Field Values</A></DL>
365
</DL>
366
<HR>
367
 
368
<A NAME="USB_ENDPOINT_TYPE_MASK"><!-- --></A><H3>
369
USB_ENDPOINT_TYPE_MASK</H3>
370
<PRE>
371
public static final int <B>USB_ENDPOINT_TYPE_MASK</B></PRE>
372
<DL>
373
<DD>Endpoint type mask (in bmAttributes).
374
<P>
375
<DL>
376
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_ENDPOINT_TYPE_MASK">Constant Field Values</A></DL>
377
</DL>
378
<HR>
379
 
380
<A NAME="USB_ENDPOINT_TYPE_CONTROL"><!-- --></A><H3>
381
USB_ENDPOINT_TYPE_CONTROL</H3>
382
<PRE>
383
public static final int <B>USB_ENDPOINT_TYPE_CONTROL</B></PRE>
384
<DL>
385
<DD>Possible endpoint types (in bmAttributes).
386
<P>
387
<DL>
388
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_ENDPOINT_TYPE_CONTROL">Constant Field Values</A></DL>
389
</DL>
390
<HR>
391
 
392
<A NAME="USB_ENDPOINT_TYPE_ISOCHRONOUS"><!-- --></A><H3>
393
USB_ENDPOINT_TYPE_ISOCHRONOUS</H3>
394
<PRE>
395
public static final int <B>USB_ENDPOINT_TYPE_ISOCHRONOUS</B></PRE>
396
<DL>
397
<DD>Possible endpoint types (in bmAttributes).
398
<P>
399
<DL>
400
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_ENDPOINT_TYPE_ISOCHRONOUS">Constant Field Values</A></DL>
401
</DL>
402
<HR>
403
 
404
<A NAME="USB_ENDPOINT_TYPE_BULK"><!-- --></A><H3>
405
USB_ENDPOINT_TYPE_BULK</H3>
406
<PRE>
407
public static final int <B>USB_ENDPOINT_TYPE_BULK</B></PRE>
408
<DL>
409
<DD>Possible endpoint types (in bmAttributes).
410
<P>
411
<DL>
412
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_ENDPOINT_TYPE_BULK">Constant Field Values</A></DL>
413
</DL>
414
<HR>
415
 
416
<A NAME="USB_ENDPOINT_TYPE_INTERRUPT"><!-- --></A><H3>
417
USB_ENDPOINT_TYPE_INTERRUPT</H3>
418
<PRE>
419
public static final int <B>USB_ENDPOINT_TYPE_INTERRUPT</B></PRE>
420
<DL>
421
<DD>Possible endpoint types (in bmAttributes).
422
<P>
423
<DL>
424
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#ch.ntb.usb.Usb_Endpoint_Descriptor.USB_ENDPOINT_TYPE_INTERRUPT">Constant Field Values</A></DL>
425
</DL>
426
 
427
<!-- ========= CONSTRUCTOR DETAIL ======== -->
428
 
429
<A NAME="constructor_detail"><!-- --></A>
430
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
431
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
432
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
433
<B>Constructor Detail</B></FONT></TH>
434
</TR>
435
</TABLE>
436
 
437
<A NAME="Usb_Endpoint_Descriptor()"><!-- --></A><H3>
438
Usb_Endpoint_Descriptor</H3>
439
<PRE>
440
public <B>Usb_Endpoint_Descriptor</B>()</PRE>
441
<DL>
442
</DL>
443
 
444
<!-- ============ METHOD DETAIL ========== -->
445
 
446
<A NAME="method_detail"><!-- --></A>
447
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
448
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
449
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
450
<B>Method Detail</B></FONT></TH>
451
</TR>
452
</TABLE>
453
 
454
<A NAME="getBEndpointAddress()"><!-- --></A><H3>
455
getBEndpointAddress</H3>
456
<PRE>
457
public byte <B>getBEndpointAddress</B>()</PRE>
458
<DL>
459
<DD>Returns the endpoint address.<br>
460
 <br>
461
 Bits 3..0: Endpoint number <br>
462
 Bits 6..4: Reserved. Set to zero <br>
463
 Bit 7: Direction. 0 = Out, 1 = In (ignored for control endpoints)<br>
464
<P>
465
<DD><DL>
466
 
467
<DT><B>Returns:</B><DD>the endpoint address</DL>
468
</DD>
469
</DL>
470
<HR>
471
 
472
<A NAME="getBInterval()"><!-- --></A><H3>
473
getBInterval</H3>
474
<PRE>
475
public byte <B>getBInterval</B>()</PRE>
476
<DL>
477
<DD>Returns the intervall for polling endpoint data transfers.<br>
478
 Value in frame counts. Ignored for Bulk & Control eEndpoints. Isochronous
479
 endpoints must equal 1 and field may range from 1 to 255 for interrupt
480
 endpoints.
481
<P>
482
<DD><DL>
483
 
484
<DT><B>Returns:</B><DD>the intervall for polling endpoint data transfers</DL>
485
</DD>
486
</DL>
487
<HR>
488
 
489
<A NAME="getBmAttributes()"><!-- --></A><H3>
490
getBmAttributes</H3>
491
<PRE>
492
public byte <B>getBmAttributes</B>()</PRE>
493
<DL>
494
<DD>Returns the attributes of this endpoint.<br>
495
 
496
 Bits 1..0: Transfer Type (see <i>USB_ENDPOINT_TYPE_XXX</i>).<br>
497
 Bits 7..2: Reserved.<br>
498
 
499
 <pre>
500
        If isochronous endpoint:
501
                Bits 3..2: Synchronisation type
502
                00 = No synchronisation
503
                        01 = Asynchronous
504
          10 = Adaptive
505
          11 = Synchronous
506
        Bits 5..4: Usage Type
507
        00 = Data endpoint
508
        01 = Feedback endpoint
509
        10 = Explicit feedback data endpoint
510
        11 = Reserved
511
 </pre>
512
<P>
513
<DD><DL>
514
 
515
<DT><B>Returns:</B><DD>the attributes of this endpoint</DL>
516
</DD>
517
</DL>
518
<HR>
519
 
520
<A NAME="getBRefresh()"><!-- --></A><H3>
521
getBRefresh</H3>
522
<PRE>
523
public byte <B>getBRefresh</B>()</PRE>
524
<DL>
525
<DD><DL>
526
</DL>
527
</DD>
528
</DL>
529
<HR>
530
 
531
<A NAME="getBSynchAddress()"><!-- --></A><H3>
532
getBSynchAddress</H3>
533
<PRE>
534
public byte <B>getBSynchAddress</B>()</PRE>
535
<DL>
536
<DD><DL>
537
</DL>
538
</DD>
539
</DL>
540
<HR>
541
 
542
<A NAME="getExtra()"><!-- --></A><H3>
543
getExtra</H3>
544
<PRE>
545
public byte[] <B>getExtra</B>()</PRE>
546
<DL>
547
<DD>Returns the data of extra descriptor(s) if available.<br>
548
<P>
549
<DD><DL>
550
 
551
<DT><B>Returns:</B><DD>null or a byte array with the extra descriptor data</DL>
552
</DD>
553
</DL>
554
<HR>
555
 
556
<A NAME="getExtralen()"><!-- --></A><H3>
557
getExtralen</H3>
558
<PRE>
559
public int <B>getExtralen</B>()</PRE>
560
<DL>
561
<DD>Returns the number of bytes of the extra descriptor.<br>
562
<P>
563
<DD><DL>
564
 
565
<DT><B>Returns:</B><DD>the number of bytes of the extra descriptor</DL>
566
</DD>
567
</DL>
568
<HR>
569
 
570
<A NAME="getWMaxPacketSize()"><!-- --></A><H3>
571
getWMaxPacketSize</H3>
572
<PRE>
573
public short <B>getWMaxPacketSize</B>()</PRE>
574
<DL>
575
<DD>Returns the maximum packet size of this endpoint is capable of sending or
576
 receiving.<br>
577
<P>
578
<DD><DL>
579
 
580
<DT><B>Returns:</B><DD>the maximum packet size</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><DL>
591
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
592
</DD>
593
<DD><DL>
594
</DL>
595
</DD>
596
</DL>
597
<!-- ========= END OF CLASS DATA ========= -->
598
<HR>
599
 
600
 
601
<!-- ======= START OF BOTTOM NAVBAR ====== -->
602
<A NAME="navbar_bottom"><!-- --></A>
603
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
604
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
605
<TR>
606
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
607
<A NAME="navbar_bottom_firstrow"><!-- --></A>
608
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
609
  <TR ALIGN="center" VALIGN="top">
610
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
611
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
612
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
613
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
614
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
615
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
616
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
617
  </TR>
618
</TABLE>
619
</TD>
620
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
621
</EM>
622
</TD>
623
</TR>
624
 
625
<TR>
626
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
627
&nbsp;<A HREF="../../../ch/ntb/usb/Usb_Device_Descriptor.html" title="class in ch.ntb.usb"><B>PREV CLASS</B></A>&nbsp;
628
&nbsp;<A HREF="../../../ch/ntb/usb/Usb_Interface.html" title="class in ch.ntb.usb"><B>NEXT CLASS</B></A></FONT></TD>
629
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
630
  <A HREF="../../../index.html?ch/ntb/usb/Usb_Endpoint_Descriptor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
631
&nbsp;<A HREF="Usb_Endpoint_Descriptor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
632
&nbsp;<SCRIPT type="text/javascript">
633
  <!--
634
  if(window==top) {
635
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
636
  }
637
  //-->
638
</SCRIPT>
639
<NOSCRIPT>
640
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
641
</NOSCRIPT>
642
 
643
 
644
</FONT></TD>
645
</TR>
646
<TR>
647
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
648
  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>
649
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
650
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>
651
</TR>
652
</TABLE>
653
<A NAME="skip-navbar_bottom"></A>
654
<!-- ======== END OF BOTTOM NAVBAR ======= -->
655
 
656
<HR>
657
 
658
</BODY>
659
</HTML>

powered by: WebSVN 2.1.0

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