mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
200 lines
11 KiB
HTML
200 lines
11 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.6"/>
|
|
<title>tinyusb: LPC175x_6x</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">tinyusb
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('group__group__dcd__lpc175x__6x.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">LPC175x_6x<div class="ingroups"><a class="el" href="group__group__dcd.html">Device Controller Driver (DCD)</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structdcd__dma__descriptor__t.html">dcd_dma_descriptor_t</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr class="memitem:gaaf105ae5beaca1dee30ae54530691fce"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
|
|
  <b>DEV_INT_FRAME_MASK</b> = BIT_(0),
|
|
<b>DEV_INT_ENDPOINT_FAST_MASK</b> = BIT_(1),
|
|
<b>DEV_INT_ENDPOINT_SLOW_MASK</b> = BIT_(2),
|
|
<b>DEV_INT_DEVICE_STATUS_MASK</b> = BIT_(3),
|
|
<br/>
|
|
  <b>DEV_INT_COMMAND_CODE_EMPTY_MASK</b> = BIT_(4),
|
|
<b>DEV_INT_COMMAND_DATA_FULL_MASK</b> = BIT_(5),
|
|
<b>DEV_INT_RX_ENDPOINT_PACKET_MASK</b> = BIT_(6),
|
|
<b>DEV_INT_TX_ENDPOINT_PACKET_MASK</b> = BIT_(7),
|
|
<br/>
|
|
  <b>DEV_INT_ENDPOINT_REALIZED_MASK</b> = BIT_(8),
|
|
<b>DEV_INT_ERROR_MASK</b> = BIT_(9)
|
|
<br/>
|
|
}</td></tr>
|
|
<tr class="separator:gaaf105ae5beaca1dee30ae54530691fce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga80155586fa275b28773c9b203f52caba"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <b>DMA_INT_END_OF_XFER_MASK</b> = BIT_(0),
|
|
<b>DMA_INT_NEW_DD_REQUEST_MASK</b> = BIT_(1),
|
|
<b>DMA_INT_ERROR_MASK</b> = BIT_(2)
|
|
}</td></tr>
|
|
<tr class="separator:ga80155586fa275b28773c9b203f52caba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6b7b47dd702d9e331586d485013fd1ea"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <b>USBCTRL_READ_ENABLE_MASK</b> = BIT_(0),
|
|
<b>USBCTRL_WRITE_ENABLE_MASK</b> = BIT_(1)
|
|
}</td></tr>
|
|
<tr class="separator:ga6b7b47dd702d9e331586d485013fd1ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf9bdc3014f3d54c426b6d2df10de4960"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <b>USBRXPLEN_PACKET_LENGTH_MASK</b> = (BIT_(10)-1),
|
|
<b>USBRXPLEN_DATA_VALID_MASK</b> = BIT_(10),
|
|
<b>USBRXPLEN_PACKET_READY_MASK</b> = BIT_(11)
|
|
}</td></tr>
|
|
<tr class="separator:gaf9bdc3014f3d54c426b6d2df10de4960"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga94027297a0510e0b1cbb557040590efb"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><b>sie_cmdphase_t</b> { <b>SIE_CMDPHASE_WRITE</b> = 1,
|
|
<b>SIE_CMDPHASE_READ</b> = 2,
|
|
<b>SIE_CMDPHASE_COMMAND</b> = 5
|
|
}</td></tr>
|
|
<tr class="separator:ga94027297a0510e0b1cbb557040590efb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadb49720dc49f7d4e4cf9adbf2948e409"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
|
|
  <b>SIE_CMDCODE_SET_ADDRESS</b> = 0xd0,
|
|
<b>SIE_CMDCODE_CONFIGURE_DEVICE</b> = 0xd8,
|
|
<b>SIE_CMDCODE_SET_MODE</b> = 0xf3,
|
|
<b>SIE_CMDCODE_READ_FRAME_NUMBER</b> = 0xf5,
|
|
<br/>
|
|
  <b>SIE_CMDCODE_READ_TEST_REGISTER</b> = 0xfd,
|
|
<b>SIE_CMDCODE_DEVICE_STATUS</b> = 0xfe,
|
|
<b>SIE_CMDCODE_GET_ERROR</b> = 0xff,
|
|
<b>SIE_CMDCODE_READ_ERROR_STATUS</b> = 0xfb,
|
|
<br/>
|
|
  <b>SIE_CMDCODE_ENDPOINT_SELECT</b> = 0x00,
|
|
<b>SIE_CMDCODE_ENDPOINT_SELECT_CLEAR_INTERRUPT</b> = 0x40,
|
|
<b>SIE_CMDCODE_ENDPOINT_SET_STATUS</b> = 0x40,
|
|
<b>SIE_CMDCODE_BUFFER_CLEAR</b> = 0xf2,
|
|
<br/>
|
|
  <b>SIE_CMDCODE_BUFFER_VALIDATE</b> = 0xfa
|
|
<br/>
|
|
}</td></tr>
|
|
<tr class="separator:gadb49720dc49f7d4e4cf9adbf2948e409"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaae05225933a42f81e7c4a9fb286596f9"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
|
|
  <b>SIE_DEV_STATUS_CONNECT_STATUS_MASK</b> = BIT_(0),
|
|
<b>SIE_DEV_STATUS_CONNECT_CHANGE_MASK</b> = BIT_(1),
|
|
<b>SIE_DEV_STATUS_SUSPEND_MASK</b> = BIT_(2),
|
|
<b>SIE_DEV_STATUS_SUSPEND_CHANGE_MASK</b> = BIT_(3),
|
|
<br/>
|
|
  <b>SIE_DEV_STATUS_RESET_MASK</b> = BIT_(4)
|
|
<br/>
|
|
}</td></tr>
|
|
<tr class="separator:gaae05225933a42f81e7c4a9fb286596f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga39fca1837c5ce7715cbf571669660c13"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
|
|
  <b>SIE_SELECT_ENDPOINT_FULL_EMPTY_MASK</b> = BIT_(0),
|
|
<b>SIE_SELECT_ENDPOINT_STALL_MASK</b> = BIT_(1),
|
|
<b>SIE_SELECT_ENDPOINT_SETUP_RECEIVED_MASK</b> = BIT_(2),
|
|
<b>SIE_SELECT_ENDPOINT_PACKET_OVERWRITTEN_MASK</b> = BIT_(3),
|
|
<br/>
|
|
  <b>SIE_SELECT_ENDPOINT_NAK_MASK</b> = BIT_(4),
|
|
<b>SIE_SELECT_ENDPOINT_BUFFER1_FULL_MASK</b> = BIT_(5),
|
|
<b>SIE_SELECT_ENDPOINT_BUFFER2_FULL_MASK</b> = BIT_(6)
|
|
<br/>
|
|
}</td></tr>
|
|
<tr class="separator:ga39fca1837c5ce7715cbf571669660c13"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5eebcdaedfae9ee189b3d8696465fbc1"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><b>sie_endpoint_set_status_mask_t</b> { <b>SIE_SET_ENDPOINT_STALLED_MASK</b> = BIT_(0),
|
|
<b>SIE_SET_ENDPOINT_DISABLED_MASK</b> = BIT_(5),
|
|
<b>SIE_SET_ENDPOINT_RATE_FEEDBACK_MASK</b> = BIT_(6),
|
|
<b>SIE_SET_ENDPOINT_CONDITION_STALLED_MASK</b> = BIT_(7)
|
|
}</td></tr>
|
|
<tr class="separator:ga5eebcdaedfae9ee189b3d8696465fbc1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaaf8fd5f0e57d456151c951e0f3715fc4"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
|
|
  <b>DD_STATUS_NOT_SERVICED</b> = 0,
|
|
<b>DD_STATUS_BEING_SERVICED</b>,
|
|
<b>DD_STATUS_NORMAL</b>,
|
|
<b>DD_STATUS_DATA_UNDERUN</b>,
|
|
<br/>
|
|
  <b>DD_STATUS_DATA_OVERRUN</b>,
|
|
<b>DD_STATUS_SYSTEM_ERROR</b>
|
|
<br/>
|
|
}</td></tr>
|
|
<tr class="separator:gaaf8fd5f0e57d456151c951e0f3715fc4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ga55819d2a5b87a63d01cdb4bba1c5e34a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga55819d2a5b87a63d01cdb4bba1c5e34a"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>STATIC_ASSERT</b> (sizeof(<a class="el" href="structdcd__dma__descriptor__t.html">dcd_dma_descriptor_t</a>)==16,"size is not correct")</td></tr>
|
|
<tr class="separator:ga55819d2a5b87a63d01cdb4bba1c5e34a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1026479a201bab0a94c9a0def8f501f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1026479a201bab0a94c9a0def8f501f5"></a>
|
|
static void </td><td class="memItemRight" valign="bottom"><b>sie_cmd_code</b> (sie_cmdphase_t phase, uint8_t code_data) <a class="el" href="group___group___i_a_r.html#ga18a61fcb06b815274b12b7f626993ac6">ATTR_ALWAYS_INLINE</a></td></tr>
|
|
<tr class="separator:ga1026479a201bab0a94c9a0def8f501f5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab45e00e33b2882c51a64676f6daaab3b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab45e00e33b2882c51a64676f6daaab3b"></a>
|
|
static void </td><td class="memItemRight" valign="bottom"><b>sie_write</b> (uint8_t cmd_code, uint8_t data_len, uint8_t data) <a class="el" href="group___group___i_a_r.html#ga18a61fcb06b815274b12b7f626993ac6">ATTR_ALWAYS_INLINE</a></td></tr>
|
|
<tr class="separator:gab45e00e33b2882c51a64676f6daaab3b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6bb15d13ff9e2c6f6df61d96b6c210e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6bb15d13ff9e2c6f6df61d96b6c210e8"></a>
|
|
static uint32_t </td><td class="memItemRight" valign="bottom"><b>sie_read</b> (uint8_t cmd_code, uint8_t data_len) <a class="el" href="group___group___i_a_r.html#ga18a61fcb06b815274b12b7f626993ac6">ATTR_ALWAYS_INLINE</a></td></tr>
|
|
<tr class="separator:ga6bb15d13ff9e2c6f6df61d96b6c210e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="footer">Generated on Wed Mar 26 2014 16:23:19 for tinyusb by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|