Added information about the XBOXUSB library
8
Doxyfile
|
@ -26,7 +26,7 @@ DOXYFILE_ENCODING = UTF-8
|
|||
# identify the project. Note that if you do not use Doxywizard you need
|
||||
# to put quotes around the project name if it contains spaces.
|
||||
|
||||
PROJECT_NAME = USB_Host_Shield_2.0
|
||||
PROJECT_NAME = "USB Host Shield 2.0"
|
||||
|
||||
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
|
||||
# This could be handy for archiving the generated documentation or
|
||||
|
@ -485,7 +485,7 @@ INLINE_INFO = YES
|
|||
# alphabetically by member name. If set to NO the members will appear in
|
||||
# declaration order.
|
||||
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SORT_MEMBER_DOCS = NO
|
||||
|
||||
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
|
||||
# brief documentation of file, namespace and class members alphabetically
|
||||
|
@ -756,7 +756,7 @@ EXCLUDE_SYMLINKS = NO
|
|||
# against the file with absolute path, so to exclude all test directories
|
||||
# for example use the pattern */test/*
|
||||
|
||||
EXCLUDE_PATTERNS = XBOXUSB.*
|
||||
EXCLUDE_PATTERNS =
|
||||
|
||||
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
||||
# (namespaces, classes, functions, etc.) that should be excluded from the
|
||||
|
@ -1007,7 +1007,7 @@ HTML_COLORSTYLE_GAMMA = 80
|
|||
# page will contain the date and time when the page was generated. Setting
|
||||
# this to NO can help when comparing the output of multiple runs.
|
||||
|
||||
HTML_TIMESTAMP = YES
|
||||
HTML_TIMESTAMP = NO
|
||||
|
||||
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
|
||||
# documentation will contain sections that can be hidden and shown after the
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: BTD.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: BTD.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -125,7 +125,7 @@ Macros</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: BTD.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: BTD.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -1275,7 +1275,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
1276
_b_t_d_8h.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: BTD.h Source File</title>
|
||||
<title>USB Host Shield 2.0: BTD.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -297,54 +297,56 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00378"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c"> 378</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a0c8cc2a2dd2cda3e760b8b4c1a2d169c">pairWithWii</a>;</div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc"> 380</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a3aea445b2349e99ef057db1a4ffdd9dc">motionPlusInside</a>;</div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583"> 382</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a>;</div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  </div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00386"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1"> 386</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c"> 388</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e"> 390</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">epInfo</a>[<a class="code" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a>];</div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  </div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2"> 393</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</a>;</div>
|
||||
<div class="line"><a name="l00395"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66"> 395</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a>;</div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079"> 397</a></span>  uint32_t <a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a>;</div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  </div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad"> 400</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad">BTD_CONTROL_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec"> 402</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec">BTD_EVENT_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00404"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c"> 404</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c">BTD_DATAIN_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd"> 406</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd">BTD_DATAOUT_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  </div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a>(<span class="keyword">const</span> <a class="code" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a>* ep_ptr); </div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd"> 388</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>() { <span class="keywordflow">return</span> pollInterval; };</div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  </div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c"> 394</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a58f78a9a28db81858dcc34a32a2ec82c">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00396"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e"> 396</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_b_t_d.html#a91d92fee94e5a4cbca472bb3fd883e3e">epInfo</a>[<a class="code" href="_b_t_d_8h.html#aee41c4878894db24e7ad8cd6246595cd">BTD_MAX_ENDPOINTS</a>];</div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  </div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2"> 399</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a10c34527ae90e95791ac48ac7d1154a2">bConfNum</a>;</div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66"> 401</a></span>  uint8_t <a class="code" href="class_b_t_d.html#a893dd35932821cddda7e482a1904af66">bNumEP</a>;</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079"> 403</a></span>  uint32_t <a class="code" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a>;</div>
|
||||
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  </div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad"> 406</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a49f433ab824f259c3815e180c73bb0ad">BTD_CONTROL_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec"> 408</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a24166c9b308925eeb2f635fae43ca5ec">BTD_EVENT_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c"> 410</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a480510bd399ae74a97cd74c8474ef59c">BTD_DATAIN_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"><a class="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd"> 412</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_b_t_d.html#a0d82870f7eef8c27c33e6f5989d7a4dd">BTD_DATAOUT_PIPE</a>;</div>
|
||||
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  </div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <a class="code" href="class_bluetooth_service.html">BluetoothService</a>* btService[<a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>];</div>
|
||||
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  </div>
|
||||
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  uint8_t pollInterval;</div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <span class="keywordtype">void</span> <a class="code" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a>(<span class="keyword">const</span> <a class="code" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a>* ep_ptr); </div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  </div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="comment">/* Variables used by high level HCI task */</span> </div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  uint8_t hci_state; <span class="comment">//current state of bluetooth hci connection</span></div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  uint16_t hci_counter; <span class="comment">// counter used for bluetooth hci reset loops</span></div>
|
||||
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  uint8_t hci_num_reset_loops; <span class="comment">// this value indicate how many times it should read before trying to reset</span></div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  uint16_t hci_event_flag; <span class="comment">// hci flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  uint8_t inquiry_counter;</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  </div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  uint8_t hcibuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>];<span class="comment">//General purpose buffer for hci data</span></div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>];<span class="comment">//General purpose buffer for l2cap in data</span></div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  uint8_t l2capoutbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>];<span class="comment">//General purpose buffer for l2cap out data</span></div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  </div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="keywordtype">void</span> HCI_event_task(); <span class="comment">// Poll the HCI event pipe</span></div>
|
||||
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="keywordtype">void</span> HCI_task(); <span class="comment">// HCI state machine</span></div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keywordtype">void</span> ACL_event_task(); <span class="comment">// ACL input pipe</span></div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  </div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <span class="comment">/* Used to set the Bluetooth Address internally to the PS3 Controllers */</span></div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keywordtype">void</span> setBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keywordtype">void</span> setMoveBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> };</div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <a class="code" href="class_bluetooth_service.html">BluetoothService</a>* btService[<a class="code" href="_b_t_d_8h.html#a2222709eed4c8af293e881ea36f599b0">BTD_NUMSERVICES</a>];</div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  </div>
|
||||
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  uint8_t pollInterval;</div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  </div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="comment">/* Variables used by high level HCI task */</span> </div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  uint8_t hci_state; <span class="comment">//current state of bluetooth hci connection</span></div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  uint16_t hci_counter; <span class="comment">// counter used for bluetooth hci reset loops</span></div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  uint8_t hci_num_reset_loops; <span class="comment">// this value indicate how many times it should read before trying to reset</span></div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  uint16_t hci_event_flag; <span class="comment">// hci flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  uint8_t inquiry_counter;</div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  </div>
|
||||
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  uint8_t hcibuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>];<span class="comment">//General purpose buffer for hci data</span></div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>];<span class="comment">//General purpose buffer for l2cap in data</span></div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  uint8_t l2capoutbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>];<span class="comment">//General purpose buffer for l2cap out data</span></div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  </div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keywordtype">void</span> HCI_event_task(); <span class="comment">// Poll the HCI event pipe</span></div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keywordtype">void</span> HCI_task(); <span class="comment">// HCI state machine</span></div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keywordtype">void</span> ACL_event_task(); <span class="comment">// ACL input pipe</span></div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  </div>
|
||||
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="comment">/* Used to set the Bluetooth Address internally to the PS3 Controllers */</span></div>
|
||||
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordtype">void</span> setBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="keywordtype">void</span> setMoveBdaddr(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span> };</div>
|
||||
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3BT.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: PS3BT.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -158,7 +158,7 @@ OUTPUT_REPORT_BUFFER[] </td><td class="memItemRight" valign="bottom"><a cla
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3BT.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: PS3BT.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -749,7 +749,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3BT.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: PS3BT.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -192,101 +192,31 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a48b27c08aa64a339eb1d358707927d3e"></a>
|
||||
<a class="anchor" id="a8e1b40b58f50a692cda94418934e9ba6"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_control_flag   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e">L2CAP_FLAG_CONFIG_CONTROL_REQUEST</a>)</td>
|
||||
<td class="memname">#define OUTPUT_REPORT_BUFFER_SIZE   48</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00052">52</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00025">25</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad5c6ab585a398e53f2ee5616fe0d4346"></a>
|
||||
<a class="anchor" id="a15cc1db556ad9a4ec6144ca8a42f8919"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f">L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST</a>)</td>
|
||||
<td class="memname">#define L2CAP_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00055">55</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a39a58b19fb4ef26cf503ed57a43570a4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00053">53</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b3e87e1f460bc011e69f5e53e79c104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00056">56</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a728c7d92dd341dcc1b8f4bf95bb4826d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00051">51</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fa7bceb44bbdff3229fd431627b9868"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00054">54</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b5140e7ca5941e5535c575255ffc1cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_DISCONNECT   10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00038">38</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00028">28</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -318,157 +248,45 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7f0cab74308e812106252c53b18c0391"></a>
|
||||
<a class="anchor" id="ac7aa7fd7a8a34a6c9e420e3cb114737b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SETUP   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00057">57</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00031">31</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a667178a4486c4dee88e052b3562362cd"></a>
|
||||
<a class="anchor" id="a0c004c746b90f2c8025bb1ddd20d811a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_REQUEST   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00058">58</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00032">32</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae4da52ca67e1f8b977199b24e8f3a400"></a>
|
||||
<a class="anchor" id="ac2fdeba844d7f2021e0aed9616aad5e4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_DONE   8</td>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SUCCESS   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00036">36</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af693a78d3df21b24430347b804076b8e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST   0x02</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00042">42</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c444d5d06ec604820d426556c2f38d7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00043">43</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab8ff96117ba9c8f6a53c2ebbac0da33f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00045">45</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2b3cdcd3124251a40ce825da0d8dcb6f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x20</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00046">46</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a969a1ee84797f3ee5006c41f67373f96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00041">41</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a015f3b25bd7a2908c84b973dec453f45"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x08</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00044">44</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a27057737ae0b2246442511c01eeed192"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x40</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00047">47</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acc096a05301f3cbdece4ad372cc149c3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x80</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00048">48</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00033">33</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -498,6 +316,20 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00035">35</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae4da52ca67e1f8b977199b24e8f3a400"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_DONE   8</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00036">36</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab569b2085ad29f41d1da9c0ed352bd65"></a>
|
||||
|
@ -514,80 +346,248 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c004c746b90f2c8025bb1ddd20d811a"></a>
|
||||
<a class="anchor" id="a9b5140e7ca5941e5535c575255ffc1cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_REQUEST   4</td>
|
||||
<td class="memname">#define L2CAP_CONTROL_DISCONNECT   10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00032">32</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00038">38</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac7aa7fd7a8a34a6c9e420e3cb114737b"></a>
|
||||
<a class="anchor" id="a969a1ee84797f3ee5006c41f67373f96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SETUP   3</td>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00031">31</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00041">41</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac2fdeba844d7f2021e0aed9616aad5e4"></a>
|
||||
<a class="anchor" id="af693a78d3df21b24430347b804076b8e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SUCCESS   5</td>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST   0x02</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00033">33</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00042">42</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a15cc1db556ad9a4ec6144ca8a42f8919"></a>
|
||||
<a class="anchor" id="a0c444d5d06ec604820d426556c2f38d7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_WAIT   0</td>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00028">28</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00043">43</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8e1b40b58f50a692cda94418934e9ba6"></a>
|
||||
<a class="anchor" id="a015f3b25bd7a2908c84b973dec453f45"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define OUTPUT_REPORT_BUFFER_SIZE   48</td>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x08</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00025">25</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00044">44</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab8ff96117ba9c8f6a53c2ebbac0da33f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00045">45</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2b3cdcd3124251a40ce825da0d8dcb6f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x20</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00046">46</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a27057737ae0b2246442511c01eeed192"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x40</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00047">47</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acc096a05301f3cbdece4ad372cc149c3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x80</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00048">48</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a728c7d92dd341dcc1b8f4bf95bb4826d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00051">51</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a48b27c08aa64a339eb1d358707927d3e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_control_flag   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#af693a78d3df21b24430347b804076b8e">L2CAP_FLAG_CONFIG_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00052">52</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a39a58b19fb4ef26cf503ed57a43570a4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00053">53</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fa7bceb44bbdff3229fd431627b9868"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00054">54</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad5c6ab585a398e53f2ee5616fe0d4346"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_p_s3_b_t_8h.html#ab8ff96117ba9c8f6a53c2ebbac0da33f">L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00055">55</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b3e87e1f460bc011e69f5e53e79c104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00056">56</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7f0cab74308e812106252c53b18c0391"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00057">57</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a667178a4486c4dee88e052b3562362cd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_b_t_8h_source.html#l00058">58</a> of file <a class="el" href="_p_s3_b_t_8h_source.html">PS3BT.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3BT.h Source File</title>
|
||||
<title>USB Host Shield 2.0: PS3BT.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -156,76 +156,76 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">Run</a>();</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a576d72cdf12af58ae59c8f2a02f99c0f">Reset</a>();</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">disconnect</a>();</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  uint8_t <a class="code" href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00">getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  uint8_t <a class="code" href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  int16_t <a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60">getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a);</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965">get9DOFValues</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c);</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  String <a class="code" href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f">getStatusString</a>();</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  String <a class="code" href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4">getTemperature</a>();</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">setAllOff</a>();</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">moveSetRumble</a>(uint8_t rumble);</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9"> 198</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a>;</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a"> 200</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>;</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430"> 202</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>;</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="comment">/* mandatory members */</span></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9b8726849cf6fbaf4e98a9652cb53b61">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a92c617e1d00860dc560af7cfe20938d9">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  uint8_t <a class="code" href="class_p_s3_b_t.html#a8c04e0e821dcbfb8825d4b31ab270f00">getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a);</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  uint8_t <a class="code" href="class_p_s3_b_t.html#a9da5c045fafc3436dc2d2820cb234384">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  int16_t <a class="code" href="class_p_s3_b_t.html#a99be7c63e7cb91a26110e0e44b180a0a">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#a5f4d7fd35927694ae815091b487dcd60">getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a);</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_b_t.html#af9386c460169ea8f07e79c86a8938965">get9DOFValues</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a88106bc19e763a191a3fe04f4641f4c6">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c);</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  String <a class="code" href="class_p_s3_b_t.html#ac31b6d24710711a9d460367b6aae308f">getStatusString</a>();</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  String <a class="code" href="class_p_s3_b_t.html#ab4f49b61167df001d13b68c7699651b4">getTemperature</a>();</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a6ee74242b0c1644496ff04b457f39cd2">setAllOff</a>();</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a5c87e7db5311a5d56f78c994b5545e4e">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad18e284705a4899d72937b97e27cb0a4">setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode);</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#aa84e4cb30f827c8d8d981c1de82c53ad">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad400e1ce37c2dadd48938187b5021d42">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#a313d4c962273fc7daccb0319d80c5f61">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ad0926b75edcbb12ddf76f78e66728782">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_b_t.html#ac14d338ddb573d1c06f70749f9205689">moveSetRumble</a>(uint8_t rumble);</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9"> 200</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a2804535e3164eafca80a6f6c6bd9a4f9">PS3Connected</a>;</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a"> 202</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#a9273b6796948b83772117b3805421b4a">PS3MoveConnected</a>;</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"><a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430"> 204</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_b_t.html#ab35277632083d43f8750d130bea6d430">PS3NavigationConnected</a>;</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="comment">/* mandatory members */</span></div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  int16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  uint8_t remote_name[30]; <span class="comment">// First 30 chars of remote name</span></div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it's already has established a connection</span></div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  </div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="comment">/* variables used by high level L2CAP task */</span> </div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  uint16_t l2cap_event_flag; <span class="comment">// L2CAP flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  </div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  int16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  uint8_t remote_name[30]; <span class="comment">// First 30 chars of remote name</span></div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it's already has established a connection</span></div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="comment">/* variables used by high level L2CAP task */</span> </div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  uint16_t l2cap_event_flag; <span class="comment">// L2CAP flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  uint32_t timerHID; <span class="comment">// Timer used see if there has to be a delay before a new HID command</span></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  uint32_t timerBulbRumble;<span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for L2CAP in data</span></div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  uint8_t HIDBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  uint8_t HIDMoveBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands for the Move controller </span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control </span></div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0040</span></div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt </span></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0041</span></div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  uint8_t identifier; <span class="comment">// Identifier for connection </span></div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordtype">void</span> HIDMove_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via Bluetooth</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> };</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  </div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  uint32_t timerHID; <span class="comment">// Timer used see if there has to be a delay before a new HID command</span></div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  uint32_t timerBulbRumble;<span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  uint8_t l2capinbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for L2CAP in data</span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  uint8_t HIDBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  uint8_t HIDMoveBuffer[<a class="code" href="_p_s3_b_t_8h.html#a465c4c33eae0fd5f934ae12bc8d6ca7e">HID_BUFFERSIZE</a>]; <span class="comment">// Used to store HID commands for the Move controller </span></div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control </span></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0040</span></div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt </span></div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0041</span></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  uint8_t identifier; <span class="comment">// Identifier for connection </span></div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordtype">void</span> HIDMove_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via Bluetooth</span></div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> };</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3Enums.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: PS3Enums.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -189,27 +189,6 @@ Variables</h2></td></tr>
|
|||
<tr class="separator:aefe67abcaf27811cfe8d010add39ae4e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Used to get the angle calculated using the accelerometer. </p>
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"></a>Pitch</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173"></a>Roll</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_enums_8h_source.html#l00157">157</a> of file <a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a55ecd4f2ec2ebfe8d5b0163e4ac2a967"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
|
@ -249,26 +228,6 @@ Variables</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_p_s3_enums_8h_source.html#l00096">96</a> of file <a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aff4be38428d075a117a5bb7f6209a231"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"></a>RumbleHigh</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac"></a>RumbleLow</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_enums_8h_source.html#l00188">188</a> of file <a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9628766e5f200cc84b296b071b09ff4a"></a>
|
||||
|
@ -329,6 +288,27 @@ Variables</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_p_s3_enums_8h_source.html#l00122">122</a> of file <a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Used to get the angle calculated using the accelerometer. </p>
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1ae3a34b760fa4a6854f28852e91d8bb47"></a>Pitch</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a0200d2d1b3a7930d0be6c50e7c8ae7d1a9d80e5f030503ccac779c6491826a173"></a>Roll</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_enums_8h_source.html#l00157">157</a> of file <a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a67a0db04d321a74b7e7fcfd3f1a3f70b"></a>
|
||||
|
@ -385,6 +365,26 @@ Variables</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_p_s3_enums_8h_source.html#l00161">161</a> of file <a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aff4be38428d075a117a5bb7f6209a231"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="aff4be38428d075a117a5bb7f6209a231a5819f165165589a8e65b07bf46c7382b"></a>RumbleHigh</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="aff4be38428d075a117a5bb7f6209a231a080b52389e532b79b9e48f43ae6086ac"></a>RumbleLow</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_enums_8h_source.html#l00188">188</a> of file <a class="el" href="_p_s3_enums_8h_source.html">PS3Enums.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
|
@ -423,7 +423,7 @@ Variables</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3Enums.h Source File</title>
|
||||
<title>USB Host Shield 2.0: PS3Enums.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -245,7 +245,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3USB.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: PS3USB.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -157,7 +157,7 @@ Variables</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3USB.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: PS3USB.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -643,7 +643,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3USB.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: PS3USB.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -149,17 +149,17 @@ Macros</h2></td></tr>
|
|||
<tr class="separator:a168ab47b14a95d7cf8066d553a9cb862"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="a5bd4ea095da29635414952894bd527f5"></a>
|
||||
<a class="anchor" id="abcb805b13bfd36145e252b0633bbcfc0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmREQ_HID_OUT   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td>
|
||||
<td class="memname">#define EP_MAXPKTSIZE   64</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00051">51</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00031">31</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -175,48 +175,6 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00034">34</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abcb805b13bfd36145e252b0633bbcfc0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_MAXPKTSIZE   64</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00031">31</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aee05d40a014750b24a7e9967f6f389f4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HID_REQUEST_SET_REPORT   0x09</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00052">52</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2c6c24a4b63d9a34926fb35d6b49cd17"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MOVE_REPORT_BUFFER_SIZE   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00048">48</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae6276fa555fe14995bee0713be663333"></a>
|
||||
|
@ -231,34 +189,6 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00037">37</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aca3cbaad8732d9185bb9bda1a32cd18d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_INPUT_PIPE   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00039">39</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a168ab47b14a95d7cf8066d553a9cb862"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_MAX_ENDPOINTS   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00054">54</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0da271fcb10181b3ce15aefe76c259bb"></a>
|
||||
|
@ -275,31 +205,17 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0ae276efa5e73a4da658c714e70402c0"></a>
|
||||
<a class="anchor" id="aca3cbaad8732d9185bb9bda1a32cd18d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_PID   0x0268</td>
|
||||
<td class="memname">#define PS3_INPUT_PIPE   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00043">43</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4898fccf5d2aa053bc67894aa3627e0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_REPORT_BUFFER_SIZE   48</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00047">47</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00039">39</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -317,17 +233,17 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="afc242b8a1b867f79c49ad78e3a47b37f"></a>
|
||||
<a class="anchor" id="a0ae276efa5e73a4da658c714e70402c0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3MOVE_PID   0x03D5</td>
|
||||
<td class="memname">#define PS3_PID   0x0268</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00045">45</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00043">43</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -343,12 +259,96 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00044">44</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="afc242b8a1b867f79c49ad78e3a47b37f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3MOVE_PID   0x03D5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00045">45</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4898fccf5d2aa053bc67894aa3627e0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_REPORT_BUFFER_SIZE   48</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00047">47</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2c6c24a4b63d9a34926fb35d6b49cd17"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MOVE_REPORT_BUFFER_SIZE   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00048">48</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5bd4ea095da29635414952894bd527f5"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmREQ_HID_OUT   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00051">51</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aee05d40a014750b24a7e9967f6f389f4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HID_REQUEST_SET_REPORT   0x09</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00052">52</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a168ab47b14a95d7cf8066d553a9cb862"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PS3_MAX_ENDPOINTS   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_p_s3_u_s_b_8h_source.html#l00054">54</a> of file <a class="el" href="_p_s3_u_s_b_8h_source.html">PS3USB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: PS3USB.h Source File</title>
|
||||
<title>USB Host Shield 2.0: PS3USB.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -156,60 +156,60 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#af13993073ab245ece6d3fe9e9f41df87">setBdaddr</a>(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a3be69a3c6e24bf2b53bc06c85829e62a">setMoveBdaddr</a>(uint8_t* BDADDR);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a);</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  uint16_t <a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a);</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c);</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>();</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">setAllOff</a>();</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  </div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">moveSetRumble</a>(uint8_t rumble);</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876"> 211</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a>;</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28"> 213</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09"> 215</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a>;</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="keyword">protected</span>: </div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48"> 219</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd"> 221</a></span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1"> 223</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a>];</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="keyword">private</span>: </div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  uint32_t timer; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  uint8_t my_bdaddr[6]; <span class="comment">// Change to your dongles Bluetooth address in the constructor</span></div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  uint8_t readBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  uint8_t writeBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordtype">void</span> PS3_Command(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via USB</span></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">void</span> Move_Command(uint8_t* data, uint16_t nbytes); </div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> };</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#ad1de9af6fb34f4cff6c1ed0af21b0141">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a9a50f5ed5b41232336cc6d1870795230">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2d30813a3f5c4729b5c1662832d5a6e0">getAnalogButton</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> a);</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a2b0f391b8ae3e80b18cf9108c3e8f7e3">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  uint16_t <a class="code" href="class_p_s3_u_s_b.html#a4fe61beae6f0e36e4df1ea388bed0783">getSensor</a>(<a class="code" href="_p_s3_enums_8h.html#a9628766e5f200cc84b296b071b09ff4a">Sensor</a> a);</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">double</span> <a class="code" href="class_p_s3_u_s_b.html#a9b9e5a3a3e80957f47f86f4155fee777">getAngle</a>(<a class="code" href="_p_s3_enums_8h.html#a0200d2d1b3a7930d0be6c50e7c8ae7d1">Angle</a> a);</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a09da3bcd33a8dd20d7cb06a70833e448">getStatus</a>(<a class="code" href="_p_s3_enums_8h.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> c);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  String <a class="code" href="class_p_s3_u_s_b.html#ae3f19089341bb545f31b3b01e77131ae">getStatusString</a>();</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ac7adc7365bb45d15c37e22f26f012498">setAllOff</a>();</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#aaa1e66d7397be6364d4f76749cbaad5a">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a5dc4e5d1ebd5ca24da7cdc9dd08c94e1">setRumbleOn</a>(<a class="code" href="_p_s3_enums_8h.html#aff4be38428d075a117a5bb7f6209a231">Rumble</a> mode);</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#adb361fecbe4eb6fc5635dc7135cfff03">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a44c4bff09064a09ef97c7bb6b8c0810b">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#acbab64f537f092e2fb125f9001f46090">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(uint8_t r, uint8_t g, uint8_t b);</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#ae9cfdaad3e54dbc271519e22082399c7">moveSetBulb</a>(<a class="code" href="_p_s3_enums_8h.html#a55ecd4f2ec2ebfe8d5b0163e4ac2a967">Colors</a> color);</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordtype">void</span> <a class="code" href="class_p_s3_u_s_b.html#a66d542c2cec73cefb3cdda36ff080e1a">moveSetRumble</a>(uint8_t rumble);</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876"> 213</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a0dad8754ff18d0c375c2569791d50876">PS3Connected</a>;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28"> 215</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a89aa4233f3eeeb99693a099da527ec28">PS3MoveConnected</a>;</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09"> 217</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_p_s3_u_s_b.html#a54b2dcaa1e9acef83de2376b50c7ff09">PS3NavigationConnected</a>;</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="keyword">protected</span>: </div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48"> 221</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_p_s3_u_s_b.html#aa1873f41ae0da7c4568cfb7517560c48">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd"> 223</a></span>  uint8_t <a class="code" href="class_p_s3_u_s_b.html#a3f43df159277003acdf7dd107bda27fd">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1"> 225</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_p_s3_u_s_b.html#a394dbb0a59b587210e5958f08dac48f1">epInfo</a>[<a class="code" href="_p_s3_u_s_b_8h.html#a168ab47b14a95d7cf8066d553a9cb862">PS3_MAX_ENDPOINTS</a>];</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">private</span>: </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  uint32_t timer; <span class="comment">// used to continuously set PS3 Move controller Bulb and rumble values</span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  </div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  uint8_t my_bdaddr[6]; <span class="comment">// Change to your dongles Bluetooth address in the constructor</span></div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  uint8_t readBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  uint8_t writeBuf[<a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  </div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">void</span> PS3_Command(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keywordtype">void</span> enable_sixaxis(); <span class="comment">// Command used to enable the Dualshock 3 and Navigation controller to send data via USB</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordtype">void</span> Move_Command(uint8_t* data, uint16_t nbytes); </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> };</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: README.md File Reference</title>
|
||||
<title>USB Host Shield 2.0: README.md File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -90,7 +90,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: README.md Source File</title>
|
||||
<title>USB Host Shield 2.0: README.md Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -174,7 +174,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> The library support one Xbox 360 via <a class="code" href="class_u_s_b.html">USB</a> or up to four Xbox 360 controllers wirelessly by <span class="keyword">using</span> a [Xbox 360 wireless receiver](http:<span class="comment">//blog.tkjelectronics.dk/wp-content/uploads/xbox360-wireless-receiver.jpg).</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> To use it via <a class="code" href="class_u_s_b.html">USB</a> use the [XBOXUSB](https:<span class="comment">//github.com/felis/USB_Host_Shield_2.0/blob/master/XBOXUSB.cpp) library or to use it wirelessly use the [XBOXRECV](https://github.com/felis/USB_Host_Shield_2.0/blob/master/XBOXRECV.cpp) library.</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> To use it via <a class="code" href="class_u_s_b.html">USB</a> use the [<a class="code" href="class_x_b_o_x_u_s_b.html">XBOXUSB</a>](https:<span class="comment">//github.com/felis/USB_Host_Shield_2.0/blob/master/XBOXUSB.cpp) library or to use it wirelessly use the [XBOXRECV](https://github.com/felis/USB_Host_Shield_2.0/blob/master/XBOXRECV.cpp) library.</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> __Note that a Wireless controller can NOT be used via <a class="code" href="class_u_s_b.html">USB</a>!__</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
|
||||
|
@ -234,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: SPP.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: SPP.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -164,7 +164,7 @@ Variables</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: SPP.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: SPP.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -1016,7 +1016,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
888
_s_p_p_8h.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: SPP.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: SPP.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -203,437 +203,17 @@ Macros</h2></td></tr>
|
|||
<tr class="separator:a336bf1805637fdd66033c9040e606a6b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad14b1def5eec64e94cc64a2dcba354ea"></a>
|
||||
<a class="anchor" id="a72444116eaac116983a3dec35b1944f0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_MSC_CMD   0xE3</td>
|
||||
<td class="memname">#define L2CAP_SDP_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00076">76</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab68e7621ab822c3bfb9507c78d0d0550"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_MSC_RSP   0xE1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00077">77</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11185ec5287f08bf49c2c68d8cd52a16"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_PN_CMD   0x83</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00074">74</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a17b4a98661e30b6989cbe35ba5da4822"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_PN_RSP   0x81</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00075">75</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad9b8c11f7f4f8e8d59ac77999b2ec4a3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_RPN_CMD   0x93</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00078">78</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a336bf1805637fdd66033c9040e606a6b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_RPN_RSP   0x91</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00079">79</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af31032289d962bc2408debecc2823b8c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define extendAddress   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00071">71</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae9459fccc82a24e23dc52ef0e0422273"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#abaa9eb6a1d27745243ef134ecad34bb2">L2CAP_FLAG_CONFIG_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00051">51</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5f5f1cfcc3f39ee032185cac348cb068"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a52cc6e4a2a6d151dd5d0e788b937b2e8">L2CAP_FLAG_CONFIG_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00050">50</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1c5c7dc5782a562f1b91e835f8aebdb4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a8af4ce4d4c42d85f0d84a514354fc570">L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00053">53</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a37d324cfd5a79f623dcd0fc8fa047447"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a75ef214ce8a03e8d62a1b24554bc1a05">L2CAP_FLAG_CONFIG_SDP_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00052">52</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a28cbb8ce9ab60e04e2e131a87e06d5f0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a61b15e54b1c5f9a28c996ae8e04ca3c0">L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00049">49</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3b1cbac2f2fc44b393ff3cb96448892a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a0d649771ff995585c2bff030b7c1a2d3">L2CAP_FLAG_CONNECTION_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00048">48</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af565a91718a79907aece8a5c278aa0bc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a9da70c702c0b792d99f8e39713ac0ee7">L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00055">55</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a05022c9cce93cccafc32337771c8704a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#aac25fa1de5df70a97a6ccc6267d65fea">L2CAP_FLAG_DISCONNECT_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00054">54</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="adf2585ad5d49cf2df2595d860ad6b258"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_DISCONNECT_RESPONSE   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00028">28</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1412e00ebed70b8d7b41afd769252530"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#ae16d9fcc820433592ba171c8b2a9e25d">L2CAP_FLAG_DISCONNECT_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00056">56</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abaa9eb6a1d27745243ef134ecad34bb2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_RFCOMM_REQUEST   0x008</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00040">40</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8af4ce4d4c42d85f0d84a514354fc570"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS   0x020</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00042">42</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a52cc6e4a2a6d151dd5d0e788b937b2e8"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_SDP_REQUEST   0x004</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00039">39</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a75ef214ce8a03e8d62a1b24554bc1a05"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_SDP_SUCCESS   0x010</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00041">41</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a61b15e54b1c5f9a28c996ae8e04ca3c0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST   0x002</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00038">38</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0d649771ff995585c2bff030b7c1a2d3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_SDP_REQUEST   0x001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00037">37</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae16d9fcc820433592ba171c8b2a9e25d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_RESPONSE   0x100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00045">45</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9da70c702c0b792d99f8e39713ac0ee7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST   0x080</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00044">44</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aac25fa1de5df70a97a6ccc6267d65fea"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST   0x040</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00043">43</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac3b4f24642f460c347305dedbebc5e63"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_DONE   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00034">34</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad7f3cf22bd76c9ccd377d96b4a751fc4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_REQUEST   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00032">32</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a75321d181cfa3c485bcd96918c1b353e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_SUCCESS   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00033">33</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0b7cbe1aa26664847a48bd4578bc50bd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_RFCOMM_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00031">31</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a25f7af87e6960e2e8ed49006b0b50f3e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_SDP_DONE   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00027">27</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00024">24</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -665,87 +245,339 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a72444116eaac116983a3dec35b1944f0"></a>
|
||||
<a class="anchor" id="a25f7af87e6960e2e8ed49006b0b50f3e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_SDP_WAIT   0</td>
|
||||
<td class="memname">#define L2CAP_SDP_DONE   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00024">24</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00027">27</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac202a65fc9bc1a5d837e5d095b1bb9f2"></a>
|
||||
<a class="anchor" id="adf2585ad5d49cf2df2595d860ad6b258"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_UUID   0x0100</td>
|
||||
<td class="memname">#define L2CAP_DISCONNECT_RESPONSE   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00062">62</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00028">28</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2c8ebc5e78dc22e7ae4e79370fada66f"></a>
|
||||
<a class="anchor" id="a0b7cbe1aa26664847a48bd4578bc50bd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_DISC   0x43</td>
|
||||
<td class="memname">#define L2CAP_RFCOMM_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00069">69</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00031">31</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5747e4c0826eb3341fe2476b5229e0d0"></a>
|
||||
<a class="anchor" id="ad7f3cf22bd76c9ccd377d96b4a751fc4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_SABM   0x2F</td>
|
||||
<td class="memname">#define L2CAP_RFCOMM_REQUEST   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00065">65</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00032">32</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9f534220af893b5ae8c8927564db77c3"></a>
|
||||
<a class="anchor" id="a75321d181cfa3c485bcd96918c1b353e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_UA   0x63</td>
|
||||
<td class="memname">#define L2CAP_RFCOMM_SUCCESS   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00066">66</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00033">33</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae9ffac80725386a879ba956251f64373"></a>
|
||||
<a class="anchor" id="ac3b4f24642f460c347305dedbebc5e63"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_UIH   0xEF</td>
|
||||
<td class="memname">#define L2CAP_RFCOMM_DONE   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00067">67</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00034">34</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0d649771ff995585c2bff030b7c1a2d3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_SDP_REQUEST   0x001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00037">37</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a61b15e54b1c5f9a28c996ae8e04ca3c0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST   0x002</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00038">38</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a52cc6e4a2a6d151dd5d0e788b937b2e8"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_SDP_REQUEST   0x004</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00039">39</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abaa9eb6a1d27745243ef134ecad34bb2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_RFCOMM_REQUEST   0x008</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00040">40</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a75ef214ce8a03e8d62a1b24554bc1a05"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_SDP_SUCCESS   0x010</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00041">41</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8af4ce4d4c42d85f0d84a514354fc570"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS   0x020</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00042">42</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aac25fa1de5df70a97a6ccc6267d65fea"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST   0x040</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00043">43</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9da70c702c0b792d99f8e39713ac0ee7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST   0x080</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00044">44</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae16d9fcc820433592ba171c8b2a9e25d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_DISCONNECT_RESPONSE   0x100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00045">45</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3b1cbac2f2fc44b393ff3cb96448892a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a0d649771ff995585c2bff030b7c1a2d3">L2CAP_FLAG_CONNECTION_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00048">48</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a28cbb8ce9ab60e04e2e131a87e06d5f0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a61b15e54b1c5f9a28c996ae8e04ca3c0">L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00049">49</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5f5f1cfcc3f39ee032185cac348cb068"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a52cc6e4a2a6d151dd5d0e788b937b2e8">L2CAP_FLAG_CONFIG_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00050">50</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae9459fccc82a24e23dc52ef0e0422273"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#abaa9eb6a1d27745243ef134ecad34bb2">L2CAP_FLAG_CONFIG_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00051">51</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a37d324cfd5a79f623dcd0fc8fa047447"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a75ef214ce8a03e8d62a1b24554bc1a05">L2CAP_FLAG_CONFIG_SDP_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00052">52</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1c5c7dc5782a562f1b91e835f8aebdb4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a8af4ce4d4c42d85f0d84a514354fc570">L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00053">53</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a05022c9cce93cccafc32337771c8704a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_request_sdp_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#aac25fa1de5df70a97a6ccc6267d65fea">L2CAP_FLAG_DISCONNECT_SDP_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00054">54</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af565a91718a79907aece8a5c278aa0bc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_request_rfcomm_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#a9da70c702c0b792d99f8e39713ac0ee7">L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00055">55</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1412e00ebed70b8d7b41afd769252530"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_flag   (l2cap_event_flag & <a class="el" href="_s_p_p_8h.html#ae16d9fcc820433592ba171c8b2a9e25d">L2CAP_FLAG_DISCONNECT_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00056">56</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -789,12 +621,180 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00061">61</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac202a65fc9bc1a5d837e5d095b1bb9f2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_UUID   0x0100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00062">62</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5747e4c0826eb3341fe2476b5229e0d0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_SABM   0x2F</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00065">65</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9f534220af893b5ae8c8927564db77c3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_UA   0x63</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00066">66</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae9ffac80725386a879ba956251f64373"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_UIH   0xEF</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00067">67</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2c8ebc5e78dc22e7ae4e79370fada66f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define RFCOMM_DISC   0x43</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00069">69</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af31032289d962bc2408debecc2823b8c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define extendAddress   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00071">71</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11185ec5287f08bf49c2c68d8cd52a16"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_PN_CMD   0x83</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00074">74</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a17b4a98661e30b6989cbe35ba5da4822"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_PN_RSP   0x81</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00075">75</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad14b1def5eec64e94cc64a2dcba354ea"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_MSC_CMD   0xE3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00076">76</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab68e7621ab822c3bfb9507c78d0d0550"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_MSC_RSP   0xE1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00077">77</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad9b8c11f7f4f8e8d59ac77999b2ec4a3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_RPN_CMD   0x93</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00078">78</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a336bf1805637fdd66033c9040e606a6b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define BT_RFCOMM_RPN_RSP   0x91</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_s_p_p_8h_source.html#l00079">79</a> of file <a class="el" href="_s_p_p_8h_source.html">SPP.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: SPP.h Source File</title>
|
||||
<title>USB Host Shield 2.0: SPP.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -190,97 +190,97 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">disconnect</a>();</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028"> 118</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_s_p_p.html#ade5d4f0ab50ddcad14f75fce4450a028">connected</a>;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(<span class="keyword">const</span> String &str);</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> String &str);</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(uint8_t data);</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(uint8_t data);</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(uint8_t* array, uint8_t length);</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(uint8_t* array, uint8_t length);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(<span class="keyword">const</span> __FlashStringHelper *ifsh);</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> __FlashStringHelper *ifsh);</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#af31f14d7249f8a5b6eb2230a42a9d5ae">printNumber</a>(int32_t n);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#ac3a2e5fa45ba0fe17d3341998a6c4640">printNumberln</a>(int32_t n);</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#af31f14d7249f8a5b6eb2230a42a9d5ae">printNumber</a>(<span class="keywordtype">double</span> n, uint8_t digits = 2);</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#ac3a2e5fa45ba0fe17d3341998a6c4640">printNumberln</a>(<span class="keywordtype">double</span> n, uint8_t digits = 2); </div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a3117df8f320d9d010b57c30255db054b">doubleToString</a>(<span class="keywordtype">double</span> input, <span class="keywordtype">char</span>* output, uint8_t digits = 2);</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="class_s_p_p.html#a7de4c895e4056ac2964ce5d020611deb"> 212</a></span>  uint8_t <a class="code" href="class_s_p_p.html#a7de4c895e4056ac2964ce5d020611deb">available</a>() { <span class="keywordflow">return</span> rfcommAvailable; };</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  uint8_t <a class="code" href="class_s_p_p.html#a53980e0d20944454790febe5c9be66af">read</a>();</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"><a class="code" href="class_s_p_p.html#af354c72d54243f891faf4cc60a7b94aa"> 219</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#af354c72d54243f891faf4cc60a7b94aa">flush</a>() { rfcommAvailable = 0; };</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="comment">/* Bluetooth dongle library pointer */</span></div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="comment">/* Set true when a channel is created */</span></div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordtype">bool</span> SDPConnected;</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">bool</span> RFCOMMConnected;</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  uint16_t hci_handle; <span class="comment">// The HCI Handle for the connection</span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="comment">/* Variables used by L2CAP state maschines */</span> </div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  uint8_t l2cap_sdp_state;</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  uint8_t l2cap_rfcomm_state;</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  uint16_t l2cap_event_flag; <span class="comment">// l2cap flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  uint8_t l2capoutbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for l2cap out data</span></div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  uint8_t rfcommbuf[10]; <span class="comment">// Buffer for RFCOMM Commands</span></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  </div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  uint8_t sdp_scid[2]; <span class="comment">// L2CAP source CID for SDP </span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  uint8_t sdp_dcid[2]; <span class="comment">// 0x0050</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  uint8_t rfcomm_scid[2]; <span class="comment">// L2CAP source CID for RFCOMM </span></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  uint8_t rfcomm_dcid[2]; <span class="comment">// 0x0051</span></div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  uint8_t identifier; <span class="comment">// Identifier for command</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="comment">/* RFCOMM Variables */</span></div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  uint8_t rfcommChannel;</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  uint8_t rfcommChannelConnection; <span class="comment">// This is the channel the SPP chanel will be running at</span></div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  uint8_t rfcommDirection;</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  uint8_t rfcommCommandResponse; </div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  uint8_t rfcommChannelType;</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  uint8_t rfcommPfBit;</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordtype">bool</span> waitForLastCommand;</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordtype">bool</span> creditSent; </div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  </div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  uint8_t rfcommDataBuffer[100]; <span class="comment">// Create a 100 sized buffer for incoming data</span></div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  uint8_t rfcommAvailable;</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordtype">bool</span> firstMessage; <span class="comment">// Used to see if it's the first SDP request received </span></div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  uint8_t bytesRead; <span class="comment">// Counter to see when it's time to send more credit</span></div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> printTimer; <span class="comment">// Used to set a delay, so it doesn't try to print too fast</span></div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordtype">void</span> SDP_task(); <span class="comment">// SDP state machine</span></div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordtype">void</span> RFCOMM_task(); <span class="comment">// RFCOMM state machine</span></div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="comment">/* SDP Commands */</span></div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordtype">void</span> SDP_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordtype">void</span> serviceNotSupported(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordtype">void</span> serialPortResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordtype">void</span> serialPortResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordtype">void</span> l2capResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordtype">void</span> l2capResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  </div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="comment">/* RFCOMM Commands */</span></div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">void</span> RFCOMM_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">void</span> sendRfcomm(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t* data, uint8_t length);</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordtype">void</span> sendRfcommCredit(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t credit);</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  uint8_t calcFcs(uint8_t *data);</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  uint8_t __crc(uint8_t* data);</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> };</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(<span class="keyword">const</span> String &str);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> String &str);</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(uint8_t data);</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(uint8_t data);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(uint8_t* array, uint8_t length);</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(uint8_t* array, uint8_t length);</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#acbea2d8894757fad6f9b903cad942b36">print</a>(<span class="keyword">const</span> __FlashStringHelper *ifsh);</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keyword">const</span> __FlashStringHelper *ifsh);</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a4afe343fc15bba50507ab9205165b8dd">println</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#af31f14d7249f8a5b6eb2230a42a9d5ae">printNumber</a>(int32_t n);</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#ac3a2e5fa45ba0fe17d3341998a6c4640">printNumberln</a>(int32_t n);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#af31f14d7249f8a5b6eb2230a42a9d5ae">printNumber</a>(<span class="keywordtype">double</span> n, uint8_t digits = 2);</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#ac3a2e5fa45ba0fe17d3341998a6c4640">printNumberln</a>(<span class="keywordtype">double</span> n, uint8_t digits = 2); </div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#a3117df8f320d9d010b57c30255db054b">doubleToString</a>(<span class="keywordtype">double</span> input, <span class="keywordtype">char</span>* output, uint8_t digits = 2);</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="class_s_p_p.html#a7de4c895e4056ac2964ce5d020611deb"> 211</a></span>  uint8_t <a class="code" href="class_s_p_p.html#a7de4c895e4056ac2964ce5d020611deb">available</a>() { <span class="keywordflow">return</span> rfcommAvailable; };</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  uint8_t <a class="code" href="class_s_p_p.html#a53980e0d20944454790febe5c9be66af">read</a>();</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"><a class="code" href="class_s_p_p.html#af354c72d54243f891faf4cc60a7b94aa"> 218</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_s_p_p.html#af354c72d54243f891faf4cc60a7b94aa">flush</a>() { rfcommAvailable = 0; };</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="comment">/* Bluetooth dongle library pointer */</span></div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="comment">/* Set true when a channel is created */</span></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordtype">bool</span> SDPConnected;</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordtype">bool</span> RFCOMMConnected;</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  </div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  uint16_t hci_handle; <span class="comment">// The HCI Handle for the connection</span></div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">/* Variables used by L2CAP state maschines */</span> </div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  uint8_t l2cap_sdp_state;</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  uint8_t l2cap_rfcomm_state;</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  uint16_t l2cap_event_flag; <span class="comment">// l2cap flags of received bluetooth events</span></div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  </div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  uint8_t l2capoutbuf[<a class="code" href="_b_t_d_8h.html#a32d591ef5742a99963130616ef146787">BULK_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for l2cap out data</span></div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  uint8_t rfcommbuf[10]; <span class="comment">// Buffer for RFCOMM Commands</span></div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  uint8_t sdp_scid[2]; <span class="comment">// L2CAP source CID for SDP </span></div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  uint8_t sdp_dcid[2]; <span class="comment">// 0x0050</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  uint8_t rfcomm_scid[2]; <span class="comment">// L2CAP source CID for RFCOMM </span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  uint8_t rfcomm_dcid[2]; <span class="comment">// 0x0051</span></div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  uint8_t identifier; <span class="comment">// Identifier for command</span></div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="comment">/* RFCOMM Variables */</span></div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  uint8_t rfcommChannel;</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  uint8_t rfcommChannelConnection; <span class="comment">// This is the channel the SPP chanel will be running at</span></div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  uint8_t rfcommDirection;</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  uint8_t rfcommCommandResponse; </div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  uint8_t rfcommChannelType;</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  uint8_t rfcommPfBit;</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordtype">bool</span> waitForLastCommand;</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordtype">bool</span> creditSent; </div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  uint8_t rfcommDataBuffer[100]; <span class="comment">// Create a 100 sized buffer for incoming data</span></div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  uint8_t rfcommAvailable;</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordtype">bool</span> firstMessage; <span class="comment">// Used to see if it's the first SDP request received </span></div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  uint8_t bytesRead; <span class="comment">// Counter to see when it's time to send more credit</span></div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> printTimer; <span class="comment">// Used to set a delay, so it doesn't try to print too fast</span></div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  </div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="comment">/* State machines */</span></div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordtype">void</span> SDP_task(); <span class="comment">// SDP state machine</span></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordtype">void</span> RFCOMM_task(); <span class="comment">// RFCOMM state machine</span></div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">/* SDP Commands */</span></div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordtype">void</span> SDP_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordtype">void</span> serviceNotSupported(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordtype">void</span> serialPortResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordtype">void</span> serialPortResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordtype">void</span> l2capResponse1(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordtype">void</span> l2capResponse2(uint8_t transactionIDHigh, uint8_t transactionIDLow);</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  </div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">/* RFCOMM Commands */</span></div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordtype">void</span> RFCOMM_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">void</span> sendRfcomm(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t* data, uint8_t length);</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">void</span> sendRfcommCredit(uint8_t channel, uint8_t direction, uint8_t CR, uint8_t channelType, uint8_t pfBit, uint8_t credit);</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  uint8_t calcFcs(uint8_t *data);</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  uint8_t __crc(uint8_t* data);</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> };</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Usb.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: Usb.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -106,7 +106,7 @@ Include dependency graph for Usb.cpp:</div>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Usb.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: Usb.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -734,7 +734,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
1492
_usb_8h.html
|
@ -1,37 +1,39 @@
|
|||
<map id="Usb.h" name="Usb.h">
|
||||
<area shape="rect" id="node2" href="$adk_8h.html" title="adk.h" alt="" coords="86,75,127,96"/>
|
||||
<area shape="rect" id="node4" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="227,75,272,96"/>
|
||||
<area shape="rect" id="node12" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="465,75,521,96"/>
|
||||
<area shape="rect" id="node16" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="602,75,653,96"/>
|
||||
<area shape="rect" id="node14" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="461,144,525,165"/>
|
||||
<area shape="rect" id="node18" href="$hid_8h.html" title="hid.h" alt="" coords="753,75,793,96"/>
|
||||
<area shape="rect" id="node20" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="634,144,688,165"/>
|
||||
<area shape="rect" id="node22" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="881,144,975,165"/>
|
||||
<area shape="rect" id="node26" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="869,75,939,96"/>
|
||||
<area shape="rect" id="node28" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="964,75,1028,96"/>
|
||||
<area shape="rect" id="node30" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1053,75,1112,96"/>
|
||||
<area shape="rect" id="node32" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1137,75,1188,96"/>
|
||||
<area shape="rect" id="node33" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1243,75,1297,96"/>
|
||||
<area shape="rect" id="node35" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1383,75,1456,96"/>
|
||||
<area shape="rect" id="node2" href="$adk_8h.html" title="adk.h" alt="" coords="81,75,121,96"/>
|
||||
<area shape="rect" id="node4" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="217,75,263,96"/>
|
||||
<area shape="rect" id="node12" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="464,75,520,96"/>
|
||||
<area shape="rect" id="node16" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="629,75,680,96"/>
|
||||
<area shape="rect" id="node14" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="460,144,524,165"/>
|
||||
<area shape="rect" id="node18" href="$hid_8h.html" title="hid.h" alt="" coords="812,75,852,96"/>
|
||||
<area shape="rect" id="node20" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="633,144,687,165"/>
|
||||
<area shape="rect" id="node22" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="880,144,973,165"/>
|
||||
<area shape="rect" id="node26" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="930,75,1000,96"/>
|
||||
<area shape="rect" id="node28" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1025,75,1089,96"/>
|
||||
<area shape="rect" id="node30" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1114,75,1173,96"/>
|
||||
<area shape="rect" id="node32" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1198,75,1249,96"/>
|
||||
<area shape="rect" id="node33" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1279,75,1333,96"/>
|
||||
<area shape="rect" id="node35" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1369,75,1441,96"/>
|
||||
<area shape="rect" id="node37" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="1487,75,1555,96"/>
|
||||
<area shape="rect" id="node3" href="$adk_8cpp.html" title="adk.cpp" alt="" coords="5,144,56,165"/>
|
||||
<area shape="rect" id="node5" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="293,144,347,165"/>
|
||||
<area shape="rect" id="node6" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="81,144,135,165"/>
|
||||
<area shape="rect" id="node8" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="160,144,205,165"/>
|
||||
<area shape="rect" id="node10" href="$_wii_8h.html" title="Wii.h" alt="" coords="229,144,269,165"/>
|
||||
<area shape="rect" id="node7" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="69,213,131,235"/>
|
||||
<area shape="rect" id="node9" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="156,213,209,235"/>
|
||||
<area shape="rect" id="node11" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="233,213,281,235"/>
|
||||
<area shape="rect" id="node13" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="371,144,436,165"/>
|
||||
<area shape="rect" id="node15" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="457,213,529,235"/>
|
||||
<area shape="rect" id="node17" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="550,144,609,165"/>
|
||||
<area shape="rect" id="node19" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="713,144,761,165"/>
|
||||
<area shape="rect" id="node24" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="785,144,857,165"/>
|
||||
<area shape="rect" id="node21" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="629,213,693,235"/>
|
||||
<area shape="rect" id="node23" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="881,213,983,235"/>
|
||||
<area shape="rect" id="node25" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="777,213,857,235"/>
|
||||
<area shape="rect" id="node27" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="999,144,1077,165"/>
|
||||
<area shape="rect" id="node29" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1102,144,1175,165"/>
|
||||
<area shape="rect" id="node31" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1200,144,1269,165"/>
|
||||
<area shape="rect" id="node34" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1293,144,1357,165"/>
|
||||
<area shape="rect" id="node36" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1382,144,1463,165"/>
|
||||
<area shape="rect" id="node5" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="213,144,267,165"/>
|
||||
<area shape="rect" id="node6" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="291,144,345,165"/>
|
||||
<area shape="rect" id="node8" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="80,144,125,165"/>
|
||||
<area shape="rect" id="node10" href="$_wii_8h.html" title="Wii.h" alt="" coords="149,144,189,165"/>
|
||||
<area shape="rect" id="node7" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="287,213,349,235"/>
|
||||
<area shape="rect" id="node9" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="72,213,125,235"/>
|
||||
<area shape="rect" id="node11" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="149,213,197,235"/>
|
||||
<area shape="rect" id="node13" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="370,144,435,165"/>
|
||||
<area shape="rect" id="node15" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="455,213,528,235"/>
|
||||
<area shape="rect" id="node17" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="549,144,608,165"/>
|
||||
<area shape="rect" id="node19" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="808,144,856,165"/>
|
||||
<area shape="rect" id="node24" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="712,144,784,165"/>
|
||||
<area shape="rect" id="node21" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="624,213,688,235"/>
|
||||
<area shape="rect" id="node23" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="876,213,977,235"/>
|
||||
<area shape="rect" id="node25" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="712,213,792,235"/>
|
||||
<area shape="rect" id="node27" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="998,144,1076,165"/>
|
||||
<area shape="rect" id="node29" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1101,144,1173,165"/>
|
||||
<area shape="rect" id="node31" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1199,144,1268,165"/>
|
||||
<area shape="rect" id="node34" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1292,144,1356,165"/>
|
||||
<area shape="rect" id="node36" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1381,144,1461,165"/>
|
||||
<area shape="rect" id="node38" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="1486,144,1561,165"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
442ebf13656c01ada7e7ad4b8b5761f1
|
||||
207a88a0652d96de0277d94f381679ac
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 57 KiB |
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Usb.h Source File</title>
|
||||
<title>USB Host Shield 2.0: Usb.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -377,7 +377,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Wii.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: Wii.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -159,7 +159,7 @@ Variables</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Wii.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: Wii.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -1250,7 +1250,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
500
_wii_8h.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Wii.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: Wii.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -200,157 +200,32 @@ Enumerations</h2></td></tr>
|
|||
<tr class="separator:a3edd2b2fd262b698309012868fad0be7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ab84d043703110a74ba9b8d7afa30c5de"></a>
|
||||
<a class="anchor" id="a8a70a2d3fd20f9005aa8dc5849beb147"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CHECK_EXTENSION_STATE   8</td>
|
||||
<td class="memname">#define WIICAMERA</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>You will have to uncomment this to use the IR camera </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00046">46</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00029">29</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a44edf5415459cba3cc378992fef7560b"></a>
|
||||
<a class="anchor" id="a15cc1db556ad9a4ec6144ca8a42f8919"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CHECK_MOTION_PLUS_STATE   7</td>
|
||||
<td class="memname">#define L2CAP_WAIT   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00045">45</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a39a58b19fb4ef26cf503ed57a43570a4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00067">67</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b3e87e1f460bc011e69f5e53e79c104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00068">68</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acaec1ddc53593c80dc625c1f361e3a24"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connected_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00065">65</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac72a2b645fafc5bdbd85c1f59cc937cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connected_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00066">66</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a728c7d92dd341dcc1b8f4bf95bb4826d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00071">71</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fa7bceb44bbdff3229fd431627b9868"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00072">72</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aaaf733ee2c84bd8df4d24f2ae1f3b378"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_CONFIG_REQUEST   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00040">40</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a68bcdd68c269cd7970d5271a00bbe5fe"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_CONNECT_REQUEST   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00039">39</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b5140e7ca5941e5535c575255ffc1cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_DISCONNECT   13</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00052">52</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00032">32</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -368,31 +243,129 @@ Enumerations</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7f0cab74308e812106252c53b18c0391"></a>
|
||||
<a class="anchor" id="ac7aa7fd7a8a34a6c9e420e3cb114737b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SETUP   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00069">69</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00036">36</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a667178a4486c4dee88e052b3562362cd"></a>
|
||||
<a class="anchor" id="a68bcdd68c269cd7970d5271a00bbe5fe"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td>
|
||||
<td class="memname">#define L2CAP_CONTROL_CONNECT_REQUEST   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00070">70</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00039">39</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aaaf733ee2c84bd8df4d24f2ae1f3b378"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_CONFIG_REQUEST   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00040">40</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af0b913a7e9e54b1f6ab95d82bd36f954"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_CONNECT_REQUEST   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00041">41</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a73e3a81d9a8850075fd10933acc5a035"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_CONFIG_REQUEST   6</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00043">43</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a44edf5415459cba3cc378992fef7560b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CHECK_MOTION_PLUS_STATE   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00045">45</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab84d043703110a74ba9b8d7afa30c5de"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CHECK_EXTENSION_STATE   8</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00046">46</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a291cf8ab9832ac643cdbeaa5f0b84ed1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INIT_MOTION_PLUS_STATE   9</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00047">47</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11f7dbb22bf86e28848abc165e22c2de"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_LED_STATE   10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00048">48</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -408,6 +381,62 @@ Enumerations</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00049">49</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab569b2085ad29f41d1da9c0ed352bd65"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_DISCONNECT   12</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00051">51</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9b5140e7ca5941e5535c575255ffc1cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_CONTROL_DISCONNECT   13</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00052">52</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2e5a9c283f0912833f3e0418d3feadd7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONTROL_CONNECTED   0x001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00055">55</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aad823543553cc7500ac49d7479eb858f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_INTERRUPT_CONNECTED   0x002</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00056">56</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c444d5d06ec604820d426556c2f38d7"></a>
|
||||
|
@ -436,48 +465,6 @@ Enumerations</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00058">58</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a969a1ee84797f3ee5006c41f67373f96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00061">61</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a015f3b25bd7a2908c84b973dec453f45"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x200</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00062">62</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2e5a9c283f0912833f3e0418d3feadd7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_CONTROL_CONNECTED   0x001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00055">55</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a27057737ae0b2246442511c01eeed192"></a>
|
||||
|
@ -508,115 +495,171 @@ Enumerations</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aad823543553cc7500ac49d7479eb858f"></a>
|
||||
<a class="anchor" id="a969a1ee84797f3ee5006c41f67373f96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_FLAG_INTERRUPT_CONNECTED   0x002</td>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x100</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00056">56</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00061">61</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a291cf8ab9832ac643cdbeaa5f0b84ed1"></a>
|
||||
<a class="anchor" id="a015f3b25bd7a2908c84b973dec453f45"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INIT_MOTION_PLUS_STATE   9</td>
|
||||
<td class="memname">#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x200</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00047">47</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00062">62</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a73e3a81d9a8850075fd10933acc5a035"></a>
|
||||
<a class="anchor" id="acaec1ddc53593c80dc625c1f361e3a24"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_CONFIG_REQUEST   6</td>
|
||||
<td class="memname">#define l2cap_connected_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2e5a9c283f0912833f3e0418d3feadd7">L2CAP_FLAG_CONTROL_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00043">43</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00065">65</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af0b913a7e9e54b1f6ab95d82bd36f954"></a>
|
||||
<a class="anchor" id="ac72a2b645fafc5bdbd85c1f59cc937cc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_CONNECT_REQUEST   5</td>
|
||||
<td class="memname">#define l2cap_connected_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#aad823543553cc7500ac49d7479eb858f">L2CAP_FLAG_INTERRUPT_CONNECTED</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00041">41</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00066">66</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab569b2085ad29f41d1da9c0ed352bd65"></a>
|
||||
<a class="anchor" id="a39a58b19fb4ef26cf503ed57a43570a4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_DISCONNECT   12</td>
|
||||
<td class="memname">#define l2cap_config_success_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a0c444d5d06ec604820d426556c2f38d7">L2CAP_FLAG_CONFIG_CONTROL_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00051">51</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00067">67</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac7aa7fd7a8a34a6c9e420e3cb114737b"></a>
|
||||
<a class="anchor" id="a9b3e87e1f460bc011e69f5e53e79c104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_INTERRUPT_SETUP   2</td>
|
||||
<td class="memname">#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a2b3cdcd3124251a40ce825da0d8dcb6f">L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00036">36</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00068">68</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11f7dbb22bf86e28848abc165e22c2de"></a>
|
||||
<a class="anchor" id="a7f0cab74308e812106252c53b18c0391"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_LED_STATE   10</td>
|
||||
<td class="memname">#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a27057737ae0b2246442511c01eeed192">L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00048">48</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00069">69</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a15cc1db556ad9a4ec6144ca8a42f8919"></a>
|
||||
<a class="anchor" id="a667178a4486c4dee88e052b3562362cd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define L2CAP_WAIT   0</td>
|
||||
<td class="memname">#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#acc096a05301f3cbdece4ad372cc149c3">L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00032">32</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00070">70</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a728c7d92dd341dcc1b8f4bf95bb4826d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_control_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a969a1ee84797f3ee5006c41f67373f96">L2CAP_FLAG_CONNECTION_CONTROL_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00071">71</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fa7bceb44bbdff3229fd431627b9868"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & <a class="el" href="_wii_8h.html#a015f3b25bd7a2908c84b973dec453f45">L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00072">72</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a34631633d4557244dc8eda52e8505acd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define WII_FLAG_MOTION_PLUS_CONNECTED   0x400</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00075">75</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae0ff99c8862a05df8877329982e1ef61"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define WII_FLAG_NUNCHUCK_CONNECTED   0x800</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00076">76</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -660,49 +703,6 @@ Enumerations</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00081">81</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a34631633d4557244dc8eda52e8505acd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define WII_FLAG_MOTION_PLUS_CONNECTED   0x400</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00075">75</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae0ff99c8862a05df8877329982e1ef61"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define WII_FLAG_NUNCHUCK_CONNECTED   0x800</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00076">76</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8a70a2d3fd20f9005aa8dc5849beb147"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define WIICAMERA</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>You will have to uncomment this to use the IR camera </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="_wii_8h_source.html#l00029">29</a> of file <a class="el" href="_wii_8h_source.html">Wii.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
|
@ -732,7 +732,7 @@ Enumerations</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Wii.h Source File</title>
|
||||
<title>USB Host Shield 2.0: Wii.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -183,166 +183,166 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">Run</a>();</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a769ee2f9a0088da097438bc3cc677f7c">Reset</a>();</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">disconnect</a>();</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  uint8_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> a);</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  uint16_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 149</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() { <span class="keywordflow">return</span> pitch; };</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 154</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() { <span class="keywordflow">return</span> roll; };</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 161</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() { <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>; };</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>();</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>();</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>();</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2"> 201</a></span>  uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>() { <span class="keywordflow">return</span> batteryLevel; };</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa"> 206</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">getWiiState</a>() { <span class="keywordflow">return</span> wiiState; };</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a>;</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8"> 213</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a>;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c"> 215</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>;</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16"> 217</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a>;</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="comment">/* IMU Data, might be usefull if you need to do something more advanced than just calculating the angle */</span></div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a1421306c25a76c0fa24f7ee4b10b757b"> 224</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a1421306c25a76c0fa24f7ee4b10b757b">wiimotePitch</a>;</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ab22594da86218dccf86806b13d6a7a70"> 225</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ab22594da86218dccf86806b13d6a7a70">wiimoteRoll</a>;</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf"> 230</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf">nunchuckPitch</a>;</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71"> 231</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71">nunchuckRoll</a>;</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb"> 236</a></span>  int16_t <a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb">accX</a>;</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a"> 237</a></span>  int16_t <a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a">accY</a>;</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4"> 238</a></span>  int16_t <a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4">accZ</a>;</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="comment">/* Variables for the gyro inside the Motion Plus */</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4"> 243</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">gyroPitch</a>;</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8"> 245</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">gyroRoll</a>;</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62"> 247</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"><a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded"> 251</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84"> 252</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6"> 253</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"><a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a"> 258</a></span>  uint16_t <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331"> 259</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">rollGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73"> 260</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea"> 265</a></span>  int16_t <a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">gyroYawRaw</a>;</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8"> 266</a></span>  int16_t <a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">gyroRollRaw</a>;</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544"> 267</a></span>  int16_t <a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a>;</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2"> 272</a></span>  int16_t <a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">gyroYawZero</a>;</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9"> 273</a></span>  int16_t <a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">gyroRollZero</a>;</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"><a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3"> 274</a></span>  int16_t <a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a>;</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">IRinitialize</a>();</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d"> 285</a></span>  uint16_t <a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">getIRx1</a>() { <span class="keywordflow">return</span> IR_object_x1; };</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9"> 287</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">getIRy1</a>() { <span class="keywordflow">return</span> IR_object_y1; };</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421"> 289</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">getIRs1</a>() { <span class="keywordflow">return</span> IR_object_s1; };</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084"> 292</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">getIRx2</a>() { <span class="keywordflow">return</span> IR_object_x2; };</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d"> 294</a></span>  uint16_t <a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">getIRy2</a>() { <span class="keywordflow">return</span> IR_object_y2; };</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"><a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46"> 296</a></span>  uint8_t <a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">getIRs2</a>() { <span class="keywordflow">return</span> IR_object_s2; };</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e"> 299</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">getIRx3</a>() { <span class="keywordflow">return</span> IR_object_x3; };</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d"> 301</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">getIRy3</a>() { <span class="keywordflow">return</span> IR_object_y3; };</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e"> 303</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">getIRs3</a>() { <span class="keywordflow">return</span> IR_object_s3; };</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"> 306</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">getIRx4</a>() { <span class="keywordflow">return</span> IR_object_x4; };</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a"> 308</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">getIRy4</a>() { <span class="keywordflow">return</span> IR_object_y4; };</div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"><a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735"> 310</a></span>  uint8_t <a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">getIRs4</a>() { <span class="keywordflow">return</span> IR_object_s4; };</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> </div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f"> 317</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">isIRCameraEnabled</a>() { <span class="keywordflow">return</span> (wiiState & 0x08); };</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="preprocessor"></span> </div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="comment">/* Mandatory members */</span></div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  </div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  </div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  uint16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it's already has established a connection</span></div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  </div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="comment">/* variables used by high level L2CAP task */</span> </div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  uint16_t l2cap_event_flag;<span class="comment">// l2cap flags of received bluetooth events </span></div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  uint16_t hatValues[4];</div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  </div>
|
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  uint8_t HIDBuffer[3];<span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  </div>
|
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  uint16_t stateCounter;</div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="keywordtype">bool</span> unknownExtensionConnected;</div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordtype">bool</span> extensionConnected;</div>
|
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  </div>
|
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
|
||||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0060</span></div>
|
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
|
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0061</span></div>
|
||||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  uint8_t identifier; <span class="comment">// Identifier for connection</span></div>
|
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  </div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="keywordtype">void</span> setReportMode(<span class="keywordtype">bool</span> continuous, uint8_t mode);</div>
|
||||
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordtype">void</span> statusRequest();</div>
|
||||
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  </div>
|
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordtype">void</span> writeData(uint32_t offset, uint8_t size, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordtype">void</span> initExtension1();</div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keywordtype">void</span> initExtension2();</div>
|
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div>
|
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordtype">void</span> readData(uint32_t offset, uint16_t size, <span class="keywordtype">bool</span> EEPROM);</div>
|
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keywordtype">void</span> readExtensionType();</div>
|
||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keywordtype">void</span> readCalData();</div>
|
||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  </div>
|
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordtype">void</span> checkMotionPresent(); <span class="comment">// Used to see if a Motion Plus is connected to the Wiimote</span></div>
|
||||
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordtype">void</span> initMotionPlus();</div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keywordtype">void</span> activateMotionPlus();</div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keywordtype">double</span> pitch; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordtype">double</span> roll; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#acf4b3ef0a4fa0cf71133a22213361288">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#adbf9ccb1725dc432e07ca19468713116">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  uint8_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="_wii_8h.html#a3edd2b2fd262b698309012868fad0be7">Hat</a> a);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  uint16_t <a class="code" href="class_w_i_i.html#ab16e907132354be9848fd91a6a5171db">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e"> 151</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a748172bd57804856594ea8e21601319e">getPitch</a>() { <span class="keywordflow">return</span> pitch; };</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03"> 156</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a6ac037d884f97319892e8671ef070c03">getRoll</a>() { <span class="keywordflow">return</span> roll; };</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11"> 163</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ae92e129c54c8131f4a2c55582dfd2f11">getYaw</a>() { <span class="keywordflow">return</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>; };</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a6e97bfcfb134b63d7190ba1bc326e1d3">setAllOff</a>();</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a2c5c32841b020b248f757cb793acb936">setRumbleOff</a>();</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a0d9c869bd3677c4488a586c38558a137">setRumbleOn</a>();</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a841396b533cccccb05db37d35f6fef9c">setRumbleToggle</a>();</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a7efe7577ba30c218f6fbd3804a53d242">setLedOff</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3a7b9dd571c5a8597bfb194000bd517c">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#af7755e2b2a161a550c99de2ca1018ce3">setLedToggle</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> a);</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a5d3b4a33ebc2ca9ebb154e10a05dbdd4">setLedStatus</a>();</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2"> 203</a></span>  uint8_t <a class="code" href="class_w_i_i.html#ae946f7d6e9ce89fb083f5f138c0736c2">getBatteryLevel</a>() { <span class="keywordflow">return</span> batteryLevel; };</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa"> 208</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a8e9ac1d379db5c07c478401046a1c0ac">getWiiState</a>() { <span class="keywordflow">return</span> wiiState; };</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#ae25a8ea1b0713801e0209e795b4596fa">wiimoteConnected</a>;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8"> 215</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a7cb4cec343c65fd350e6b05043d7f1a8">nunchuckConnected</a>;</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c"> 217</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a72bd4fad2e524276712a154b8cc2a16c">motionPlusConnected</a>;</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16"> 219</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a461f5b7a5f2bc874e107fc776c284b16">wiiUProControllerConnected</a>;</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="comment">/* IMU Data, might be usefull if you need to do something more advanced than just calculating the angle */</span></div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  </div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a1421306c25a76c0fa24f7ee4b10b757b"> 226</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a1421306c25a76c0fa24f7ee4b10b757b">wiimotePitch</a>;</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ab22594da86218dccf86806b13d6a7a70"> 227</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ab22594da86218dccf86806b13d6a7a70">wiimoteRoll</a>;</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf"> 232</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2b5a934a1be4d7c5e788d3742dd09cbf">nunchuckPitch</a>;</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71"> 233</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad6c01ce2e1f7bac2c8982ecfb3f53f71">nunchuckRoll</a>;</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb"> 238</a></span>  int16_t <a class="code" href="class_w_i_i.html#a48bcc2e5c6253d0554d70357625ff3fb">accX</a>;</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a"> 239</a></span>  int16_t <a class="code" href="class_w_i_i.html#a07bef4e4acd42d680ac676b0e6315b2a">accY</a>;</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4"> 240</a></span>  int16_t <a class="code" href="class_w_i_i.html#a7323e1f8b76f3f11f91cdb9601759cc4">accZ</a>;</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="comment">/* Variables for the gyro inside the Motion Plus */</span></div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4"> 245</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#af61f57d34b81f2a878f0126a074e3af4">gyroPitch</a>;</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8"> 247</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a2a0e4745bff7cfec644bcebe984c2bc8">gyroRoll</a>;</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62"> 249</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a988db5b35cfc3c543f93f49587a50e62">gyroYaw</a>;</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"><a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded"> 253</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#acfb290a86aa9a65dd4ae84d02e3c6ded">pitchGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84"> 254</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#a3fb552c6ad486e23434dcb347a2a4b84">rollGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6"> 255</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_w_i_i.html#ad5df436cc5d073f26bf3ea5c60d788d6">yawGyroSpeed</a>;</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a"> 260</a></span>  uint16_t <a class="code" href="class_w_i_i.html#aea6ce6f3222df3e547e9957673c7a07a">pitchGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331"> 261</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a6c0971ae4c9ab752888a5871020c8331">rollGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73"> 262</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a0694969a30092b9b1dcb26120c7cff73">yawGyroScale</a>;</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea"> 267</a></span>  int16_t <a class="code" href="class_w_i_i.html#ab813b65548e827f41a5192fcc34056ea">gyroYawRaw</a>;</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8"> 268</a></span>  int16_t <a class="code" href="class_w_i_i.html#a0784c779ebeae2d459996c35a54ee3b8">gyroRollRaw</a>;</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544"> 269</a></span>  int16_t <a class="code" href="class_w_i_i.html#a749ea9dd39ba9a5320c5b24ce93bc544">gyroPitchRaw</a>;</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2"> 274</a></span>  int16_t <a class="code" href="class_w_i_i.html#ad4f0d2456c56414f9b8013b85a1ee7d2">gyroYawZero</a>;</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9"> 275</a></span>  int16_t <a class="code" href="class_w_i_i.html#a10d91cd5d73bc655be776b44d27004c9">gyroRollZero</a>;</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"><a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3"> 276</a></span>  int16_t <a class="code" href="class_w_i_i.html#abbc31ecd4495d70258cfa095e34cb3c3">gyroPitchZero</a>;</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordtype">void</span> <a class="code" href="class_w_i_i.html#a3505abbc01c71d134ce301dfb7c0c5b5">IRinitialize</a>();</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"><a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d"> 290</a></span>  uint16_t <a class="code" href="class_w_i_i.html#af380eb3bf65ce33a60aaf35f74a44f6d">getIRx1</a>() { <span class="keywordflow">return</span> IR_object_x1; };</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9"> 295</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a341b9a50bfdb18af9c66a3079e5804d9">getIRy1</a>() { <span class="keywordflow">return</span> IR_object_y1; };</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421"> 300</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a2d8fd822e6e9c271d59c71dc7b757421">getIRs1</a>() { <span class="keywordflow">return</span> IR_object_s1; };</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084"> 306</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a551e48a50c7b60722e807e68ae25f084">getIRx2</a>() { <span class="keywordflow">return</span> IR_object_x2; };</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"><a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d"> 311</a></span>  uint16_t <a class="code" href="class_w_i_i.html#ae148de3c99b3fb4ef65ea62d2848df7d">getIRy2</a>() { <span class="keywordflow">return</span> IR_object_y2; };</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"><a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46"> 316</a></span>  uint8_t <a class="code" href="class_w_i_i.html#accf6ca623ffe93b3c78aaf60c7fd1f46">getIRs2</a>() { <span class="keywordflow">return</span> IR_object_s2; };</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e"> 322</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5648a03968d0c2331867f9b7bcaa3e3e">getIRx3</a>() { <span class="keywordflow">return</span> IR_object_x3; };</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d"> 327</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a5e778f879c6d0a73a94bd61e42d05b8d">getIRy3</a>() { <span class="keywordflow">return</span> IR_object_y3; };</div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e"> 332</a></span>  uint8_t <a class="code" href="class_w_i_i.html#a05841e1975803d561f80aeb3dd0a4a1e">getIRs3</a>() { <span class="keywordflow">return</span> IR_object_s3; };</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66"> 338</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a7a92d63c7cf9d3d5b38bdb9ad4d7ef66">getIRx4</a>() { <span class="keywordflow">return</span> IR_object_x4; };</div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a"> 343</a></span>  uint16_t <a class="code" href="class_w_i_i.html#a759837b933f63ce7c3235639be29250a">getIRy4</a>() { <span class="keywordflow">return</span> IR_object_y4; };</div>
|
||||
<div class="line"><a name="l00348"></a><span class="lineno"><a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735"> 348</a></span>  uint8_t <a class="code" href="class_w_i_i.html#aef56b9f37422b0a41642b39d10db0735">getIRs4</a>() { <span class="keywordflow">return</span> IR_object_s4; };</div>
|
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> </div>
|
||||
<div class="line"><a name="l00355"></a><span class="lineno"><a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f"> 355</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_w_i_i.html#a0a444d7e348026e062751cf723877e8f">isIRCameraEnabled</a>() { <span class="keywordflow">return</span> (wiiState & 0x08); };</div>
|
||||
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="preprocessor"></span> </div>
|
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="comment">/* Mandatory members */</span></div>
|
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <a class="code" href="class_b_t_d.html">BTD</a> *pBtd;</div>
|
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  </div>
|
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keywordtype">void</span> L2CAP_task(); <span class="comment">// L2CAP state machine</span></div>
|
||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  </div>
|
||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="comment">/* Variables filled from HCI event management */</span></div>
|
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  uint16_t hci_handle;</div>
|
||||
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordtype">bool</span> activeConnection; <span class="comment">// Used to indicate if it's already has established a connection</span></div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="comment">/* variables used by high level L2CAP task */</span> </div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  uint8_t l2cap_state;</div>
|
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  uint16_t l2cap_event_flag;<span class="comment">// l2cap flags of received bluetooth events </span></div>
|
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  </div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keywordtype">bool</span> activateNunchuck;</div>
|
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordtype">bool</span> motionValuesReset; <span class="comment">// This bool is true when the gyro values has been reset</span></div>
|
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div>
|
||||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  uint8_t wiiState; <span class="comment">// Stores the value in l2capinbuf[12] - (0x01: Battery is nearly empty), (0x02: An Extension Controller is connected), (0x04: Speaker enabled), (0x08: IR enabled), (0x10: LED1, 0x20: LED2, 0x40: LED3, 0x80: LED4)</span></div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  uint8_t batteryLevel;</div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  uint32_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  uint16_t hatValues[4];</div>
|
||||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  </div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  uint8_t HIDBuffer[3];<span class="comment">// Used to store HID commands</span></div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  </div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> <span class="preprocessor"></span> <span class="comment">/* Private function and variables for the readings from teh IR Camera */</span></div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordtype">void</span> enableIRCamera1(); <span class="comment">// Sets bit 2 of output report 13 </span></div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordtype">void</span> enableIRCamera2(); <span class="comment">// Sets bit 2 of output report 1A</span></div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordtype">void</span> writeSensitivityBlock1();</div>
|
||||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordtype">void</span> writeSensitivityBlock2();</div>
|
||||
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordtype">void</span> write0x08Value();</div>
|
||||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordtype">void</span> setWiiModeNumber(uint8_t mode_number);</div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  </div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  uint16_t IR_object_x1; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  uint16_t IR_object_y1; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  uint8_t IR_object_s1; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  uint16_t IR_object_x2;</div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  uint16_t IR_object_y2;</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  uint8_t IR_object_s2;</div>
|
||||
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  uint16_t IR_object_x3; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  uint16_t IR_object_y3; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  uint8_t IR_object_s3; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  uint16_t IR_object_x4;</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  uint16_t IR_object_y4;</div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  uint8_t IR_object_s4;</div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="preprocessor"></span>};</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  uint16_t stateCounter;</div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keywordtype">bool</span> unknownExtensionConnected;</div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordtype">bool</span> extensionConnected;</div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  </div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="comment">/* L2CAP Channels */</span></div>
|
||||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  uint8_t control_scid[2]; <span class="comment">// L2CAP source CID for HID_Control</span></div>
|
||||
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  uint8_t control_dcid[2]; <span class="comment">// 0x0060</span></div>
|
||||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  uint8_t interrupt_scid[2]; <span class="comment">// L2CAP source CID for HID_Interrupt</span></div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  uint8_t interrupt_dcid[2]; <span class="comment">// 0x0061</span></div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  uint8_t identifier; <span class="comment">// Identifier for connection</span></div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  </div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="comment">/* HID Commands */</span></div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="keywordtype">void</span> HID_Command(uint8_t* data, uint8_t nbytes);</div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <span class="keywordtype">void</span> setReportMode(<span class="keywordtype">bool</span> continuous, uint8_t mode);</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="keywordtype">void</span> statusRequest();</div>
|
||||
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  </div>
|
||||
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keywordtype">void</span> writeData(uint32_t offset, uint8_t size, uint8_t* data);</div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keywordtype">void</span> initExtension1();</div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keywordtype">void</span> initExtension2();</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  </div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <span class="keywordtype">void</span> readData(uint32_t offset, uint16_t size, <span class="keywordtype">bool</span> EEPROM);</div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keywordtype">void</span> readExtensionType();</div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="keywordtype">void</span> readCalData();</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  </div>
|
||||
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keywordtype">void</span> checkMotionPresent(); <span class="comment">// Used to see if a Motion Plus is connected to the Wiimote</span></div>
|
||||
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="keywordtype">void</span> initMotionPlus();</div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <span class="keywordtype">void</span> activateMotionPlus();</div>
|
||||
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span> </div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keywordtype">double</span> pitch; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordtype">double</span> roll; <span class="comment">// Fusioned angle using a complimentary filter if the Motion Plus is connected</span></div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  </div>
|
||||
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keywordtype">bool</span> activateNunchuck;</div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordtype">bool</span> motionValuesReset; <span class="comment">// This bool is true when the gyro values has been reset</span></div>
|
||||
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer;</div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> </div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  uint8_t wiiState; <span class="comment">// Stores the value in l2capinbuf[12] - (0x01: Battery is nearly empty), (0x02: An Extension Controller is connected), (0x04: Speaker enabled), (0x08: IR enabled), (0x10: LED1, 0x20: LED2, 0x40: LED3, 0x80: LED4)</span></div>
|
||||
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  uint8_t batteryLevel;</div>
|
||||
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  </div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="preprocessor">#ifdef WIICAMERA</span></div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> <span class="preprocessor"></span> <span class="comment">/* Private function and variables for the readings from teh IR Camera */</span></div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="keywordtype">void</span> enableIRCamera1(); <span class="comment">// Sets bit 2 of output report 13 </span></div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <span class="keywordtype">void</span> enableIRCamera2(); <span class="comment">// Sets bit 2 of output report 1A</span></div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keywordtype">void</span> writeSensitivityBlock1();</div>
|
||||
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="keywordtype">void</span> writeSensitivityBlock2();</div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  <span class="keywordtype">void</span> write0x08Value();</div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keywordtype">void</span> setWiiModeNumber(uint8_t mode_number);</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  </div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  uint16_t IR_object_x1; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  uint16_t IR_object_y1; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  uint8_t IR_object_s1; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  uint16_t IR_object_x2;</div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  uint16_t IR_object_y2;</div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  uint8_t IR_object_s2;</div>
|
||||
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  uint16_t IR_object_x3; <span class="comment">// IR x position 10 bits</span></div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  uint16_t IR_object_y3; <span class="comment">// IR y position 10 bits</span></div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  uint8_t IR_object_s3; <span class="comment">// IR size value</span></div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  uint16_t IR_object_x4;</div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  uint16_t IR_object_y4;</div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  uint8_t IR_object_s4;</div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="preprocessor"></span>};</div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: WiiCameraReadme.md File Reference</title>
|
||||
<title>USB Host Shield 2.0: WiiCameraReadme.md File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -90,7 +90,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: WiiCameraReadme.md Source File</title>
|
||||
<title>USB Host Shield 2.0: WiiCameraReadme.md Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: XBOXRECV.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: XBOXRECV.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -86,8 +86,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXRECV.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
|
@ -98,7 +97,7 @@ Include dependency graph for XBOXRECV.cpp:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_r_e_c_v_8cpp__incl.png" border="0" usemap="#_x_b_o_x_r_e_c_v_8cpp" alt=""/></div>
|
||||
<map name="_x_b_o_x_r_e_c_v_8cpp" id="_x_b_o_x_r_e_c_v_8cpp">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="361,75,433,96"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="376,144,419,165"/><area shape="rect" id="node18" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="443,144,529,165"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="718,283,772,304"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="535,283,601,304"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="661,213,717,235"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="625,283,684,304"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="402,213,459,235"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="71,283,128,304"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="261,213,323,235"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="168,213,229,235"/></map>
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="719,75,792,96"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="397,144,440,165"/><area shape="rect" id="node18" href="xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,144,868,165"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="528,283,582,304"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="146,283,213,304"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="212,213,269,235"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,283,296,304"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="79,213,136,235"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="608,283,665,304"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="430,213,492,235"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="345,213,406,235"/><area shape="rect" id="node19" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,213,880,235"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_x_b_o_x_r_e_c_v_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -107,11 +106,6 @@ Include dependency graph for XBOXRECV.cpp:</div>
|
|||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a2403439df9095a54a47f78fbdae332cd"><td class="memItemLeft" align="right" valign="top">const uint8_t LEDS[] </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8cpp.html#a2403439df9095a54a47f78fbdae332cd">PROGMEM</a></td></tr>
|
||||
<tr class="separator:a2403439df9095a54a47f78fbdae332cd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
|
@ -126,34 +120,12 @@ Variables</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00021">21</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a class="anchor" id="a2403439df9095a54a47f78fbdae332cd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint16_t BUTTONS [] PROGMEM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
|
||||
<div class="line"> 0x02, </div>
|
||||
<div class="line"> 0x03, </div>
|
||||
<div class="line"> 0x04, </div>
|
||||
<div class="line"> 0x05, </div>
|
||||
<div class="line"> 0x01 </div>
|
||||
<div class="line"> }</div>
|
||||
</div><!-- fragment -->
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html#l00025">25</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8cpp_source.html">XBOXRECV.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
<map id="XBOXRECV.cpp" name="XBOXRECV.cpp">
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="361,75,433,96"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="376,144,419,165"/>
|
||||
<area shape="rect" id="node18" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="443,144,529,165"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="718,283,772,304"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="535,283,601,304"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="661,213,717,235"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="625,283,684,304"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="402,213,459,235"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="71,283,128,304"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="261,213,323,235"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="168,213,229,235"/>
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="719,75,792,96"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="397,144,440,165"/>
|
||||
<area shape="rect" id="node18" href="$xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,144,868,165"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="528,283,582,304"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="146,283,213,304"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="212,213,269,235"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,283,296,304"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="79,213,136,235"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="608,283,665,304"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="430,213,492,235"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="345,213,406,235"/>
|
||||
<area shape="rect" id="node19" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,213,880,235"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
f58de32a6eab759ace708c6df8ad551d
|
||||
61989c7a9fc6a14c10c7e5dd46752793
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 60 KiB |
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: XBOXRECV.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: XBOXRECV.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -87,21 +87,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#enum-members">Enumerations</a> </div>
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXRECV.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "Arduino.h"</code><br/>
|
||||
<code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="controller_enums_8h_source.html">controllerEnums.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="xbox_enums_8h_source.html">xboxEnums.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for XBOXRECV.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_r_e_c_v_8h__incl.png" border="0" usemap="#_x_b_o_x_r_e_c_v_8h" alt=""/></div>
|
||||
<map name="_x_b_o_x_r_e_c_v_8h" id="_x_b_o_x_r_e_c_v_8h">
|
||||
<area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="376,75,419,96"/><area shape="rect" id="node17" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="443,75,529,96"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="718,213,772,235"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="535,213,601,235"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="661,144,717,165"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="625,213,684,235"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="402,144,459,165"/><area shape="rect" id="node13" href="printhex_8h.html" title="printhex.h" alt="" coords="71,213,128,235"/><area shape="rect" id="node14" href="hexdump_8h.html" title="hexdump.h" alt="" coords="261,144,323,165"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="168,144,229,165"/></map>
|
||||
<area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="397,75,440,96"/><area shape="rect" id="node17" href="xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,75,868,96"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="528,213,582,235"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="146,213,213,235"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="212,144,269,165"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,213,296,235"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="79,144,136,165"/><area shape="rect" id="node13" href="printhex_8h.html" title="printhex.h" alt="" coords="608,213,665,235"/><area shape="rect" id="node14" href="hexdump_8h.html" title="hexdump.h" alt="" coords="430,144,492,165"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="345,144,406,165"/><area shape="rect" id="node18" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,144,880,165"/></map>
|
||||
</div>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
This graph shows which files directly or indirectly include this file:</div>
|
||||
|
@ -152,31 +151,8 @@ Macros</h2></td></tr>
|
|||
<tr class="separator:a2f5523a1aaa6718e1d11c6bc5b29a575"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af35f872fc33e690571eb99de648e8e96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>   9</td></tr>
|
||||
<tr class="separator:af35f872fc33e690571eb99de648e8e96"><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:a57effb96f46e458675a2653d4c543ca2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> { <a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b">ROTATING</a> = 0x0A,
|
||||
<a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a">FASTBLINK</a> = 0x0B,
|
||||
<a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454">SLOWBLINK</a> = 0x0C,
|
||||
<a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37">ALTERNATING</a> = 0x0D
|
||||
}</td></tr>
|
||||
<tr class="separator:a57effb96f46e458675a2653d4c543ca2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad4d26e1c566064f2259faf65f0858b6e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_INTERRUPT   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00036">36</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abcb805b13bfd36145e252b0633bbcfc0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
|
@ -191,17 +167,17 @@ Enumerations</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2f5523a1aaa6718e1d11c6bc5b29a575"></a>
|
||||
<a class="anchor" id="ad4d26e1c566064f2259faf65f0858b6e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MADCATZ_VID   0x1BAD</td>
|
||||
<td class="memname">#define EP_INTERRUPT   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00054">54</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00036">36</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -231,62 +207,6 @@ Enumerations</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00040">40</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aab6feb681a78b190190bcc081868a485"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_2   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00042">42</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a86a3e5765d02bc043d5d1f674a7ffb0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_3   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00044">44</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5acfdaefe74aba1632c71acb79c49671"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_4   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00046">46</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af35f872fc33e690571eb99de648e8e96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_MAX_ENDPOINTS   9</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00056">56</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a962be1e740bce25cf37e111bd88be9bf"></a>
|
||||
|
@ -301,6 +221,20 @@ Enumerations</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00041">41</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aab6feb681a78b190190bcc081868a485"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_2   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00042">42</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8ba688a4bdb47869d7ee3f49b6d07b7c"></a>
|
||||
|
@ -315,6 +249,20 @@ Enumerations</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00043">43</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a86a3e5765d02bc043d5d1f674a7ffb0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_3   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00044">44</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="afce4154cabb3a0d2c7eeb39b1c15d353"></a>
|
||||
|
@ -329,6 +277,20 @@ Enumerations</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00045">45</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5acfdaefe74aba1632c71acb79c49671"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE_4   7</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00046">46</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7a74e0ea052831dbbb4a0973fffc8179"></a>
|
||||
|
@ -387,36 +349,38 @@ Enumerations</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a class="anchor" id="a57effb96f46e458675a2653d4c543ca2"></a>
|
||||
<a class="anchor" id="a2f5523a1aaa6718e1d11c6bc5b29a575"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a></td>
|
||||
<td class="memname">#define MADCATZ_VID   0x1BAD</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Enum used to set special LED modes supported by the Xbox controller. </p>
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b"></a>ROTATING</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a"></a>FASTBLINK</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454"></a>SLOWBLINK</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
<tr><td class="fieldname"><em><a class="anchor" id="a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37"></a>ALTERNATING</em> </td><td class="fielddoc">
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00059">59</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00054">54</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af35f872fc33e690571eb99de648e8e96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_MAX_ENDPOINTS   9</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html#l00056">56</a> of file <a class="el" href="_x_b_o_x_r_e_c_v_8h_source.html">XBOXRECV.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
<map id="XBOXRECV.h" name="XBOXRECV.h">
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="376,75,419,96"/>
|
||||
<area shape="rect" id="node17" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="443,75,529,96"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="718,213,772,235"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="535,213,601,235"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="661,144,717,165"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="625,213,684,235"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="402,144,459,165"/>
|
||||
<area shape="rect" id="node13" href="$printhex_8h.html" title="printhex.h" alt="" coords="71,213,128,235"/>
|
||||
<area shape="rect" id="node14" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="261,144,323,165"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="168,144,229,165"/>
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="397,75,440,96"/>
|
||||
<area shape="rect" id="node17" href="$xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,75,868,96"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="528,213,582,235"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="146,213,213,235"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="212,144,269,165"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,213,296,235"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="79,144,136,165"/>
|
||||
<area shape="rect" id="node13" href="$printhex_8h.html" title="printhex.h" alt="" coords="608,213,665,235"/>
|
||||
<area shape="rect" id="node14" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="430,144,492,165"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="345,144,406,165"/>
|
||||
<area shape="rect" id="node18" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,144,880,165"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
c8c03e815fdc272e10d79b2508f0587f
|
||||
b706bf6b82e6c4c084191859cdb64634
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 58 KiB |
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: XBOXRECV.h Source File</title>
|
||||
<title>USB Host Shield 2.0: XBOXRECV.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="controller_enums_8h.html">controllerEnums.h</a>"</span> </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="xbox_enums_8h.html">xboxEnums.h</a>"</span> </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/* Data Xbox 360 taken from descriptors */</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0"> 33</a></span> <span class="preprocessor">#define EP_MAXPKTSIZE 32 // max size for data via USB</span></div>
|
||||
|
@ -142,78 +142,71 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_WIRELESS_RECEIVER_PID 0x0719 // Microsoft Wireless Gaming Receiver</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID 0x0291 // Third party Wireless Gaming Receiver</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575"> 54</a></span> <span class="preprocessor">#define MADCATZ_VID 0x1BAD // For unofficial Mad Catz controllers</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575"> 54</a></span> <span class="preprocessor">#define MADCATZ_VID 0x1BAD // For unofficial Mad Catz receivers</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96"> 56</a></span> <span class="preprocessor">#define XBOX_MAX_ENDPOINTS 9</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2"> 59</a></span> <span class="keyword">enum</span> <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> {</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b"> 60</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ab341b3ec217357462f12510d0435c25b">ROTATING</a> = 0x0A,</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a"> 61</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2ae88cfa0f6acd518889cef621446d9d2a">FASTBLINK</a> = 0x0B,</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454"> 62</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2acfcb52b0be6da777e98f28261a9d2454">SLOWBLINK</a> = 0x0C,</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37"> 63</a></span>  <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2a699ca8594a49a8c786c6881a14caeb37">ALTERNATING</a> = 0x0D, </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> };</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html"> 71</a></span> <span class="keyword">class </span><a class="code" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> {</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a>();</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">Poll</a>();</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631"> 102</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">GetAddress</a>() { <span class="keywordflow">return</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>; };</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57"> 107</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">isReady</a>() { <span class="keywordflow">return</span> bPollEnable; };</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad33cd16d10e438bb8051f7fa6052f6c9">getButtonPress</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5e9a59d90ec1941c7152cdd438c284d0">getButtonClick</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  int16_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1b277f0980bd53f30283d4af9d9b8926">getAnalogHat</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a65f4ca4dc0156418fbac30060c06730d"> 137</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a65f4ca4dc0156418fbac30060c06730d">setAllOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(controller,0,0); <a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f">setLedOff</a>(controller); };</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#aa75c1d01b94b7c50fb518bc0f9228782"> 142</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#aa75c1d01b94b7c50fb518bc0f9228782">setRumbleOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(controller,0,0); };</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(uint8_t controller, uint8_t lValue, uint8_t rValue);</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a354ede498c38b95a60c1b27deb01e47d">setLedRaw</a>(uint8_t controller, uint8_t value);</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f"> 162</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f">setLedOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#a354ede498c38b95a60c1b27deb01e47d">setLedRaw</a>(controller,0); };</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a9e17aa44f2946e710fb9343f27290c85">setLedOn</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a54490f57e16eaee6689ca92351958017">setLedBlink</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ace7deafed6fa6991d38417b41a490c57">setLedMode</a>(uint8_t controller, <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> lm);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a671caa6d19debca8ff14dc82ac3ed005">getBatteryLevel</a>(uint8_t controller);</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#aa2263642c0d422c6d21fed3933d6044c">buttonChanged</a>(uint8_t controller);</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c"> 196</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XboxReceiverConnected</a>;</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a"> 198</a></span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">Xbox360Connected</a>[4];</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="keyword">protected</span>: </div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8"> 202</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730"> 204</a></span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb"> 206</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">epInfo</a>[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>];</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keyword">private</span>: </div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordtype">bool</span> bPollEnable; </div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">/* Variables to store the buttons */</span></div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  uint32_t ButtonState[4];</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  uint32_t OldButtonState[4];</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  uint16_t ButtonClickState[4];</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  int16_t hatValue[4][4];</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  uint16_t controllerStatus[4];</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordtype">bool</span> buttonStateChanged[4]; <span class="comment">// True if a button has changed</span></div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordtype">bool</span> L2Clicked[4]; <span class="comment">// These buttons are analog, so we use we use these bools to check if they where clicked or not</span></div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordtype">bool</span> R2Clicked[4];</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer; <span class="comment">// Timing for checkStatus() signals</span></div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  </div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  uint8_t readBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  uint8_t writeBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordtype">void</span> readReport(uint8_t controller); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">void</span> printReport(uint8_t controller, uint8_t nBytes); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordtype">void</span> XboxCommand(uint8_t controller, uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordtype">void</span> checkStatus();</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> };</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html"> 63</a></span> <span class="keyword">class </span><a class="code" href="class_x_b_o_x_r_e_c_v.html">XBOXRECV</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> {</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac856259af28db351f85302b5eddabf1d">XBOXRECV</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>);</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a07de216bf16a83501d74463c00bf1fc8">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad0e6b53a818516b7d6af0beaa8cebc7a">Release</a>();</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#aafe1688ba3dc9b9ac425ebbbf001a1cc">Poll</a>();</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631"> 94</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a2d58b0a20eb804d853713ade83d01631">GetAddress</a>() { <span class="keywordflow">return</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>; };</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57"> 99</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a570568108edafee8d060aad8fe40db57">isReady</a>() { <span class="keywordflow">return</span> bPollEnable; };</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ad33cd16d10e438bb8051f7fa6052f6c9">getButtonPress</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5e9a59d90ec1941c7152cdd438c284d0">getButtonClick</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  int16_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1b277f0980bd53f30283d4af9d9b8926">getAnalogHat</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a65f4ca4dc0156418fbac30060c06730d"> 131</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a65f4ca4dc0156418fbac30060c06730d">setAllOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(controller,0,0); <a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f">setLedOff</a>(controller); };</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#aa75c1d01b94b7c50fb518bc0f9228782"> 136</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#aa75c1d01b94b7c50fb518bc0f9228782">setRumbleOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(controller,0,0); };</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#afd1f58838a9aea8e742103fddbe8fe69">setRumbleOn</a>(uint8_t controller, uint8_t lValue, uint8_t rValue);</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a354ede498c38b95a60c1b27deb01e47d">setLedRaw</a>(uint8_t controller, uint8_t value);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f"> 156</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#abedb93ccf24954f652d8f1cbc138924f">setLedOff</a>(uint8_t controller) { <a class="code" href="class_x_b_o_x_r_e_c_v.html#a354ede498c38b95a60c1b27deb01e47d">setLedRaw</a>(controller,0); };</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a9e17aa44f2946e710fb9343f27290c85">setLedOn</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a54490f57e16eaee6689ca92351958017">setLedBlink</a>(uint8_t controller, <a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#ace7deafed6fa6991d38417b41a490c57">setLedMode</a>(uint8_t controller, <a class="code" href="xbox_enums_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> lm);</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a671caa6d19debca8ff14dc82ac3ed005">getBatteryLevel</a>(uint8_t controller);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#aa2263642c0d422c6d21fed3933d6044c">buttonChanged</a>(uint8_t controller);</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c"> 190</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_r_e_c_v.html#a5ff16bba78f05af3023f395a342b625c">XboxReceiverConnected</a>;</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a"> 192</a></span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#ac07faada38e159f1e7831d90863ebe3a">Xbox360Connected</a>[4];</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  </div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="keyword">protected</span>: </div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8"> 196</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_r_e_c_v.html#a53047c86c8c2f625916af62238d50fc8">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730"> 198</a></span>  uint8_t <a class="code" href="class_x_b_o_x_r_e_c_v.html#a1d4bdb1b740c87fd51aca3969e67c730">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb"> 200</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_x_b_o_x_r_e_c_v.html#af97c8d0efc945fa4ba1d120c8a5a9cbb">epInfo</a>[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>];</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="keyword">private</span>: </div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">bool</span> bPollEnable; </div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="comment">/* Variables to store the buttons */</span></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  uint32_t ButtonState[4];</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  uint32_t OldButtonState[4];</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  uint16_t ButtonClickState[4];</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  int16_t hatValue[4][4];</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  uint16_t controllerStatus[4];</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">bool</span> buttonStateChanged[4]; <span class="comment">// True if a button has changed</span></div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">bool</span> L2Clicked[4]; <span class="comment">// These buttons are analog, so we use we use these bools to check if they where clicked or not</span></div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordtype">bool</span> R2Clicked[4];</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timer; <span class="comment">// Timing for checkStatus() signals</span></div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  uint8_t readBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  uint8_t writeBuf[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">void</span> readReport(uint8_t controller); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">void</span> printReport(uint8_t controller, uint8_t nBytes); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">void</span> XboxCommand(uint8_t controller, uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordtype">void</span> checkStatus();</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> };</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
133
_x_b_o_x_u_s_b_8cpp.html
Normal file
|
@ -0,0 +1,133 @@
|
|||
<!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.3.1"/>
|
||||
<title>USB Host Shield 2.0: XBOXUSB.cpp File Reference</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="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="imageStyle.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">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<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="annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXUSB.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for XBOXUSB.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_u_s_b_8cpp__incl.png" border="0" usemap="#_x_b_o_x_u_s_b_8cpp" alt=""/></div>
|
||||
<map name="_x_b_o_x_u_s_b_8cpp" id="_x_b_o_x_u_s_b_8cpp">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="722,75,789,96"/><area shape="rect" id="node4" href="_usb_8h.html" title="Usb.h" alt="" coords="397,144,440,165"/><area shape="rect" id="node18" href="xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,144,868,165"/><area shape="rect" id="node7" href="avrpins_8h.html" title="avrpins.h" alt="" coords="528,283,582,304"/><area shape="rect" id="node9" href="max3421e_8h.html" title="max3421e.h" alt="" coords="146,283,213,304"/><area shape="rect" id="node10" href="usbhost_8h.html" title="usbhost.h" alt="" coords="212,213,269,235"/><area shape="rect" id="node11" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,283,296,304"/><area shape="rect" id="node12" href="address_8h.html" title="address.h" alt="" coords="79,213,136,235"/><area shape="rect" id="node14" href="printhex_8h.html" title="printhex.h" alt="" coords="608,283,665,304"/><area shape="rect" id="node15" href="hexdump_8h.html" title="hexdump.h" alt="" coords="430,213,492,235"/><area shape="rect" id="node17" href="message_8h.html" title="message.h" alt="" coords="345,213,406,235"/><area shape="rect" id="node19" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,213,880,235"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_x_b_o_x_u_s_b_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83">DEBUG</a></td></tr>
|
||||
<tr class="separator:ad72dbcf6d0153db1b8d8a58001feed83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="ad72dbcf6d0153db1b8d8a58001feed83"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DEBUG</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8cpp_source.html#l00019">19</a> of file <a class="el" href="_x_b_o_x_u_s_b_8cpp_source.html">XBOXUSB.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
14
_x_b_o_x_u_s_b_8cpp__incl.map
Normal file
|
@ -0,0 +1,14 @@
|
|||
<map id="XBOXUSB.cpp" name="XBOXUSB.cpp">
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="722,75,789,96"/>
|
||||
<area shape="rect" id="node4" href="$_usb_8h.html" title="Usb.h" alt="" coords="397,144,440,165"/>
|
||||
<area shape="rect" id="node18" href="$xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,144,868,165"/>
|
||||
<area shape="rect" id="node7" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="528,283,582,304"/>
|
||||
<area shape="rect" id="node9" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="146,283,213,304"/>
|
||||
<area shape="rect" id="node10" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="212,213,269,235"/>
|
||||
<area shape="rect" id="node11" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,283,296,304"/>
|
||||
<area shape="rect" id="node12" href="$address_8h.html" title="address.h" alt="" coords="79,213,136,235"/>
|
||||
<area shape="rect" id="node14" href="$printhex_8h.html" title="printhex.h" alt="" coords="608,283,665,304"/>
|
||||
<area shape="rect" id="node15" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="430,213,492,235"/>
|
||||
<area shape="rect" id="node17" href="$message_8h.html" title="message.h" alt="" coords="345,213,406,235"/>
|
||||
<area shape="rect" id="node19" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,213,880,235"/>
|
||||
</map>
|
1
_x_b_o_x_u_s_b_8cpp__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
3ca153d023e1731c3bdf798e2214196b
|
BIN
_x_b_o_x_u_s_b_8cpp__incl.png
Normal file
After Width: | Height: | Size: 60 KiB |
442
_x_b_o_x_u_s_b_8cpp_source.html
Normal file
|
@ -0,0 +1,442 @@
|
|||
<!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.3.1"/>
|
||||
<title>USB Host Shield 2.0: XBOXUSB.cpp Source File</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="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="imageStyle.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">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<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="annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXUSB.cpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_x_b_o_x_u_s_b_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="_x_b_o_x_u_s_b_8h.html">XBOXUSB.h</a>"</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8cpp.html#ad72dbcf6d0153db1b8d8a58001feed83"> 19</a></span> <span class="preprocessor">#define DEBUG // Uncomment to print data for debugging</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span><span class="comment">//#define EXTRADEBUG // Uncomment to get even more debugging data</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">//#define PRINTREPORT // Uncomment to print the report send by the Xbox 360 Controller</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a4b676a33152112e6edfb14be125a78d2"> 23</a></span> <a class="code" href="class_x_b_o_x_u_s_b.html#a4b676a33152112e6edfb14be125a78d2">XBOXUSB::XBOXUSB</a>(<a class="code" href="class_u_s_b.html">USB</a> *p):</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> pUsb(p), <span class="comment">// pointer to USB class instance - mandatory</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> bAddress(0), <span class="comment">// device address - mandatory</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> bPollEnable(false) { <span class="comment">// don't start polling before dongle is connected</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">for</span>(uint8_t i=0; i<<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>; i++) {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = 0;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[i].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (i) ? 0 : 8;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = 0; </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[i].<a class="code" href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">bmNakPower</a> = (i) ? <a class="code" href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a> : <a class="code" href="address_8h.html#a517dfa014946e2d087d197312234a1de">USB_NAK_MAX_POWER</a>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  }</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">if</span> (<a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>) <span class="comment">// register in USB subsystem</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a3f66bf622590413ef2e1864f93a3e0d2">RegisterDeviceClass</a>(<span class="keyword">this</span>); <span class="comment">//set devConfig[] entry</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a9d2ad06354787bc252058bb28015b56e"> 38</a></span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a9d2ad06354787bc252058bb28015b56e">XBOXUSB::Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed) {</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  uint8_t buf[<span class="keyword">sizeof</span>(<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>)];</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  uint8_t rcode;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="struct_usb_device.html">UsbDevice</a> *p = NULL;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="struct_ep_info.html">EpInfo</a> *oldep_ptr = NULL;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  uint16_t PID;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  uint16_t VID;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// get memory address of USB device address pool</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="class_address_pool.html">AddressPool</a> &addrPool = <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>(); </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#ifdef EXTRADEBUG</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nXBOXUSB Init"</span>));</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span> <span class="comment">// check if address has already been assigned to an instance</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">if</span> (<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>) {</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nAddress in use"</span>));</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#a44416ff64fc0e3691f98addac13d4595">USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE</a>;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// Get pointer to pseudo device with address 0 assigned</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(0);</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">if</span> (!p) { </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nAddress not found"</span>));</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">if</span> (!p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>) {</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nepinfo is null"</span>));</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#af192c59cafe2192ad802b22e6dbc077d">USB_ERROR_EPINFO_IS_NULL</a>;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// Save old pointer to EP_RECORD of address 0</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  oldep_ptr = p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a>;</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">// Temporary assign new pointer to epInfo to p->epinfo in order to avoid toggle inconsistence</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  p-><a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed;</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Get device descriptor</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  rcode = <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a193e63c149fad46adabd77ceb09b2b24" title="defined(USB_METHODS_INLINE)">getDevDescr</a>(0, 0, <span class="keyword">sizeof</span>(<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>), (uint8_t*)buf);<span class="comment">// Get device descriptor - addr, ep, nbytes, data</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="comment">// Restore p->epinfo</span></div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  p-><a class="code" href="struct_usb_device.html#a410d39fb7758157f57794335e990ed02">epinfo</a> = oldep_ptr;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span>(rcode)</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">goto</span> FailGetDevDescr;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  VID = ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)->idVendor;</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  PID = ((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)->idProduct;</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">if</span>(VID != <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a> && VID != <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a> && VID != <a class="code" href="_x_b_o_x_u_s_b_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a>) <span class="comment">// We just check if it's a xbox controller using the Vendor ID</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">goto</span> FailUnknownDevice;</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">if</span>(PID == <a class="code" href="_x_b_o_x_u_s_b_8h.html#a10c2a7a8da78e76d7020c2c347f0a687">XBOX_WIRELESS_PID</a>) {</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nYou have plugged in a wireless Xbox 360 controller - it doesn't support USB communication"</span>));</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor"></span> <span class="keywordflow">goto</span> FailUnknownDevice;</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  }</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(PID == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a1a97ce2829a30b96ea6640d387d245a9">XBOX_WIRELESS_RECEIVER_PID</a> || PID == <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a6842663964e470b86786f046e4bc30d9">XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</a>) {</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nThis library only supports Xbox 360 controllers via USB"</span>));</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor"></span> <span class="keywordflow">goto</span> FailUnknownDevice;</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  } </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="comment">// Allocate new address according to device class</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a> = addrPool.<a class="code" href="class_address_pool.html#a97df4ef42e50960ce2165f4cdb53e590">AllocAddress</a>(parent, <span class="keyword">false</span>, port);</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">if</span> (!<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>)</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#a15370eb665cdded5514e69ca58d9f39d">USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// Extract Max Packet Size from device descriptor</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[0].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = (uint8_t)((<a class="code" href="struct_u_s_b___d_e_v_i_c_e___d_e_s_c_r_i_p_t_o_r.html">USB_DEVICE_DESCRIPTOR</a>*)buf)->bMaxPacketSize0; </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">// Assign new address to the device</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  rcode = <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a3aea534daed66b5606fa798df7ad3c47">setAddr</a>( 0, 0, <a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a> );</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">if</span> (rcode) {</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  p-><a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  addrPool.<a class="code" href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">FreeAddress</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>);</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a> = 0;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nsetAddr: "</span>));</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor"></span> PrintHex<uint8_t>(rcode);</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">return</span> rcode;</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#ifdef EXTRADEBUG</span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nAddr: "</span>));</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  PrintHex<uint8_t>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>);</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor"></span> p-><a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">//get pointer to assigned address record</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  p = addrPool.<a class="code" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">GetUsbDevicePtr</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>);</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">if</span> (!p) </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">return</span> <a class="code" href="_usb_8h.html#afe2fedb4b0ccc89a688c0b4b59691ce0">USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL</a>;</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  p-><a class="code" href="struct_usb_device.html#a86a815577ad7883437d3ca72b32b8e8a">lowspeed</a> = lowspeed; </div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">// Assign epInfo to epinfo pointer - only EP0 is known</span></div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  rcode = <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>, 1, <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">if</span> (rcode)</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">goto</span> FailSetDevTblEntry;</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">/* The application will work in reduced host mode, so we can save program and data</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> memory space. After verifying the VID we will use known values for the</span></div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> configuration values for device, interface, endpoints and HID for the XBOX360 Controllers */</span></div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">/* Initialize data structures for endpoints of device */</span></div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = 0x01; <span class="comment">// XBOX 360 report endpoint</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = <a class="code" href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e">EP_INTERRUPT</a>;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">bmNakPower</a> = <a class="code" href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a>; <span class="comment">// Only poll once for interrupt endpoints</span></div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = <a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>;</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">bmSndToggle</a> = <a class="code" href="max3421e_8h.html#a4834ae7378471b63b9a1985c6294006f">bmSNDTOG0</a>;</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">bmRcvToggle</a> = <a class="code" href="max3421e_8h.html#aca6a8aa4f0aebbe07c5e175572a92ef7">bmRCVTOG0</a>;</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a9f92be74c75c037b39e2cae1eb49b89b">epAddr</a> = 0x02; <span class="comment">// XBOX 360 output endpoint</span></div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a1dea928517c961235eef7b0876e69f10">epAttribs</a> = <a class="code" href="_p_s3_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e">EP_INTERRUPT</a>;</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a3a5b1c017a034cd9e06e76729e727c46">bmNakPower</a> = <a class="code" href="address_8h.html#a660e8da9c1167a8450aef91c5c03761d">USB_NAK_NOWAIT</a>; <span class="comment">// Only poll once for interrupt endpoints</span></div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#aa2ca775b63736df4008e88da7dd4dddb">maxPktSize</a> = <a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>;</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#ac85bff70ad0e5d71e50cb501f4d8caf3">bmSndToggle</a> = <a class="code" href="max3421e_8h.html#a4834ae7378471b63b9a1985c6294006f">bmSNDTOG0</a>;</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a> ].<a class="code" href="struct_ep_info.html#a9238dd40c096baedf041c98b19386a14">bmRcvToggle</a> = <a class="code" href="max3421e_8h.html#aca6a8aa4f0aebbe07c5e175572a92ef7">bmRCVTOG0</a>;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  rcode = <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a6c3ba3f7e6dccb450267011ce783d7ea">setEpInfoEntry</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>, 3, <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">if</span>( rcode )</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">goto</span> FailSetDevTblEntry;</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  delay(200);<span class="comment">//Give time for address change</span></div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  rcode = <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a31e2c132ec32ffdde94dff72be87c378">setConf</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>, <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490">XBOX_CONTROL_PIPE</a> ].epAddr, 1);</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">if</span>( rcode )</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">goto</span> FailSetConf; </div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nXbox 360 Controller Connected\r\n"</span>));</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor">#endif </span></div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor"></span> <a class="code" href="class_x_b_o_x_u_s_b.html#a2348a35d4302f0a76bbeb319e84349a1">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6adac6477842247cab1a8c02c65f431b44">LED1</a>);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a1c779ae5483a2f73426650242a37d868">Xbox360Connected</a> = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  bPollEnable = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">return</span> 0; <span class="comment">// successful configuration</span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="comment">/* diagnostic messages */</span> </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> FailGetDevDescr:</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\ngetDevDescr:"</span>));</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="preprocessor"></span> <span class="keywordflow">goto</span> Fail; </div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> FailSetDevTblEntry:</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nsetDevTblEn:"</span>));</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="preprocessor"></span> <span class="keywordflow">goto</span> Fail;</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> FailSetConf:</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nsetConf:"</span>));</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="preprocessor"></span> <span class="keywordflow">goto</span> Fail; </div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> FailUnknownDevice:</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nUnknown Device Connected - VID: "</span>));</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  PrintHex<uint16_t>(VID);</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">" PID: "</span>));</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  PrintHex<uint16_t>(PID);</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="preprocessor"></span> rcode = <a class="code" href="_usb_8h.html#ae9e139d0fd29bb0b3e7afad2f76cd589">USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED</a>;</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordflow">goto</span> Fail;</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> Fail:</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="preprocessor"></span> <a class="code" href="message_8cpp.html#a968335d1c8fd7b45c95634e0828411be">Notify</a>(PSTR(<span class="stringliteral">"\r\nXbox 360 Init Failed, error code: "</span>));</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  Serial.print(rcode,HEX);</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="preprocessor">#endif </span></div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="preprocessor"></span> <a class="code" href="class_x_b_o_x_u_s_b.html#a9a296b98b40f5a36d46297d98ef0f9b5">Release</a>();</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordflow">return</span> rcode;</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> }</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment">/* Performs a cleanup after failed Init() attempt */</span></div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a9a296b98b40f5a36d46297d98ef0f9b5"> 220</a></span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a9a296b98b40f5a36d46297d98ef0f9b5">XBOXUSB::Release</a>() {</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a1c779ae5483a2f73426650242a37d868">Xbox360Connected</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a66ab8f5eda239e761d5a48741ea1f9d4">GetAddressPool</a>().<a class="code" href="class_address_pool.html#a15fde13223dcb1da89305ad229763562">FreeAddress</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>); </div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a> = 0;</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  bPollEnable = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> }</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a2f4684fe0785e50de434d95f4336fa12"> 227</a></span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a2f4684fe0785e50de434d95f4336fa12">XBOXUSB::Poll</a>() { </div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">if</span> (!bPollEnable)</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  uint16_t BUFFER_SIZE = <a class="code" href="_p_s3_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>;</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#ad75d64f648b102fab2bd75e53e1324a4">inTransfer</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>, <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[ <a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a> ].epAddr, &BUFFER_SIZE, readBuf); <span class="comment">// input on endpoint 1</span></div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  readReport();</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="preprocessor">#ifdef PRINTREPORT</span></div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="preprocessor"></span> printReport(); <span class="comment">// Uncomment "#define PRINTREPORT" to print the report send by the Xbox 360 Controller</span></div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="preprocessor"></span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> }</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="keywordtype">void</span> XBOXUSB::readReport() { </div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordflow">if</span> (readBuf == NULL)</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordflow">if</span>(readBuf[0] != 0x00 || readBuf[1] != 0x14) { <span class="comment">// Check if it's the correct report - the controller also sends different status reports</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  }</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  ButtonState = (uint32_t)(readBuf[5] | ((uint16_t)readBuf[4] << 8) | ((uint32_t)readBuf[3] << 16) | ((uint32_t)readBuf[2] << 24));</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  </div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  hatValue[<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a383cb8895dd296b7f69ce845ed16b0ca">LeftHatX</a>] = (int16_t)(((uint16_t)readBuf[7] << 8) | readBuf[6]);</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  hatValue[<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92af3f3925efa9762c4e9e71ac7da7a94a3">LeftHatY</a>] = (int16_t)(((uint16_t)readBuf[9] << 8) | readBuf[8]);</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  hatValue[<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92aaeb027a0ae5bbc6ba25e1c78a6486c7b">RightHatX</a>] = (int16_t)(((uint16_t)readBuf[11] << 8) | readBuf[10]);</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  hatValue[<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92a7f1fb2db5381286691f4dec179ed5d5a">RightHatY</a>] = (int16_t)(((uint16_t)readBuf[13] << 8) | readBuf[12]);</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="comment">//Notify(PSTR("\r\nButtonState"));</span></div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">//PrintHex<uint32_t>(ButtonState);</span></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  </div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordflow">if</span>(ButtonState != OldButtonState) {</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  ButtonClickState = (ButtonState >> 16) & ((~OldButtonState) >> 16); <span class="comment">// Update click state variable, but don't include the two trigger buttons L2 and R2</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">if</span>(((uint8_t)OldButtonState) == 0 && ((uint8_t)ButtonState) != 0) <span class="comment">// The L2 and R2 buttons are special as they are analog buttons</span></div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  R2Clicked = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keywordflow">if</span>((uint8_t)(OldButtonState >> 8) == 0 && (uint8_t)(ButtonState >> 8) != 0)</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  L2Clicked = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  OldButtonState = ButtonState;</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> } </div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="keywordtype">void</span> XBOXUSB::printReport() { <span class="comment">//Uncomment "#define PRINTREPORT" to print the report send by the Xbox 360 Controller</span></div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="preprocessor">#ifdef PRINTREPORT</span></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="preprocessor"></span> <span class="keywordflow">if</span> (readBuf == NULL)</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">for</span>(uint8_t i = 0; i < <a class="code" href="_x_b_o_x_u_s_b_8h.html#aaa3e91675875fbf14a37369f9513874a">XBOX_REPORT_BUFFER_SIZE</a>;i++) {</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  PrintHex<uint8_t>(readBuf[i]);</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  Serial.print(<span class="stringliteral">" "</span>);</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  } </div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  Serial.println();</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="preprocessor">#endif </span></div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="preprocessor"></span>}</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#ae18ff481e9dd91658e5e45e7958e7775"> 278</a></span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#ae18ff481e9dd91658e5e45e7958e7775">XBOXUSB::getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">if</span>(b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a>) <span class="comment">// These are analog buttons</span></div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">return</span> (uint8_t)(ButtonState >> 8);</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>)</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">return</span> (uint8_t)ButtonState;</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keywordflow">return</span> (ButtonState & ((uint32_t)pgm_read_word(&BUTTONS[(uint8_t)b]) << 16));</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> }</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#ab85b8ce772b122f1b9df489c7e045635"> 285</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_u_s_b.html#ab85b8ce772b122f1b9df489c7e045635">XBOXUSB::getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b) {</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">if</span>(b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a0adffb24dae0c41be5b803f4d444f066">L2</a>) {</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keywordflow">if</span>(L2Clicked) {</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  L2Clicked = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  }</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  }</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(b == <a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0a629d7b403cea5f826352f3aefb9a6d6a">R2</a>) {</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">if</span>(R2Clicked) {</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  R2Clicked = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  }</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  }</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  uint16_t button = pgm_read_word(&BUTTONS[(uint8_t)b]);</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordtype">bool</span> click = (ButtonClickState & button);</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  ButtonClickState &= ~button; <span class="comment">// clear "click" event</span></div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">return</span> click;</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> }</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a7fcef8741de99d56f3a4d7fad9f954ff"> 305</a></span> int16_t <a class="code" href="class_x_b_o_x_u_s_b.html#a7fcef8741de99d56f3a4d7fad9f954ff">XBOXUSB::getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a) {</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">return</span> hatValue[a];</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> }</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="comment">/* Xbox Controller commands */</span></div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="keywordtype">void</span> XBOXUSB::XboxCommand(uint8_t* data, uint16_t nbytes) {</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">//bmRequest = Host to device (0x00) | Class (0x20) | Interface (0x01) = 0x21, bRequest = Set Report (0x09), Report ID (0x00), Report Type (Output 0x02), interface (0x00), datalength, datalength, data)</span></div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>-><a class="code" href="class_u_s_b.html#a636695a5c3d35cd6b9e31c54edfacd7c">ctrlReq</a>(<a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>,<a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[<a class="code" href="_x_b_o_x_r_e_c_v_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490">XBOX_CONTROL_PIPE</a>].epAddr, <a class="code" href="_b_t_d_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>, <a class="code" href="_b_t_d_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>, 0x00, 0x02, 0x00, nbytes, nbytes, data, NULL);</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> }</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e"> 314</a></span> <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e">XBOXUSB::setLedRaw</a>(uint8_t value) {</div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  writeBuf[0] = 0x01;</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  writeBuf[1] = 0x03;</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  writeBuf[2] = value;</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  </div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  XboxCommand(writeBuf, 3);</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> }</div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a2348a35d4302f0a76bbeb319e84349a1"> 321</a></span> <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a2348a35d4302f0a76bbeb319e84349a1">XBOXUSB::setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> led) {</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordflow">if</span>(led != <a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6ab1d5eac4b1dca480c8056eaea7663b7a">ALL</a>) <span class="comment">// All LEDs can't be on a the same time</span></div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e">setLedRaw</a>((pgm_read_byte(&LEDS[(uint8_t)led]))+4);</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> }</div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#acc52982e6105d029d1e0980367dc10f6"> 325</a></span> <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#acc52982e6105d029d1e0980367dc10f6">XBOXUSB::setLedBlink</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> led) {</div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e">setLedRaw</a>(pgm_read_byte(&LEDS[(uint8_t)led]));</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> }</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a7426adef803da704df7593858389926e"> 328</a></span> <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a7426adef803da704df7593858389926e">XBOXUSB::setLedMode</a>(<a class="code" href="xbox_enums_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> ledMode) { <span class="comment">// This function is used to do some speciel LED stuff the controller supports</span></div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e">setLedRaw</a>((uint8_t)ledMode);</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> }</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#ae70ae50ed8188a2bf8c25d0ee17f54d9"> 331</a></span> <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#ae70ae50ed8188a2bf8c25d0ee17f54d9">XBOXUSB::setRumbleOn</a>(uint8_t lValue, uint8_t rValue) {</div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  writeBuf[0] = 0x00;</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  writeBuf[1] = 0x08;</div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  writeBuf[2] = 0x00;</div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  writeBuf[3] = lValue; <span class="comment">// big weight</span></div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  writeBuf[4] = rValue; <span class="comment">// small weight</span></div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  writeBuf[5] = 0x00;</div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  writeBuf[6] = 0x00;</div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  writeBuf[7] = 0x00;</div>
|
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  </div>
|
||||
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  XboxCommand(writeBuf, 8);</div>
|
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
372
_x_b_o_x_u_s_b_8h.html
Normal file
|
@ -0,0 +1,372 @@
|
|||
<!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.3.1"/>
|
||||
<title>USB Host Shield 2.0: XBOXUSB.h File Reference</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="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="imageStyle.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">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<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="annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXUSB.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "Arduino.h"</code><br/>
|
||||
<code>#include "<a class="el" href="_usb_8h_source.html">Usb.h</a>"</code><br/>
|
||||
<code>#include "<a class="el" href="xbox_enums_8h_source.html">xboxEnums.h</a>"</code><br/>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for XBOXUSB.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_u_s_b_8h__incl.png" border="0" usemap="#_x_b_o_x_u_s_b_8h" alt=""/></div>
|
||||
<map name="_x_b_o_x_u_s_b_8h" id="_x_b_o_x_u_s_b_8h">
|
||||
<area shape="rect" id="node3" href="_usb_8h.html" title="Usb.h" alt="" coords="397,75,440,96"/><area shape="rect" id="node17" href="xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,75,868,96"/><area shape="rect" id="node6" href="avrpins_8h.html" title="avrpins.h" alt="" coords="528,213,582,235"/><area shape="rect" id="node8" href="max3421e_8h.html" title="max3421e.h" alt="" coords="146,213,213,235"/><area shape="rect" id="node9" href="usbhost_8h.html" title="usbhost.h" alt="" coords="212,144,269,165"/><area shape="rect" id="node10" href="usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,213,296,235"/><area shape="rect" id="node11" href="address_8h.html" title="address.h" alt="" coords="79,144,136,165"/><area shape="rect" id="node13" href="printhex_8h.html" title="printhex.h" alt="" coords="608,213,665,235"/><area shape="rect" id="node14" href="hexdump_8h.html" title="hexdump.h" alt="" coords="430,144,492,165"/><area shape="rect" id="node16" href="message_8h.html" title="message.h" alt="" coords="345,144,406,165"/><area shape="rect" id="node18" href="controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,144,880,165"/></map>
|
||||
</div>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
This graph shows which files directly or indirectly include this file:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_x_b_o_x_u_s_b_8h__dep__incl.png" border="0" usemap="#_x_b_o_x_u_s_b_8hdep" alt=""/></div>
|
||||
<map name="_x_b_o_x_u_s_b_8hdep" id="_x_b_o_x_u_s_b_8hdep">
|
||||
<area shape="rect" id="node2" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="5,75,80,96"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_x_b_o_x_u_s_b_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_x_b_o_x_u_s_b.html">XBOXUSB</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="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:abcb805b13bfd36145e252b0633bbcfc0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>   32</td></tr>
|
||||
<tr class="separator:abcb805b13bfd36145e252b0633bbcfc0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad4d26e1c566064f2259faf65f0858b6e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e">EP_INTERRUPT</a>   0x03</td></tr>
|
||||
<tr class="separator:ad4d26e1c566064f2259faf65f0858b6e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8f4ee68cc0f05690f5f26104c7d9e490"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490">XBOX_CONTROL_PIPE</a>   0</td></tr>
|
||||
<tr class="separator:a8f4ee68cc0f05690f5f26104c7d9e490"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4fd9ad9bf7a7d5767940c2ec224ef5e8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8">XBOX_INPUT_PIPE</a>   1</td></tr>
|
||||
<tr class="separator:a4fd9ad9bf7a7d5767940c2ec224ef5e8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a92d2d844a70224a10c100c0a877aacfe"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe">XBOX_OUTPUT_PIPE</a>   2</td></tr>
|
||||
<tr class="separator:a92d2d844a70224a10c100c0a877aacfe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8e7834e5604c4fb588cceab9258d0568"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a8e7834e5604c4fb588cceab9258d0568">XBOX_VID</a>   0x045E</td></tr>
|
||||
<tr class="separator:a8e7834e5604c4fb588cceab9258d0568"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a10c2a7a8da78e76d7020c2c347f0a687"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a10c2a7a8da78e76d7020c2c347f0a687">XBOX_WIRELESS_PID</a>   0x028F</td></tr>
|
||||
<tr class="separator:a10c2a7a8da78e76d7020c2c347f0a687"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1a97ce2829a30b96ea6640d387d245a9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a1a97ce2829a30b96ea6640d387d245a9">XBOX_WIRELESS_RECEIVER_PID</a>   0x0719</td></tr>
|
||||
<tr class="separator:a1a97ce2829a30b96ea6640d387d245a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6842663964e470b86786f046e4bc30d9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a6842663964e470b86786f046e4bc30d9">XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID</a>   0x0291</td></tr>
|
||||
<tr class="separator:a6842663964e470b86786f046e4bc30d9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2f5523a1aaa6718e1d11c6bc5b29a575"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575">MADCATZ_VID</a>   0x1BAD</td></tr>
|
||||
<tr class="separator:a2f5523a1aaa6718e1d11c6bc5b29a575"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab029b2c21fb0c240022cc50f465d4580"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#ab029b2c21fb0c240022cc50f465d4580">JOYTECH_VID</a>   0x162E</td></tr>
|
||||
<tr class="separator:ab029b2c21fb0c240022cc50f465d4580"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaa3e91675875fbf14a37369f9513874a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#aaa3e91675875fbf14a37369f9513874a">XBOX_REPORT_BUFFER_SIZE</a>   14</td></tr>
|
||||
<tr class="separator:aaa3e91675875fbf14a37369f9513874a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5bd4ea095da29635414952894bd527f5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5">bmREQ_HID_OUT</a>   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td></tr>
|
||||
<tr class="separator:a5bd4ea095da29635414952894bd527f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aee05d40a014750b24a7e9967f6f389f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4">HID_REQUEST_SET_REPORT</a>   0x09</td></tr>
|
||||
<tr class="separator:aee05d40a014750b24a7e9967f6f389f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af35f872fc33e690571eb99de648e8e96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_x_b_o_x_u_s_b_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>   3</td></tr>
|
||||
<tr class="separator:af35f872fc33e690571eb99de648e8e96"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="abcb805b13bfd36145e252b0633bbcfc0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_MAXPKTSIZE   32</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00031">31</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad4d26e1c566064f2259faf65f0858b6e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define EP_INTERRUPT   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00034">34</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8f4ee68cc0f05690f5f26104c7d9e490"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_CONTROL_PIPE   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00037">37</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4fd9ad9bf7a7d5767940c2ec224ef5e8"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_INPUT_PIPE   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00038">38</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a92d2d844a70224a10c100c0a877aacfe"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_OUTPUT_PIPE   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00039">39</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8e7834e5604c4fb588cceab9258d0568"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_VID   0x045E</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00042">42</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a10c2a7a8da78e76d7020c2c347f0a687"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_WIRELESS_PID   0x028F</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00043">43</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1a97ce2829a30b96ea6640d387d245a9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_WIRELESS_RECEIVER_PID   0x0719</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00044">44</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6842663964e470b86786f046e4bc30d9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID   0x0291</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00045">45</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a2f5523a1aaa6718e1d11c6bc5b29a575"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define MADCATZ_VID   0x1BAD</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00047">47</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab029b2c21fb0c240022cc50f465d4580"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JOYTECH_VID   0x162E</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00048">48</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aaa3e91675875fbf14a37369f9513874a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_REPORT_BUFFER_SIZE   14</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00050">50</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5bd4ea095da29635414952894bd527f5"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmREQ_HID_OUT   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00053">53</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aee05d40a014750b24a7e9967f6f389f4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define HID_REQUEST_SET_REPORT   0x09</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00054">54</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af35f872fc33e690571eb99de648e8e96"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XBOX_MAX_ENDPOINTS   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="_x_b_o_x_u_s_b_8h_source.html#l00056">56</a> of file <a class="el" href="_x_b_o_x_u_s_b_8h_source.html">XBOXUSB.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
3
_x_b_o_x_u_s_b_8h__dep__incl.map
Normal file
|
@ -0,0 +1,3 @@
|
|||
<map id="XBOXUSB.h" name="XBOXUSB.h">
|
||||
<area shape="rect" id="node2" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="5,75,80,96"/>
|
||||
</map>
|
1
_x_b_o_x_u_s_b_8h__dep__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
f71133bf381aea861d91b2082208595d
|
BIN
_x_b_o_x_u_s_b_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 2 KiB |
13
_x_b_o_x_u_s_b_8h__incl.map
Normal file
|
@ -0,0 +1,13 @@
|
|||
<map id="XBOXUSB.h" name="XBOXUSB.h">
|
||||
<area shape="rect" id="node3" href="$_usb_8h.html" title="Usb.h" alt="" coords="397,75,440,96"/>
|
||||
<area shape="rect" id="node17" href="$xbox_enums_8h.html" title="xboxEnums.h" alt="" coords="798,75,868,96"/>
|
||||
<area shape="rect" id="node6" href="$avrpins_8h.html" title="avrpins.h" alt="" coords="528,213,582,235"/>
|
||||
<area shape="rect" id="node8" href="$max3421e_8h.html" title="max3421e.h" alt="" coords="146,213,213,235"/>
|
||||
<area shape="rect" id="node9" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="212,144,269,165"/>
|
||||
<area shape="rect" id="node10" href="$usb__ch9_8h.html" title="usb_ch9.h" alt="" coords="237,213,296,235"/>
|
||||
<area shape="rect" id="node11" href="$address_8h.html" title="address.h" alt="" coords="79,144,136,165"/>
|
||||
<area shape="rect" id="node13" href="$printhex_8h.html" title="printhex.h" alt="" coords="608,213,665,235"/>
|
||||
<area shape="rect" id="node14" href="$hexdump_8h.html" title="hexdump.h" alt="" coords="430,144,492,165"/>
|
||||
<area shape="rect" id="node16" href="$message_8h.html" title="message.h" alt="" coords="345,144,406,165"/>
|
||||
<area shape="rect" id="node18" href="$controller_enums_8h.html" title="controllerEnums.h" alt="" coords="794,144,880,165"/>
|
||||
</map>
|
1
_x_b_o_x_u_s_b_8h__incl.md5
Normal file
|
@ -0,0 +1 @@
|
|||
acdb454213bd6a2a1c611203a1473383
|
BIN
_x_b_o_x_u_s_b_8h__incl.png
Normal file
After Width: | Height: | Size: 58 KiB |
208
_x_b_o_x_u_s_b_8h_source.html
Normal file
|
@ -0,0 +1,208 @@
|
|||
<!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.3.1"/>
|
||||
<title>USB Host Shield 2.0: XBOXUSB.h Source File</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="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||||
</script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="imageStyle.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">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.3.1 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<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="annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
<li>
|
||||
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||
<span class="left">
|
||||
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
alt=""/>
|
||||
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||
</span><span class="right">
|
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">XBOXUSB.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_x_b_o_x_u_s_b_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This software may be distributed and modified under the terms of the GNU</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> General Public License version 2 (GPL2) as published by the Free Software</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> on this software must also be made publicly available under the terms of</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> the GPL2 ("Copyleft").</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Contact information</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> -------------------</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> </span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Kristian Lauszus, TKJ Electronics</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> Web : http://www.tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> e-mail : kristianl@tkjelectronics.com</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef _xboxusb_h_</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define _xboxusb_h_</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#if defined(ARDUINO) && ARDUINO >= 100</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#include "Arduino.h"</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#else</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor">#include "WProgram.h"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="_usb_8h.html">Usb.h</a>"</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="xbox_enums_8h.html">xboxEnums.h</a>"</span> </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">/* Data Xbox 360 taken from descriptors */</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0"> 31</a></span> <span class="preprocessor">#define EP_MAXPKTSIZE 32 // max size for data via USB</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">/* Endpoint types */</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#ad4d26e1c566064f2259faf65f0858b6e"> 34</a></span> <span class="preprocessor">#define EP_INTERRUPT 0x03</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">/* Names we give to the 3 Xbox360 pipes */</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a8f4ee68cc0f05690f5f26104c7d9e490"> 37</a></span> <span class="preprocessor">#define XBOX_CONTROL_PIPE 0</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a4fd9ad9bf7a7d5767940c2ec224ef5e8"> 38</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_INPUT_PIPE 1</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a92d2d844a70224a10c100c0a877aacfe"> 39</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_OUTPUT_PIPE 2</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// PID and VID of the different devices</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a8e7834e5604c4fb588cceab9258d0568"> 42</a></span> <span class="preprocessor">#define XBOX_VID 0x045E // Microsoft Corporation</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a10c2a7a8da78e76d7020c2c347f0a687"> 43</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_WIRELESS_PID 0x028F // Wireless controller only support charging</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a1a97ce2829a30b96ea6640d387d245a9"> 44</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_WIRELESS_RECEIVER_PID 0x0719 // Microsoft Wireless Gaming Receiver</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a6842663964e470b86786f046e4bc30d9"> 45</a></span> <span class="preprocessor"></span><span class="preprocessor">#define XBOX_WIRELESS_RECEIVER_THIRD_PARTY_PID 0x0291 // Third party Wireless Gaming Receiver</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a2f5523a1aaa6718e1d11c6bc5b29a575"> 47</a></span> <span class="preprocessor">#define MADCATZ_VID 0x1BAD // For unofficial Mad Catz controllers</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#ab029b2c21fb0c240022cc50f465d4580"> 48</a></span> <span class="preprocessor"></span><span class="preprocessor">#define JOYTECH_VID 0x162E // For unofficial Joytech controllers</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#aaa3e91675875fbf14a37369f9513874a"> 50</a></span> <span class="preprocessor">#define XBOX_REPORT_BUFFER_SIZE 14 // Size of the input report buffer</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">// Used in control endpoint header for HID Commands</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#a5bd4ea095da29635414952894bd527f5"> 53</a></span> <span class="preprocessor">#define bmREQ_HID_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#aee05d40a014750b24a7e9967f6f389f4"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define HID_REQUEST_SET_REPORT 0x09</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_x_b_o_x_u_s_b_8h.html#af35f872fc33e690571eb99de648e8e96"> 56</a></span> <span class="preprocessor">#define XBOX_MAX_ENDPOINTS 3</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html"> 59</a></span> <span class="keyword">class </span><a class="code" href="class_x_b_o_x_u_s_b.html">XBOXUSB</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a> {</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="class_x_b_o_x_u_s_b.html#a4b676a33152112e6edfb14be125a78d2">XBOXUSB</a>(<a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>);</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a9d2ad06354787bc252058bb28015b56e">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a9a296b98b40f5a36d46297d98ef0f9b5">Release</a>();</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a2f4684fe0785e50de434d95f4336fa12">Poll</a>();</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a42c870e64582980634423248d64500b4"> 90</a></span>  <span class="keyword">virtual</span> uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a42c870e64582980634423248d64500b4">GetAddress</a>() { <span class="keywordflow">return</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>; };</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#ac2507bfe85896b7fcc772894a7a9f272"> 95</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_u_s_b.html#ac2507bfe85896b7fcc772894a7a9f272">isReady</a>() { <span class="keywordflow">return</span> bPollEnable; };</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#ae18ff481e9dd91658e5e45e7958e7775">getButtonPress</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_u_s_b.html#ab85b8ce772b122f1b9df489c7e045635">getButtonClick</a>(<a class="code" href="controller_enums_8h.html#a03bfec859eac87be20f8952c1eb89de0">Button</a> b);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  int16_t <a class="code" href="class_x_b_o_x_u_s_b.html#a7fcef8741de99d56f3a4d7fad9f954ff">getAnalogHat</a>(<a class="code" href="controller_enums_8h.html#aaaabdefc068fd57ec2bef2b62ea4ba92">AnalogHat</a> a);</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a6200dc185ecb6e0d3ffdb2a9ecf49c40"> 123</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a6200dc185ecb6e0d3ffdb2a9ecf49c40">setAllOff</a>() { <a class="code" href="class_x_b_o_x_u_s_b.html#ae70ae50ed8188a2bf8c25d0ee17f54d9">setRumbleOn</a>(0,0); <a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e">setLedRaw</a>(0); };</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a5d9ac92da5086409ad864484bdf95871"> 125</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a5d9ac92da5086409ad864484bdf95871">setRumbleOff</a>() { <a class="code" href="class_x_b_o_x_u_s_b.html#ae70ae50ed8188a2bf8c25d0ee17f54d9">setRumbleOn</a>(0,0); };</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#ae70ae50ed8188a2bf8c25d0ee17f54d9">setRumbleOn</a>(uint8_t lValue, uint8_t rValue);</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e">setLedRaw</a>(uint8_t value);</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a155637a4ef946f19c7ee40c0fc1c6b98"> 140</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a155637a4ef946f19c7ee40c0fc1c6b98">setLedOff</a>() { <a class="code" href="class_x_b_o_x_u_s_b.html#a2cb9786f22e69ec3db26d9a55f95e22e">setLedRaw</a>(0); };</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a2348a35d4302f0a76bbeb319e84349a1">setLedOn</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#acc52982e6105d029d1e0980367dc10f6">setLedBlink</a>(<a class="code" href="controller_enums_8h.html#aadcb6002d2b42fdfe01490f730ab00a6">LED</a> l);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">void</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a7426adef803da704df7593858389926e">setLedMode</a>(<a class="code" href="xbox_enums_8h.html#a57effb96f46e458675a2653d4c543ca2">LEDMode</a> lm);</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a1c779ae5483a2f73426650242a37d868"> 160</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_x_b_o_x_u_s_b.html#a1c779ae5483a2f73426650242a37d868">Xbox360Connected</a>;</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="keyword">protected</span>: </div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18"> 164</a></span>  <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_x_b_o_x_u_s_b.html#a9c701658d4f63b5407cbcd5b78d8eb18">pUsb</a>;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65"> 166</a></span>  uint8_t <a class="code" href="class_x_b_o_x_u_s_b.html#a5e9c00af9f4b978c53819791b0a0eb65">bAddress</a>;</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f"> 168</a></span>  <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_x_b_o_x_u_s_b.html#abef4a852d877d8136f198431ce54550f">epInfo</a>[<a class="code" href="_x_b_o_x_u_s_b_8h.html#af35f872fc33e690571eb99de648e8e96">XBOX_MAX_ENDPOINTS</a>];</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  </div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="keyword">private</span>: </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">bool</span> bPollEnable;</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="comment">/* Variables to store the buttons */</span></div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  uint32_t ButtonState;</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  uint32_t OldButtonState;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  uint16_t ButtonClickState;</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  int16_t hatValue[4];</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  uint16_t controllerStatus;</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">bool</span> L2Clicked; <span class="comment">// These buttons are analog, so we use we use these bools to check if they where clicked or not</span></div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">bool</span> R2Clicked;</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  </div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  uint8_t readBuf[<a class="code" href="_x_b_o_x_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for input data</span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  uint8_t writeBuf[<a class="code" href="_x_b_o_x_u_s_b_8h.html#abcb805b13bfd36145e252b0633bbcfc0">EP_MAXPKTSIZE</a>]; <span class="comment">// General purpose buffer for output data</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">void</span> readReport(); <span class="comment">// read incoming data</span></div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">void</span> printReport(); <span class="comment">// print incoming date - Uncomment for debugging</span></div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  </div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="comment">/* Private commands */</span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">void</span> XboxCommand(uint8_t* data, uint16_t nbytes);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> };</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
138
address_8h.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: address.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: address.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -108,7 +108,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="address_8h__dep__incl.png" border="0" usemap="#address_8hdep" alt=""/></div>
|
||||
<map name="address_8hdep" id="address_8hdep">
|
||||
<area shape="rect" id="node2" href="_usb_8h.html" title="Usb.h" alt="" coords="780,75,823,96"/><area shape="rect" id="node3" href="adk_8h.html" title="adk.h" alt="" coords="86,144,127,165"/><area shape="rect" id="node5" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="227,144,272,165"/><area shape="rect" id="node13" href="cdcacm_8h.html" title="cdcacm.h" alt="" coords="465,144,521,165"/><area shape="rect" id="node17" href="cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="602,144,653,165"/><area shape="rect" id="node15" href="cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="461,213,525,235"/><area shape="rect" id="node19" href="hid_8h.html" title="hid.h" alt="" coords="753,144,793,165"/><area shape="rect" id="node21" href="hidboot_8h.html" title="hidboot.h" alt="" coords="634,213,688,235"/><area shape="rect" id="node23" href="hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="881,213,975,235"/><area shape="rect" id="node27" href="masstorage_8h.html" title="masstorage.h" alt="" coords="869,144,939,165"/><area shape="rect" id="node29" href="max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="964,144,1028,165"/><area shape="rect" id="node31" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1053,144,1112,165"/><area shape="rect" id="node33" href="_usb_8cpp.html" title="Usb.cpp" alt="" coords="1137,144,1188,165"/><area shape="rect" id="node34" href="usbhub_8h.html" title="usbhub.h" alt="" coords="1243,144,1297,165"/><area shape="rect" id="node36" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1383,144,1456,165"/><area shape="rect" id="node4" href="adk_8cpp.html" title="adk.cpp" alt="" coords="5,213,56,235"/><area shape="rect" id="node6" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="293,213,347,235"/><area shape="rect" id="node7" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="81,213,135,235"/><area shape="rect" id="node9" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="160,213,205,235"/><area shape="rect" id="node11" href="_wii_8h.html" title="Wii.h" alt="" coords="229,213,269,235"/><area shape="rect" id="node8" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="69,283,131,304"/><area shape="rect" id="node10" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="156,283,209,304"/><area shape="rect" id="node12" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="233,283,281,304"/><area shape="rect" id="node14" href="cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="371,213,436,235"/><area shape="rect" id="node16" href="cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="457,283,529,304"/><area shape="rect" id="node18" href="cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="550,213,609,235"/><area shape="rect" id="node20" href="hid_8cpp.html" title="hid.cpp" alt="" coords="713,213,761,235"/><area shape="rect" id="node25" href="hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="785,213,857,235"/><area shape="rect" id="node22" href="hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="629,283,693,304"/><area shape="rect" id="node24" href="hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="881,283,983,304"/><area shape="rect" id="node26" href="hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="777,283,857,304"/><area shape="rect" id="node28" href="masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="999,213,1077,235"/><area shape="rect" id="node30" href="max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1102,213,1175,235"/><area shape="rect" id="node32" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1200,213,1269,235"/><area shape="rect" id="node35" href="usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1293,213,1357,235"/><area shape="rect" id="node37" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1382,213,1463,235"/></map>
|
||||
<area shape="rect" id="node2" href="_usb_8h.html" title="Usb.h" alt="" coords="871,75,913,96"/><area shape="rect" id="node3" href="adk_8h.html" title="adk.h" alt="" coords="81,144,121,165"/><area shape="rect" id="node5" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="217,144,263,165"/><area shape="rect" id="node13" href="cdcacm_8h.html" title="cdcacm.h" alt="" coords="464,144,520,165"/><area shape="rect" id="node17" href="cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="629,144,680,165"/><area shape="rect" id="node15" href="cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="460,213,524,235"/><area shape="rect" id="node19" href="hid_8h.html" title="hid.h" alt="" coords="812,144,852,165"/><area shape="rect" id="node21" href="hidboot_8h.html" title="hidboot.h" alt="" coords="633,213,687,235"/><area shape="rect" id="node23" href="hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="880,213,973,235"/><area shape="rect" id="node27" href="masstorage_8h.html" title="masstorage.h" alt="" coords="930,144,1000,165"/><area shape="rect" id="node29" href="max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1025,144,1089,165"/><area shape="rect" id="node31" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1114,144,1173,165"/><area shape="rect" id="node33" href="_usb_8cpp.html" title="Usb.cpp" alt="" coords="1198,144,1249,165"/><area shape="rect" id="node34" href="usbhub_8h.html" title="usbhub.h" alt="" coords="1279,144,1333,165"/><area shape="rect" id="node36" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1369,144,1441,165"/><area shape="rect" id="node38" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="1487,144,1555,165"/><area shape="rect" id="node4" href="adk_8cpp.html" title="adk.cpp" alt="" coords="5,213,56,235"/><area shape="rect" id="node6" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="213,213,267,235"/><area shape="rect" id="node7" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="291,213,345,235"/><area shape="rect" id="node9" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="80,213,125,235"/><area shape="rect" id="node11" href="_wii_8h.html" title="Wii.h" alt="" coords="149,213,189,235"/><area shape="rect" id="node8" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="287,283,349,304"/><area shape="rect" id="node10" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="72,283,125,304"/><area shape="rect" id="node12" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="149,283,197,304"/><area shape="rect" id="node14" href="cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="370,213,435,235"/><area shape="rect" id="node16" href="cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="455,283,528,304"/><area shape="rect" id="node18" href="cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="549,213,608,235"/><area shape="rect" id="node20" href="hid_8cpp.html" title="hid.cpp" alt="" coords="808,213,856,235"/><area shape="rect" id="node25" href="hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="712,213,784,235"/><area shape="rect" id="node22" href="hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="624,283,688,304"/><area shape="rect" id="node24" href="hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="876,283,977,304"/><area shape="rect" id="node26" href="hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="712,283,792,304"/><area shape="rect" id="node28" href="masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="998,213,1076,235"/><area shape="rect" id="node30" href="max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1101,213,1173,235"/><area shape="rect" id="node32" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1199,213,1268,235"/><area shape="rect" id="node35" href="usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1292,213,1356,235"/><area shape="rect" id="node37" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1381,213,1461,235"/><area shape="rect" id="node39" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="1486,213,1561,235"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="address_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -153,73 +153,17 @@ Typedefs</h2></td></tr>
|
|||
<tr class="separator:a90edb051235924cb5280032df397f393"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="a8c4dc7975c713673cd832a3502f068d7"></a>
|
||||
<a class="anchor" id="a517dfa014946e2d087d197312234a1de"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADDR_ERROR_INVALID_ADDRESS   0xFF</td>
|
||||
<td class="memname">#define USB_NAK_MAX_POWER   16</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00098">98</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abeb4f5491e26a7f2cbf9201575d38104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADDR_ERROR_INVALID_INDEX   0xFF</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00097">97</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3002da1b823cafeeac8ba4a33bb96905"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmUSB_DEV_ADDR_ADDRESS   0x07</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00074">74</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a32dbe85cf751ca8428d34c45a1931655"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmUSB_DEV_ADDR_HUB   0x40</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00076">76</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a61b78658a9cc75f61841f2a0ac8e54fa"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmUSB_DEV_ADDR_PARENT   0x38</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00075">75</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00027">27</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -237,17 +181,17 @@ Typedefs</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a517dfa014946e2d087d197312234a1de"></a>
|
||||
<a class="anchor" id="a660e8da9c1167a8450aef91c5c03761d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define USB_NAK_MAX_POWER   16</td>
|
||||
<td class="memname">#define USB_NAK_NOWAIT   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00027">27</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00029">29</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -265,17 +209,73 @@ Typedefs</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a660e8da9c1167a8450aef91c5c03761d"></a>
|
||||
<a class="anchor" id="a3002da1b823cafeeac8ba4a33bb96905"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define USB_NAK_NOWAIT   1</td>
|
||||
<td class="memname">#define bmUSB_DEV_ADDR_ADDRESS   0x07</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00029">29</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00074">74</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a61b78658a9cc75f61841f2a0ac8e54fa"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmUSB_DEV_ADDR_PARENT   0x38</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00075">75</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a32dbe85cf751ca8428d34c45a1931655"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmUSB_DEV_ADDR_HUB   0x40</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00076">76</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abeb4f5491e26a7f2cbf9201575d38104"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADDR_ERROR_INVALID_INDEX   0xFF</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00097">97</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8c4dc7975c713673cd832a3502f068d7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADDR_ERROR_INVALID_ADDRESS   0xFF</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00098">98</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -297,7 +297,7 @@ Typedefs</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -1,38 +1,40 @@
|
|||
<map id="address.h" name="address.h">
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="780,75,823,96"/>
|
||||
<area shape="rect" id="node3" href="$adk_8h.html" title="adk.h" alt="" coords="86,144,127,165"/>
|
||||
<area shape="rect" id="node5" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="227,144,272,165"/>
|
||||
<area shape="rect" id="node13" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="465,144,521,165"/>
|
||||
<area shape="rect" id="node17" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="602,144,653,165"/>
|
||||
<area shape="rect" id="node15" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="461,213,525,235"/>
|
||||
<area shape="rect" id="node19" href="$hid_8h.html" title="hid.h" alt="" coords="753,144,793,165"/>
|
||||
<area shape="rect" id="node21" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="634,213,688,235"/>
|
||||
<area shape="rect" id="node23" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="881,213,975,235"/>
|
||||
<area shape="rect" id="node27" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="869,144,939,165"/>
|
||||
<area shape="rect" id="node29" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="964,144,1028,165"/>
|
||||
<area shape="rect" id="node31" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1053,144,1112,165"/>
|
||||
<area shape="rect" id="node33" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1137,144,1188,165"/>
|
||||
<area shape="rect" id="node34" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1243,144,1297,165"/>
|
||||
<area shape="rect" id="node36" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1383,144,1456,165"/>
|
||||
<area shape="rect" id="node2" href="$_usb_8h.html" title="Usb.h" alt="" coords="871,75,913,96"/>
|
||||
<area shape="rect" id="node3" href="$adk_8h.html" title="adk.h" alt="" coords="81,144,121,165"/>
|
||||
<area shape="rect" id="node5" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="217,144,263,165"/>
|
||||
<area shape="rect" id="node13" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="464,144,520,165"/>
|
||||
<area shape="rect" id="node17" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="629,144,680,165"/>
|
||||
<area shape="rect" id="node15" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="460,213,524,235"/>
|
||||
<area shape="rect" id="node19" href="$hid_8h.html" title="hid.h" alt="" coords="812,144,852,165"/>
|
||||
<area shape="rect" id="node21" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="633,213,687,235"/>
|
||||
<area shape="rect" id="node23" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="880,213,973,235"/>
|
||||
<area shape="rect" id="node27" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="930,144,1000,165"/>
|
||||
<area shape="rect" id="node29" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="1025,144,1089,165"/>
|
||||
<area shape="rect" id="node31" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="1114,144,1173,165"/>
|
||||
<area shape="rect" id="node33" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1198,144,1249,165"/>
|
||||
<area shape="rect" id="node34" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1279,144,1333,165"/>
|
||||
<area shape="rect" id="node36" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="1369,144,1441,165"/>
|
||||
<area shape="rect" id="node38" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="1487,144,1555,165"/>
|
||||
<area shape="rect" id="node4" href="$adk_8cpp.html" title="adk.cpp" alt="" coords="5,213,56,235"/>
|
||||
<area shape="rect" id="node6" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="293,213,347,235"/>
|
||||
<area shape="rect" id="node7" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="81,213,135,235"/>
|
||||
<area shape="rect" id="node9" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="160,213,205,235"/>
|
||||
<area shape="rect" id="node11" href="$_wii_8h.html" title="Wii.h" alt="" coords="229,213,269,235"/>
|
||||
<area shape="rect" id="node8" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="69,283,131,304"/>
|
||||
<area shape="rect" id="node10" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="156,283,209,304"/>
|
||||
<area shape="rect" id="node12" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="233,283,281,304"/>
|
||||
<area shape="rect" id="node14" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="371,213,436,235"/>
|
||||
<area shape="rect" id="node16" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="457,283,529,304"/>
|
||||
<area shape="rect" id="node18" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="550,213,609,235"/>
|
||||
<area shape="rect" id="node20" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="713,213,761,235"/>
|
||||
<area shape="rect" id="node25" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="785,213,857,235"/>
|
||||
<area shape="rect" id="node22" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="629,283,693,304"/>
|
||||
<area shape="rect" id="node24" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="881,283,983,304"/>
|
||||
<area shape="rect" id="node26" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="777,283,857,304"/>
|
||||
<area shape="rect" id="node28" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="999,213,1077,235"/>
|
||||
<area shape="rect" id="node30" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1102,213,1175,235"/>
|
||||
<area shape="rect" id="node32" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1200,213,1269,235"/>
|
||||
<area shape="rect" id="node35" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1293,213,1357,235"/>
|
||||
<area shape="rect" id="node37" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1382,213,1463,235"/>
|
||||
<area shape="rect" id="node6" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="213,213,267,235"/>
|
||||
<area shape="rect" id="node7" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="291,213,345,235"/>
|
||||
<area shape="rect" id="node9" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="80,213,125,235"/>
|
||||
<area shape="rect" id="node11" href="$_wii_8h.html" title="Wii.h" alt="" coords="149,213,189,235"/>
|
||||
<area shape="rect" id="node8" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="287,283,349,304"/>
|
||||
<area shape="rect" id="node10" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="72,283,125,304"/>
|
||||
<area shape="rect" id="node12" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="149,283,197,304"/>
|
||||
<area shape="rect" id="node14" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="370,213,435,235"/>
|
||||
<area shape="rect" id="node16" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="455,283,528,304"/>
|
||||
<area shape="rect" id="node18" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="549,213,608,235"/>
|
||||
<area shape="rect" id="node20" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="808,213,856,235"/>
|
||||
<area shape="rect" id="node25" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="712,213,784,235"/>
|
||||
<area shape="rect" id="node22" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="624,283,688,304"/>
|
||||
<area shape="rect" id="node24" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="876,283,977,304"/>
|
||||
<area shape="rect" id="node26" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="712,283,792,304"/>
|
||||
<area shape="rect" id="node28" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="998,213,1076,235"/>
|
||||
<area shape="rect" id="node30" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="1101,213,1173,235"/>
|
||||
<area shape="rect" id="node32" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="1199,213,1268,235"/>
|
||||
<area shape="rect" id="node35" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1292,213,1356,235"/>
|
||||
<area shape="rect" id="node37" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="1381,213,1461,235"/>
|
||||
<area shape="rect" id="node39" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="1486,213,1561,235"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
76dc9dba3ebd93ea05d113f03fd7c5d2
|
||||
f5c550b54537896a01440e4a9c721ac3
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 59 KiB |
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: address.h Source File</title>
|
||||
<title>USB Host Shield 2.0: address.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -380,7 +380,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: adk.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: adk.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -102,7 +102,7 @@ Include dependency graph for adk.cpp:</div>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: adk.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: adk.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -447,7 +447,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
276
adk_8h.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: adk.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: adk.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -162,143 +162,17 @@ Macros</h2></td></tr>
|
|||
<tr class="separator:ac39da606ffc273bd855152107297d6a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="aa376dd887b57d0628df287dd1fce7f3b"></a>
|
||||
<a class="anchor" id="a37223416b6c1bba6b86ab17211bc9af2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_DESCRIPTION   2</td>
|
||||
<td class="memname">#define ADK_VID   0x18D1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00062">62</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a12e00d6841cbb8fd9ae7c97402efa062"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_MANUFACTURER   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00060">60</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a962954d4b489994aa347721c582fe242"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_MODEL   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00061">61</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a31b2b6ec818e90cd9fe47bd4f7f86c16"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_SERIAL   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00065">65</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0485b5be230520d0acde7ef32fb8210e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_URI   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00064">64</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aab852db9aa38642ad7be827ae95351c5"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_VERSION   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00063">63</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a355cd5e5557b754645d4e1bfffabbf99"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADB_PID   0x2D01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00045">45</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6ebdba027fb7072f681e6445a385e8f2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADK_ACCSTART   53</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00055">55</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4c3e43d4d2955f93260f3e5ffe207e41"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADK_GETPROTO   51</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00053">53</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac39da606ffc273bd855152107297d6a1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADK_MAX_ENDPOINTS   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00067">67</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00043">43</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -314,6 +188,48 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00044">44</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a355cd5e5557b754645d4e1bfffabbf99"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADB_PID   0x2D01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00045">45</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aeb9a797aace2bcf4a9d1f786a632ca4b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XOOM</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00047">47</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4c3e43d4d2955f93260f3e5ffe207e41"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADK_GETPROTO   51</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00053">53</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4ab0e7e3adbc8bfc1bcdf29887c9a455"></a>
|
||||
|
@ -330,17 +246,17 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a37223416b6c1bba6b86ab17211bc9af2"></a>
|
||||
<a class="anchor" id="a6ebdba027fb7072f681e6445a385e8f2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADK_VID   0x18D1</td>
|
||||
<td class="memname">#define ADK_ACCSTART   53</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00043">43</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00055">55</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -372,24 +288,108 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aeb9a797aace2bcf4a9d1f786a632ca4b"></a>
|
||||
<a class="anchor" id="a12e00d6841cbb8fd9ae7c97402efa062"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define XOOM</td>
|
||||
<td class="memname">#define ACCESSORY_STRING_MANUFACTURER   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00047">47</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00060">60</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a962954d4b489994aa347721c582fe242"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_MODEL   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00061">61</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aa376dd887b57d0628df287dd1fce7f3b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_DESCRIPTION   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00062">62</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aab852db9aa38642ad7be827ae95351c5"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_VERSION   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00063">63</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0485b5be230520d0acde7ef32fb8210e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_URI   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00064">64</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a31b2b6ec818e90cd9fe47bd4f7f86c16"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACCESSORY_STRING_SERIAL   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00065">65</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac39da606ffc273bd855152107297d6a1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ADK_MAX_ENDPOINTS   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00067">67</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: adk.h Source File</title>
|
||||
<title>USB Host Shield 2.0: adk.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -237,7 +237,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Class List</title>
|
||||
<title>USB Host Shield 2.0: Class List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -159,13 +159,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<tr id="row_67_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_hub.html" target="_self">USBHub</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_68_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_u_s_b_read_parser.html" target="_self">USBReadParser</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_69_"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_w_i_i.html" target="_self">WII</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_70_" class="even"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_r_e_c_v.html" target="_self">XBOXRECV</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_70_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_r_e_c_v.html" target="_self">XBOXRECV</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_71_"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="class_x_b_o_x_u_s_b.html" target="_self">XBOXUSB</a></td><td class="desc"></td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:26 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: avrpins.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: avrpins.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -105,7 +105,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
|||
<div class="dyncontent">
|
||||
<div class="center"><img src="avrpins_8h__dep__incl.png" border="0" usemap="#avrpins_8hdep" alt=""/></div>
|
||||
<map name="avrpins_8hdep" id="avrpins_8hdep">
|
||||
<area shape="rect" id="node2" href="adk_8h.html" title="adk.h" alt="" coords="270,213,311,235"/><area shape="rect" id="node4" href="usbhost_8h.html" title="usbhost.h" alt="" coords="783,75,840,96"/><area shape="rect" id="node5" href="_usb_8h.html" title="Usb.h" alt="" coords="729,144,772,165"/><area shape="rect" id="node14" href="cdcacm_8h.html" title="cdcacm.h" alt="" coords="139,213,195,235"/><area shape="rect" id="node18" href="cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="335,213,387,235"/><area shape="rect" id="node16" href="cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="95,283,159,304"/><area shape="rect" id="node20" href="hid_8h.html" title="hid.h" alt="" coords="853,213,893,235"/><area shape="rect" id="node22" href="hidboot_8h.html" title="hidboot.h" alt="" coords="1099,283,1153,304"/><area shape="rect" id="node24" href="hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="1179,283,1272,304"/><area shape="rect" id="node28" href="masstorage_8h.html" title="masstorage.h" alt="" coords="1226,213,1296,235"/><area shape="rect" id="node34" href="_usb_8cpp.html" title="Usb.cpp" alt="" coords="1019,213,1071,235"/><area shape="rect" id="node35" href="usbhub_8h.html" title="usbhub.h" alt="" coords="1147,213,1201,235"/><area shape="rect" id="node3" href="adk_8cpp.html" title="adk.cpp" alt="" coords="183,283,233,304"/><area shape="rect" id="node6" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="733,213,779,235"/><area shape="rect" id="node30" href="max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="463,213,527,235"/><area shape="rect" id="node32" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="551,213,611,235"/><area shape="rect" id="node37" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="635,213,708,235"/><area shape="rect" id="node7" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="704,283,757,304"/><area shape="rect" id="node8" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="782,283,836,304"/><area shape="rect" id="node10" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="861,283,907,304"/><area shape="rect" id="node12" href="_wii_8h.html" title="Wii.h" alt="" coords="640,283,680,304"/><area shape="rect" id="node9" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="770,352,832,373"/><area shape="rect" id="node11" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="857,352,911,373"/><area shape="rect" id="node13" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="636,352,684,373"/><area shape="rect" id="node15" href="cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="5,283,69,304"/><area shape="rect" id="node17" href="cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="90,352,163,373"/><area shape="rect" id="node19" href="cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="258,283,317,304"/><area shape="rect" id="node21" href="hid_8cpp.html" title="hid.cpp" alt="" coords="1027,283,1075,304"/><area shape="rect" id="node26" href="hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="931,283,1003,304"/><area shape="rect" id="node23" href="hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="1091,352,1155,373"/><area shape="rect" id="node25" href="hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="1179,352,1280,373"/><area shape="rect" id="node27" href="hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="935,352,1015,373"/><area shape="rect" id="node29" href="masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1385,283,1463,304"/><area shape="rect" id="node31" href="max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="342,283,415,304"/><area shape="rect" id="node33" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="440,283,509,304"/><area shape="rect" id="node36" href="usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1296,283,1360,304"/><area shape="rect" id="node38" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="534,283,615,304"/></map>
|
||||
<area shape="rect" id="node2" href="adk_8h.html" title="adk.h" alt="" coords="110,213,151,235"/><area shape="rect" id="node4" href="usbhost_8h.html" title="usbhost.h" alt="" coords="989,75,1045,96"/><area shape="rect" id="node5" href="_usb_8h.html" title="Usb.h" alt="" coords="871,144,913,165"/><area shape="rect" id="node14" href="cdcacm_8h.html" title="cdcacm.h" alt="" coords="325,213,381,235"/><area shape="rect" id="node18" href="cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="249,213,300,235"/><area shape="rect" id="node16" href="cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="255,283,319,304"/><area shape="rect" id="node20" href="hid_8h.html" title="hid.h" alt="" coords="1164,213,1204,235"/><area shape="rect" id="node22" href="hidboot_8h.html" title="hidboot.h" alt="" coords="1393,283,1447,304"/><area shape="rect" id="node24" href="hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="1472,283,1565,304"/><area shape="rect" id="node28" href="masstorage_8h.html" title="masstorage.h" alt="" coords="1069,213,1139,235"/><area shape="rect" id="node34" href="_usb_8cpp.html" title="Usb.cpp" alt="" coords="1330,213,1381,235"/><area shape="rect" id="node35" href="usbhub_8h.html" title="usbhub.h" alt="" coords="990,213,1044,235"/><area shape="rect" id="node3" href="adk_8cpp.html" title="adk.cpp" alt="" coords="5,283,56,304"/><area shape="rect" id="node6" href="_b_t_d_8h.html" title="BTD.h" alt="" coords="869,213,915,235"/><area shape="rect" id="node30" href="max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="507,213,571,235"/><area shape="rect" id="node32" href="_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="595,213,655,235"/><area shape="rect" id="node37" href="_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="679,213,752,235"/><area shape="rect" id="node39" href="_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="777,213,844,235"/><area shape="rect" id="node7" href="_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="805,283,859,304"/><area shape="rect" id="node8" href="_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="883,283,937,304"/><area shape="rect" id="node10" href="_s_p_p_8h.html" title="SPP.h" alt="" coords="963,283,1008,304"/><area shape="rect" id="node12" href="_wii_8h.html" title="Wii.h" alt="" coords="741,283,781,304"/><area shape="rect" id="node9" href="_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="875,352,937,373"/><area shape="rect" id="node11" href="_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="963,352,1016,373"/><area shape="rect" id="node13" href="_wii_8cpp.html" title="Wii.cpp" alt="" coords="737,352,785,373"/><area shape="rect" id="node15" href="cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="165,283,229,304"/><area shape="rect" id="node17" href="cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="250,352,323,373"/><area shape="rect" id="node19" href="cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="81,283,140,304"/><area shape="rect" id="node21" href="hid_8cpp.html" title="hid.cpp" alt="" coords="1320,283,1368,304"/><area shape="rect" id="node26" href="hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="1224,283,1296,304"/><area shape="rect" id="node23" href="hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="1384,352,1448,373"/><area shape="rect" id="node25" href="hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="1472,352,1573,373"/><area shape="rect" id="node27" href="hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="1220,352,1300,373"/><area shape="rect" id="node29" href="masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1121,283,1199,304"/><area shape="rect" id="node31" href="max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="343,283,416,304"/><area shape="rect" id="node33" href="_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="441,283,511,304"/><area shape="rect" id="node36" href="usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1032,283,1096,304"/><area shape="rect" id="node38" href="_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="535,283,616,304"/><area shape="rect" id="node40" href="_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="641,283,716,304"/></map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="avrpins_8h_source.html">Go to the source code of this file.</a></p>
|
||||
|
@ -235,7 +235,7 @@ Macros</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -1,39 +1,41 @@
|
|||
<map id="avrpins.h" name="avrpins.h">
|
||||
<area shape="rect" id="node2" href="$adk_8h.html" title="adk.h" alt="" coords="270,213,311,235"/>
|
||||
<area shape="rect" id="node4" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="783,75,840,96"/>
|
||||
<area shape="rect" id="node5" href="$_usb_8h.html" title="Usb.h" alt="" coords="729,144,772,165"/>
|
||||
<area shape="rect" id="node14" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="139,213,195,235"/>
|
||||
<area shape="rect" id="node18" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="335,213,387,235"/>
|
||||
<area shape="rect" id="node16" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="95,283,159,304"/>
|
||||
<area shape="rect" id="node20" href="$hid_8h.html" title="hid.h" alt="" coords="853,213,893,235"/>
|
||||
<area shape="rect" id="node22" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="1099,283,1153,304"/>
|
||||
<area shape="rect" id="node24" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="1179,283,1272,304"/>
|
||||
<area shape="rect" id="node28" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="1226,213,1296,235"/>
|
||||
<area shape="rect" id="node34" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1019,213,1071,235"/>
|
||||
<area shape="rect" id="node35" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="1147,213,1201,235"/>
|
||||
<area shape="rect" id="node3" href="$adk_8cpp.html" title="adk.cpp" alt="" coords="183,283,233,304"/>
|
||||
<area shape="rect" id="node6" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="733,213,779,235"/>
|
||||
<area shape="rect" id="node30" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="463,213,527,235"/>
|
||||
<area shape="rect" id="node32" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="551,213,611,235"/>
|
||||
<area shape="rect" id="node37" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="635,213,708,235"/>
|
||||
<area shape="rect" id="node7" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="704,283,757,304"/>
|
||||
<area shape="rect" id="node8" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="782,283,836,304"/>
|
||||
<area shape="rect" id="node10" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="861,283,907,304"/>
|
||||
<area shape="rect" id="node12" href="$_wii_8h.html" title="Wii.h" alt="" coords="640,283,680,304"/>
|
||||
<area shape="rect" id="node9" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="770,352,832,373"/>
|
||||
<area shape="rect" id="node11" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="857,352,911,373"/>
|
||||
<area shape="rect" id="node13" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="636,352,684,373"/>
|
||||
<area shape="rect" id="node15" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="5,283,69,304"/>
|
||||
<area shape="rect" id="node17" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="90,352,163,373"/>
|
||||
<area shape="rect" id="node19" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="258,283,317,304"/>
|
||||
<area shape="rect" id="node21" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="1027,283,1075,304"/>
|
||||
<area shape="rect" id="node26" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="931,283,1003,304"/>
|
||||
<area shape="rect" id="node23" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="1091,352,1155,373"/>
|
||||
<area shape="rect" id="node25" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="1179,352,1280,373"/>
|
||||
<area shape="rect" id="node27" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="935,352,1015,373"/>
|
||||
<area shape="rect" id="node29" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1385,283,1463,304"/>
|
||||
<area shape="rect" id="node31" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="342,283,415,304"/>
|
||||
<area shape="rect" id="node33" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="440,283,509,304"/>
|
||||
<area shape="rect" id="node36" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1296,283,1360,304"/>
|
||||
<area shape="rect" id="node38" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="534,283,615,304"/>
|
||||
<area shape="rect" id="node2" href="$adk_8h.html" title="adk.h" alt="" coords="110,213,151,235"/>
|
||||
<area shape="rect" id="node4" href="$usbhost_8h.html" title="usbhost.h" alt="" coords="989,75,1045,96"/>
|
||||
<area shape="rect" id="node5" href="$_usb_8h.html" title="Usb.h" alt="" coords="871,144,913,165"/>
|
||||
<area shape="rect" id="node14" href="$cdcacm_8h.html" title="cdcacm.h" alt="" coords="325,213,381,235"/>
|
||||
<area shape="rect" id="node18" href="$cdcftdi_8h.html" title="cdcftdi.h" alt="" coords="249,213,300,235"/>
|
||||
<area shape="rect" id="node16" href="$cdcprolific_8h.html" title="cdcprolific.h" alt="" coords="255,283,319,304"/>
|
||||
<area shape="rect" id="node20" href="$hid_8h.html" title="hid.h" alt="" coords="1164,213,1204,235"/>
|
||||
<area shape="rect" id="node22" href="$hidboot_8h.html" title="hidboot.h" alt="" coords="1393,283,1447,304"/>
|
||||
<area shape="rect" id="node24" href="$hidescriptorparser_8h.html" title="hidescriptorparser.h" alt="" coords="1472,283,1565,304"/>
|
||||
<area shape="rect" id="node28" href="$masstorage_8h.html" title="masstorage.h" alt="" coords="1069,213,1139,235"/>
|
||||
<area shape="rect" id="node34" href="$_usb_8cpp.html" title="Usb.cpp" alt="" coords="1330,213,1381,235"/>
|
||||
<area shape="rect" id="node35" href="$usbhub_8h.html" title="usbhub.h" alt="" coords="990,213,1044,235"/>
|
||||
<area shape="rect" id="node3" href="$adk_8cpp.html" title="adk.cpp" alt="" coords="5,283,56,304"/>
|
||||
<area shape="rect" id="node6" href="$_b_t_d_8h.html" title="BTD.h" alt="" coords="869,213,915,235"/>
|
||||
<area shape="rect" id="node30" href="$max___l_c_d_8h.html" title="max_LCD.h" alt="" coords="507,213,571,235"/>
|
||||
<area shape="rect" id="node32" href="$_p_s3_u_s_b_8h.html" title="PS3USB.h" alt="" coords="595,213,655,235"/>
|
||||
<area shape="rect" id="node37" href="$_x_b_o_x_r_e_c_v_8h.html" title="XBOXRECV.h" alt="" coords="679,213,752,235"/>
|
||||
<area shape="rect" id="node39" href="$_x_b_o_x_u_s_b_8h.html" title="XBOXUSB.h" alt="" coords="777,213,844,235"/>
|
||||
<area shape="rect" id="node7" href="$_b_t_d_8cpp.html" title="BTD.cpp" alt="" coords="805,283,859,304"/>
|
||||
<area shape="rect" id="node8" href="$_p_s3_b_t_8h.html" title="PS3BT.h" alt="" coords="883,283,937,304"/>
|
||||
<area shape="rect" id="node10" href="$_s_p_p_8h.html" title="SPP.h" alt="" coords="963,283,1008,304"/>
|
||||
<area shape="rect" id="node12" href="$_wii_8h.html" title="Wii.h" alt="" coords="741,283,781,304"/>
|
||||
<area shape="rect" id="node9" href="$_p_s3_b_t_8cpp.html" title="PS3BT.cpp" alt="" coords="875,352,937,373"/>
|
||||
<area shape="rect" id="node11" href="$_s_p_p_8cpp.html" title="SPP.cpp" alt="" coords="963,352,1016,373"/>
|
||||
<area shape="rect" id="node13" href="$_wii_8cpp.html" title="Wii.cpp" alt="" coords="737,352,785,373"/>
|
||||
<area shape="rect" id="node15" href="$cdcacm_8cpp.html" title="cdcacm.cpp" alt="" coords="165,283,229,304"/>
|
||||
<area shape="rect" id="node17" href="$cdcprolific_8cpp.html" title="cdcprolific.cpp" alt="" coords="250,352,323,373"/>
|
||||
<area shape="rect" id="node19" href="$cdcftdi_8cpp.html" title="cdcftdi.cpp" alt="" coords="81,283,140,304"/>
|
||||
<area shape="rect" id="node21" href="$hid_8cpp.html" title="hid.cpp" alt="" coords="1320,283,1368,304"/>
|
||||
<area shape="rect" id="node26" href="$hiduniversal_8h.html" title="hiduniversal.h" alt="" coords="1224,283,1296,304"/>
|
||||
<area shape="rect" id="node23" href="$hidboot_8cpp.html" title="hidboot.cpp" alt="" coords="1384,352,1448,373"/>
|
||||
<area shape="rect" id="node25" href="$hidescriptorparser_8cpp.html" title="hidescriptorparser.cpp" alt="" coords="1472,352,1573,373"/>
|
||||
<area shape="rect" id="node27" href="$hiduniversal_8cpp.html" title="hiduniversal.cpp" alt="" coords="1220,352,1300,373"/>
|
||||
<area shape="rect" id="node29" href="$masstorage_8cpp.html" title="masstorage.cpp" alt="" coords="1121,283,1199,304"/>
|
||||
<area shape="rect" id="node31" href="$max___l_c_d_8cpp.html" title="max_LCD.cpp" alt="" coords="343,283,416,304"/>
|
||||
<area shape="rect" id="node33" href="$_p_s3_u_s_b_8cpp.html" title="PS3USB.cpp" alt="" coords="441,283,511,304"/>
|
||||
<area shape="rect" id="node36" href="$usbhub_8cpp.html" title="usbhub.cpp" alt="" coords="1032,283,1096,304"/>
|
||||
<area shape="rect" id="node38" href="$_x_b_o_x_r_e_c_v_8cpp.html" title="XBOXRECV.cpp" alt="" coords="535,283,616,304"/>
|
||||
<area shape="rect" id="node40" href="$_x_b_o_x_u_s_b_8cpp.html" title="XBOXUSB.cpp" alt="" coords="641,283,716,304"/>
|
||||
</map>
|
||||
|
|
|
@ -1 +1 @@
|
|||
50924a4e374ee6c33035ac5121ff7de7
|
||||
daae9e094c4a346d02a8ba84b3656342
|
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 139 KiB |
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: avrpins.h Source File</title>
|
||||
<title>USB Host Shield 2.0: avrpins.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -799,7 +799,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcacm.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: cdcacm.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -102,7 +102,7 @@ Include dependency graph for cdcacm.cpp:</div>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcacm.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: cdcacm.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -451,7 +451,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
588
cdcacm_8h.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcacm.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: cdcacm.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -256,31 +256,17 @@ Typedefs</h2></td></tr>
|
|||
<tr class="separator:acc87178a3e9b6aa98c5bf6aa99c68ef7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="aa11e629b02a0cd7d768f796732cb2694"></a>
|
||||
<a class="anchor" id="a5797aa38c730dde78bf3181282bd6bf9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACM_MAX_ENDPOINTS   4</td>
|
||||
<td class="memname">#define bmREQ_CDCOUT   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00160">160</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac79c185e34b15634c1ba5d15eb8c831c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define AUX_JACK_HOOK_STATE   0x08</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00095">95</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00040">40</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -298,185 +284,171 @@ Typedefs</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a5797aa38c730dde78bf3181282bd6bf9"></a>
|
||||
<a class="anchor" id="a9d555a2c20cdda9166df1f1a0deb2fe6"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmREQ_CDCOUT   <a class="el" href="usb__ch9_8h.html#a610dad02930a3061c746f84885e1e11e">USB_SETUP_HOST_TO_DEVICE</a>|<a class="el" href="usb__ch9_8h.html#acf3fd30992e9fe01f1bac9aaa7fea61b">USB_SETUP_TYPE_CLASS</a>|<a class="el" href="usb__ch9_8h.html#a59754621c21db801e11513ba06a3a02e">USB_SETUP_RECIPIENT_INTERFACE</a></td>
|
||||
<td class="memname">#define CDC_SUBCLASS_DLCM   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00040">40</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00044">44</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a16e45b21be9797a7190330fd10bc1b07"></a>
|
||||
<a class="anchor" id="acce3aedc4473cc5526efc16448b89221"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CALL_STATE_CHANGE   0x28</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_ACM   0x02</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00098">98</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00045">45</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6c79b8666110840333ad3785bf7ce87c"></a>
|
||||
<a class="anchor" id="a8e66107828e9b10a8b37823cb4436209"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_CLEAR_COMM_FEATURE   0x04</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_TCM   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00073">73</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00046">46</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4d1029757801882e8d6589c05a3c41db"></a>
|
||||
<a class="anchor" id="a279c0e93e9cf1c328e9551e62ebdc342"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_DIAL_DIGITS   0x36</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_MCCM   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00090">90</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00047">47</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad0912dac888d01142b225b0c6f8a508f"></a>
|
||||
<a class="anchor" id="ab35e4890d2a9820b89f17d86e63e6a30"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_GET_COMM_FEATURE   0x03</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_CAPI   0x05</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00072">72</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00048">48</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6170632c774a3163b5a9927cc4e960ec"></a>
|
||||
<a class="anchor" id="aad198585b3a333441d39c04c9a6f8dfc"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_GET_ENCAPSULATED_RESPONSE   0x01</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_ETHERNET   0x06</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00068">68</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00049">49</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1068ab45668e413d964a01bc36fa2d43"></a>
|
||||
<a class="anchor" id="af1a7d3d1e1dd78003500d6fccd205461"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_GET_LINE_CODING   0x21</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_ATM   0x07</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00081">81</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00050">50</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a725da0e1d595c7aebacb9fa3df4d7231"></a>
|
||||
<a class="anchor" id="ad331bb2702e65696ca33c2d933ab2d73"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_GET_LINE_PARMS   0x35</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_WIRELESS_HANDSET   0x08</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00089">89</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00051">51</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a257e7150670c8cc0b1d90c8f19c36b38"></a>
|
||||
<a class="anchor" id="a27674e866e3a2422d8fc38b873f19723"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_GET_OPERATION_PARMS   0x33</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_DEVICE_MANAGEMENT   0x09</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00087">87</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00052">52</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7a17ca0755e655bd1fe6ac97b68ec10f"></a>
|
||||
<a class="anchor" id="a110580c0368ed8a8d657e6812fa5cffe"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_GET_RINGER_PARMS   0x31</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_MOBILE_DIRECT_LINE   0x0A</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00085">85</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00053">53</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0cdc3e66270e78dc62f6fdab6806e4ac"></a>
|
||||
<a class="anchor" id="ab1094071380f381e0b8b88d240aedd03"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_PROTOCOL_3GPP_27_07   0x05</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_OBEX   0x0B</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00062">62</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00054">54</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a25dc8a5a03fa46bc6d18be73a318b725"></a>
|
||||
<a class="anchor" id="a6ef074fafbca12dadc97de1511563629"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_PROTOCOL_C_S0017_0   0x06</td>
|
||||
<td class="memname">#define CDC_SUBCLASS_ETHERNET_EMU   0x0C</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00063">63</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a74f58c97749d65adfcf0d8fcd8739713"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_PROTOCOL_GSM_7_07   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00061">61</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00055">55</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -520,6 +492,48 @@ Typedefs</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00060">60</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a74f58c97749d65adfcf0d8fcd8739713"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_PROTOCOL_GSM_7_07   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00061">61</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0cdc3e66270e78dc62f6fdab6806e4ac"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_PROTOCOL_3GPP_27_07   0x05</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00062">62</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a25dc8a5a03fa46bc6d18be73a318b725"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_PROTOCOL_C_S0017_0   0x06</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00063">63</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae0e669ccb182282b45af577b84ea190f"></a>
|
||||
|
@ -534,48 +548,6 @@ Typedefs</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00064">64</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aab5439915442bd5b835d7c755ba5fec1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_PULSE_SETUP   0x12</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00076">76</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a763f022025ebdaa3e6fb3dd6b5bef118"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_RING_AUX_JACK   0x15</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00079">79</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a868c480caf0abda6b458c82281dda8ad"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SEND_BREAK   0x23</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00083">83</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7aaa245703a0a2191c27697715f3727c"></a>
|
||||
|
@ -592,31 +564,17 @@ Typedefs</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af83535db4560a2fa52c72571f914dfc1"></a>
|
||||
<a class="anchor" id="a6170632c774a3163b5a9927cc4e960ec"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SEND_PULSE   0x13</td>
|
||||
<td class="memname">#define CDC_GET_ENCAPSULATED_RESPONSE   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00077">77</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac39a42b128864ba4fae224be0078adba"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_AUX_LINE_STATE   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00074">74</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00068">68</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -634,17 +592,45 @@ Typedefs</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11c392243dec4d03970f1eaa1f8053ae"></a>
|
||||
<a class="anchor" id="ad0912dac888d01142b225b0c6f8a508f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_CONTROL_LINE_STATE   0x22</td>
|
||||
<td class="memname">#define CDC_GET_COMM_FEATURE   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00082">82</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00072">72</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6c79b8666110840333ad3785bf7ce87c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_CLEAR_COMM_FEATURE   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00073">73</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac39a42b128864ba4fae224be0078adba"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_AUX_LINE_STATE   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00074">74</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -662,45 +648,31 @@ Typedefs</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad07ce089c8757b8d2ff37ddd83dc9351"></a>
|
||||
<a class="anchor" id="aab5439915442bd5b835d7c755ba5fec1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_LINE_CODING   0x20</td>
|
||||
<td class="memname">#define CDC_PULSE_SETUP   0x12</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00080">80</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00076">76</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a74433e0421d2cfd59982db6417a8ea41"></a>
|
||||
<a class="anchor" id="af83535db4560a2fa52c72571f914dfc1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_LINE_PARMS   0x34</td>
|
||||
<td class="memname">#define CDC_SEND_PULSE   0x13</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00088">88</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a437557c6adb23d8cdde7842b62a03a21"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_OPERATION_PARMS   0x32</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00086">86</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00077">77</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -716,6 +688,76 @@ Typedefs</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00078">78</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a763f022025ebdaa3e6fb3dd6b5bef118"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_RING_AUX_JACK   0x15</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00079">79</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad07ce089c8757b8d2ff37ddd83dc9351"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_LINE_CODING   0x20</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00080">80</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1068ab45668e413d964a01bc36fa2d43"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_GET_LINE_CODING   0x21</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00081">81</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a11c392243dec4d03970f1eaa1f8053ae"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SET_CONTROL_LINE_STATE   0x22</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00082">82</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a868c480caf0abda6b458c82281dda8ad"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SEND_BREAK   0x23</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00083">83</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aacceff07ade4b94b3c924d4f4ad6b139"></a>
|
||||
|
@ -732,199 +774,87 @@ Typedefs</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acce3aedc4473cc5526efc16448b89221"></a>
|
||||
<a class="anchor" id="a7a17ca0755e655bd1fe6ac97b68ec10f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_ACM   0x02</td>
|
||||
<td class="memname">#define CDC_GET_RINGER_PARMS   0x31</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00045">45</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00085">85</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af1a7d3d1e1dd78003500d6fccd205461"></a>
|
||||
<a class="anchor" id="a437557c6adb23d8cdde7842b62a03a21"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_ATM   0x07</td>
|
||||
<td class="memname">#define CDC_SET_OPERATION_PARMS   0x32</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00050">50</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00086">86</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab35e4890d2a9820b89f17d86e63e6a30"></a>
|
||||
<a class="anchor" id="a257e7150670c8cc0b1d90c8f19c36b38"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_CAPI   0x05</td>
|
||||
<td class="memname">#define CDC_GET_OPERATION_PARMS   0x33</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00048">48</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00087">87</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a27674e866e3a2422d8fc38b873f19723"></a>
|
||||
<a class="anchor" id="a74433e0421d2cfd59982db6417a8ea41"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_DEVICE_MANAGEMENT   0x09</td>
|
||||
<td class="memname">#define CDC_SET_LINE_PARMS   0x34</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00052">52</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00088">88</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9d555a2c20cdda9166df1f1a0deb2fe6"></a>
|
||||
<a class="anchor" id="a725da0e1d595c7aebacb9fa3df4d7231"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_DLCM   0x01</td>
|
||||
<td class="memname">#define CDC_GET_LINE_PARMS   0x35</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00044">44</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00089">89</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aad198585b3a333441d39c04c9a6f8dfc"></a>
|
||||
<a class="anchor" id="a4d1029757801882e8d6589c05a3c41db"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_ETHERNET   0x06</td>
|
||||
<td class="memname">#define CDC_DIAL_DIGITS   0x36</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00049">49</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6ef074fafbca12dadc97de1511563629"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_ETHERNET_EMU   0x0C</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00055">55</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a279c0e93e9cf1c328e9551e62ebdc342"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_MCCM   0x04</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00047">47</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a110580c0368ed8a8d657e6812fa5cffe"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_MOBILE_DIRECT_LINE   0x0A</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00053">53</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab1094071380f381e0b8b88d240aedd03"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_OBEX   0x0B</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00054">54</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8e66107828e9b10a8b37823cb4436209"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_TCM   0x03</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00046">46</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad331bb2702e65696ca33c2d933ab2d73"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CDC_SUBCLASS_WIRELESS_HANDSET   0x08</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00051">51</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0bf4e444b84f8ab8bb1b3dfe16dc93de"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CONNECTION_SPEED_CHANGE   0x2a</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00100">100</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0a06858faca59d300fbadd0e37e312c9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LINE_STATE_CHANGE   0x29</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00099">99</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00090">90</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -954,6 +884,20 @@ Typedefs</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00094">94</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac79c185e34b15634c1ba5d15eb8c831c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define AUX_JACK_HOOK_STATE   0x08</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00095">95</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a83130a0c72dea5b783134e28665628ee"></a>
|
||||
|
@ -982,6 +926,62 @@ Typedefs</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00097">97</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a16e45b21be9797a7190330fd10bc1b07"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CALL_STATE_CHANGE   0x28</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00098">98</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0a06858faca59d300fbadd0e37e312c9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LINE_STATE_CHANGE   0x29</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00099">99</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0bf4e444b84f8ab8bb1b3dfe16dc93de"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CONNECTION_SPEED_CHANGE   0x2a</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00100">100</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aa11e629b02a0cd7d768f796732cb2694"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ACM_MAX_ENDPOINTS   4</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcacm_8h_source.html#l00160">160</a> of file <a class="el" href="cdcacm_8h_source.html">cdcacm.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
|
@ -995,6 +995,18 @@ Typedefs</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad377d3305b15e93acb1e0799ee7c3972"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef struct <a class="el" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html">ACM_FUNC_DESCR</a> <a class="el" href="cdcacm_8h.html#ad377d3305b15e93acb1e0799ee7c3972">TEL_OPER_MODES_FUNC_DESCR</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acc87178a3e9b6aa98c5bf6aa99c68ef7"></a>
|
||||
|
@ -1008,24 +1020,12 @@ Typedefs</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad377d3305b15e93acb1e0799ee7c3972"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef struct <a class="el" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html">ACM_FUNC_DESCR</a> <a class="el" href="cdcacm_8h.html#ad377d3305b15e93acb1e0799ee7c3972">TEL_OPER_MODES_FUNC_DESCR</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcacm.h Source File</title>
|
||||
<title>USB Host Shield 2.0: cdcacm.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -303,7 +303,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcftdi.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: cdcftdi.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -102,7 +102,7 @@ Include dependency graph for cdcftdi.cpp:</div>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcftdi.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: cdcftdi.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -440,7 +440,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
530
cdcftdi_8h.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcftdi.h File Reference</title>
|
||||
<title>USB Host Shield 2.0: cdcftdi.h File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -218,20 +218,6 @@ Macros</h2></td></tr>
|
|||
<tr class="separator:a9d25344c78c7608f2e49de9767abd0d9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a class="anchor" id="a092495a2ea836801135650787513da8c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define bmREQ_FTDI_IN   0xc0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00041">41</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a92ff48c614d1c236c34d7b2dc4d28ad2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
|
@ -246,17 +232,45 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a139af590edc937741d109cc0d8150bcb"></a>
|
||||
<a class="anchor" id="a092495a2ea836801135650787513da8c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FT2232   0x0500</td>
|
||||
<td class="memname">#define bmREQ_FTDI_IN   0xc0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00051">51</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00041">41</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4462aa466c5ff32a8106849d347e9b24"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_VID   0x0403</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00046">46</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a38bbee602455b866024aa7a03c6cefb7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_PID   0x6001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00047">47</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -286,6 +300,20 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00050">50</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a139af590edc937741d109cc0d8150bcb"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FT2232   0x0500</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00051">51</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abc93995e54d77a8f602ff23b72cda110"></a>
|
||||
|
@ -302,101 +330,17 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9d25344c78c7608f2e49de9767abd0d9"></a>
|
||||
<a class="anchor" id="a0c4ac1b95162aa3c959931bc46aa762c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_MAX_ENDPOINTS   3</td>
|
||||
<td class="memname">#define FTDI_SIO_RESET   0 /* Reset the port */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00106">106</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a38bbee602455b866024aa7a03c6cefb7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_PID   0x6001</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00047">47</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a91bed54fb7aa0e99449effed2e330822"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_CTS_MASK   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00090">90</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7d0d35ef22b504afd608531c8e5275a0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_DISABLE_FLOW_CTRL   0x0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00085">85</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3c495d7b1e010aa66a68066307c636dd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_DSR_MASK   0x20</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00091">91</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6e9fa56460716bc7bd0beea4d7a3fe19"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_DTR_DSR_HS   (0x2 << 8)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00087">87</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fb2b825dd0fd02df1df0d4667758f11"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_GET_MODEM_STATUS   5 /* Retrieve current value of modem status register */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00060">60</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00055">55</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -414,17 +358,101 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a0c4ac1b95162aa3c959931bc46aa762c"></a>
|
||||
<a class="anchor" id="abdb21a829e0aca82178834602e34be7f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RESET   0 /* Reset the port */</td>
|
||||
<td class="memname">#define FTDI_SIO_SET_FLOW_CTRL   2 /* Set flow control register */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00055">55</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00057">57</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aeb562ba85606fa0e08fc188705098f0d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_BAUD_RATE   3 /* Set baud rate */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00058">58</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac7603bf715c4b1281f8e5907d0a61e0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_DATA   4 /* Set the data characteristics of the port */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00059">59</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9fb2b825dd0fd02df1df0d4667758f11"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_GET_MODEM_STATUS   5 /* Retrieve current value of modem status register */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00060">60</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af9f8c0df356ae4c9cf44656ea7c9ed5d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_EVENT_CHAR   6 /* Set the event character */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00061">61</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="adf6c6c6c120d42411c243936e177f3f7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_ERROR_CHAR   7 /* Set the error character */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00062">62</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a184292199f79a3982b4a563504afe7c4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RESET_SIO   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00064">64</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -456,101 +484,31 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a184292199f79a3982b4a563504afe7c4"></a>
|
||||
<a class="anchor" id="a1d3b7a2a5e8a5cb449ced0025c5304e3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RESET_SIO   0</td>
|
||||
<td class="memname">#define FTDI_SIO_SET_DATA_PARITY_NONE   (0x0 << 8 )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00064">64</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00068">68</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad817d85eb0f62257585caf7bb556aafb"></a>
|
||||
<a class="anchor" id="a3b8f65480530dc9a12240655a77a23e6"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RI_MASK   0x40</td>
|
||||
<td class="memname">#define FTDI_SIO_SET_DATA_PARITY_ODD   (0x1 << 8 )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00092">92</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aeb09e7783acb50bd02981ce387ef8e7e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RLSD_MASK   0x80</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00093">93</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af5cdb59ccbb8eba190eca16cb74bddcb"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RTS_CTS_HS   (0x1 << 8)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00086">86</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aeb562ba85606fa0e08fc188705098f0d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_BAUD_RATE   3 /* Set baud rate */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00058">58</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a05cebcdf1d7563fe77df8f1a0280086d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_BREAK   (0x1 << 14)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00076">76</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac7603bf715c4b1281f8e5907d0a61e0f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_DATA   4 /* Set the data characteristics of the port */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00059">59</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00069">69</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -580,34 +538,6 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00071">71</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1d3b7a2a5e8a5cb449ced0025c5304e3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_DATA_PARITY_NONE   (0x0 << 8 )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00068">68</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3b8f65480530dc9a12240655a77a23e6"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_DATA_PARITY_ODD   (0x1 << 8 )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00069">69</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab0c4afbaade6efa1f36ada212e4e5fc7"></a>
|
||||
|
@ -664,6 +594,34 @@ Macros</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00075">75</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a05cebcdf1d7563fe77df8f1a0280086d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_BREAK   (0x1 << 14)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00076">76</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="adf02c870aee2747263e4bad434f3ee92"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_DTR_MASK   0x1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00078">78</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6f781cb804f9754fe91ca90b78821482"></a>
|
||||
|
@ -694,59 +652,17 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="adf02c870aee2747263e4bad434f3ee92"></a>
|
||||
<a class="anchor" id="affb7aa2801805beaa49dbc5ca8793fd8"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_DTR_MASK   0x1</td>
|
||||
<td class="memname">#define FTDI_SIO_SET_RTS_MASK   0x2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00078">78</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="adf6c6c6c120d42411c243936e177f3f7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_ERROR_CHAR   7 /* Set the error character */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00062">62</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af9f8c0df356ae4c9cf44656ea7c9ed5d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_EVENT_CHAR   6 /* Set the event character */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00061">61</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="abdb21a829e0aca82178834602e34be7f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_FLOW_CTRL   2 /* Set flow control register */</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00057">57</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00081">81</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -778,17 +694,45 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="affb7aa2801805beaa49dbc5ca8793fd8"></a>
|
||||
<a class="anchor" id="a7d0d35ef22b504afd608531c8e5275a0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_SET_RTS_MASK   0x2</td>
|
||||
<td class="memname">#define FTDI_SIO_DISABLE_FLOW_CTRL   0x0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00081">81</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00085">85</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af5cdb59ccbb8eba190eca16cb74bddcb"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RTS_CTS_HS   (0x1 << 8)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00086">86</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a6e9fa56460716bc7bd0beea4d7a3fe19"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_DTR_DSR_HS   (0x2 << 8)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00087">87</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -806,24 +750,80 @@ Macros</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a4462aa466c5ff32a8106849d347e9b24"></a>
|
||||
<a class="anchor" id="a91bed54fb7aa0e99449effed2e330822"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_VID   0x0403</td>
|
||||
<td class="memname">#define FTDI_SIO_CTS_MASK   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00046">46</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00090">90</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3c495d7b1e010aa66a68066307c636dd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_DSR_MASK   0x20</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00091">91</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ad817d85eb0f62257585caf7bb556aafb"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RI_MASK   0x40</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00092">92</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aeb09e7783acb50bd02981ce387ef8e7e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_SIO_RLSD_MASK   0x80</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00093">93</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a9d25344c78c7608f2e49de9767abd0d9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define FTDI_MAX_ENDPOINTS   3</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="cdcftdi_8h_source.html#l00106">106</a> of file <a class="el" href="cdcftdi_8h_source.html">cdcftdi.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcftdi.h Source File</title>
|
||||
<title>USB Host Shield 2.0: cdcftdi.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -242,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcprolific.cpp File Reference</title>
|
||||
<title>USB Host Shield 2.0: cdcprolific.cpp File Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -102,7 +102,7 @@ Include dependency graph for cdcprolific.cpp:</div>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcprolific.cpp Source File</title>
|
||||
<title>USB Host Shield 2.0: cdcprolific.cpp Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -335,7 +335,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: cdcprolific.h Source File</title>
|
||||
<title>USB Host Shield 2.0: cdcprolific.h Source File</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -270,7 +270,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:24 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
938
class_a_c_m.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
502
class_a_d_k.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: ADK Class Reference</title>
|
||||
<title>USB Host Shield 2.0: ADK Class Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -221,6 +221,238 @@ Static Protected Attributes</h2></td></tr>
|
|||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="ac4bd3303b99921289c3f59e2df219e50"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void ADK::PrintEndpointDescriptor </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> * </td>
|
||||
<td class="paramname"><em>ep_ptr</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00339">339</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a66b9943dfa89f783a8cdeb655e6fe9b1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::RcvData </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t * </td>
|
||||
<td class="paramname"><em>nbytesptr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t * </td>
|
||||
<td class="paramname"><em>dataptr</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00327">327</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac37bde02b6ed1436712d3619afb07c84"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::SndData </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>nbytes</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t * </td>
|
||||
<td class="paramname"><em>dataptr</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00334">334</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8c5c2e212c748966ccd863499d202063"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::Init </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>parent</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>port</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>lowspeed</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#a391dc824a3271671890cebeb829b35ed">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00062">62</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7f64af34d7890f87ceab5d144f6c26ef"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::Release </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#a74c06c5fe641b20faeeebd39e33248b3">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00316">316</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af3784434ee6a1c6f3dc5b591f467e703"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual uint8_t ADK::Poll </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#a4961e92df3e75c38e6953fb08b11f8b6">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00120">120</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1a972e8dc98b60ab27528db3af2618c3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual uint8_t ADK::GetAddress </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#aae3130517514c902bad5f153849b3811">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00121">121</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1dee02856625dfcac4b0cdd4e8672cef"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual bool ADK::isReady </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00122">122</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aac2fac5410faea0e439b4f7e688b3d75"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
|
@ -277,7 +509,8 @@ Static Protected Attributes</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1a972e8dc98b60ab27528db3af2618c3"></a>
|
||||
<h2 class="groupheader">Member Data Documentation</h2>
|
||||
<a class="anchor" id="a964ec80ac133bf8d65cf0274e37b29da"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
|
@ -285,26 +518,21 @@ Static Protected Attributes</h2></td></tr>
|
|||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual uint8_t ADK::GetAddress </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
<td class="memname">const uint8_t ADK::epDataInIndex = 1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#aae3130517514c902bad5f153849b3811">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00121">121</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00088">88</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a8c5c2e212c748966ccd863499d202063"></a>
|
||||
<a class="anchor" id="acfc5a7e45f15bba7ff8cd42552796624"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
|
@ -312,43 +540,21 @@ Static Protected Attributes</h2></td></tr>
|
|||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::Init </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>parent</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>port</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>lowspeed</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
<td class="memname">const uint8_t ADK::epDataOutIndex = 2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||||
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#a391dc824a3271671890cebeb829b35ed">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00062">62</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00089">89</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a1dee02856625dfcac4b0cdd4e8672cef"></a>
|
||||
<a class="anchor" id="ab28e3a19569c27f3ed5362e9800065c1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
|
@ -356,63 +562,7 @@ Static Protected Attributes</h2></td></tr>
|
|||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual bool ADK::isReady </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00122">122</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="af3784434ee6a1c6f3dc5b591f467e703"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual uint8_t ADK::Poll </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#a4961e92df3e75c38e6953fb08b11f8b6">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00120">120</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac4bd3303b99921289c3f59e2df219e50"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void ADK::PrintEndpointDescriptor </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="el" href="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r.html">USB_ENDPOINT_DESCRIPTOR</a> * </td>
|
||||
<td class="paramname"><em>ep_ptr</em></td><td>)</td>
|
||||
<td></td>
|
||||
<td class="memname"><a class="el" href="class_u_s_b.html">USB</a>* ADK::pUsb</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
@ -422,94 +572,10 @@ Static Protected Attributes</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00339">339</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00092">92</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a66b9943dfa89f783a8cdeb655e6fe9b1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::RcvData </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t * </td>
|
||||
<td class="paramname"><em>nbytesptr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t * </td>
|
||||
<td class="paramname"><em>dataptr</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00327">327</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a7f64af34d7890f87ceab5d144f6c26ef"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::Release </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_u_s_b_device_config.html#a74c06c5fe641b20faeeebd39e33248b3">USBDeviceConfig</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00316">316</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ac37bde02b6ed1436712d3619afb07c84"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint8_t ADK::SndData </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>nbytes</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t * </td>
|
||||
<td class="paramname"><em>dataptr</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8cpp_source.html#l00334">334</a> of file <a class="el" href="adk_8cpp_source.html">adk.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Data Documentation</h2>
|
||||
<a class="anchor" id="ab22a7c60cec56823727d4ff2cf2c4edf"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
|
@ -576,7 +642,7 @@ Static Protected Attributes</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a964ec80ac133bf8d65cf0274e37b29da"></a>
|
||||
<a class="anchor" id="a135db75b9e8cdd59b89f46c44dd83dd4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
|
@ -584,39 +650,17 @@ Static Protected Attributes</h2></td></tr>
|
|||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint8_t ADK::epDataInIndex = 1</td>
|
||||
<td class="memname">bool ADK::ready</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00088">88</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="acfc5a7e45f15bba7ff8cd42552796624"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint8_t ADK::epDataOutIndex = 2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00089">89</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00097">97</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -640,50 +684,6 @@ Static Protected Attributes</h2></td></tr>
|
|||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00100">100</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ab28e3a19569c27f3ed5362e9800065c1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="class_u_s_b.html">USB</a>* ADK::pUsb</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00092">92</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a135db75b9e8cdd59b89f46c44dd83dd4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool ADK::ready</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="adk_8h_source.html#l00097">97</a> of file <a class="el" href="adk_8h_source.html">adk.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following files:<ul>
|
||||
|
@ -693,7 +693,7 @@ Static Protected Attributes</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: AddressPool Class Reference</title>
|
||||
<title>USB Host Shield 2.0: AddressPool Class Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -113,6 +113,32 @@ Public Member Functions</h2></td></tr>
|
|||
<div class="textblock">
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00087">87</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="aa92d7e8f0f515340ae2dc1679b627056"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual <a class="el" href="struct_usb_device.html">UsbDevice</a>* AddressPool::GetUsbDevicePtr </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>addr</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implemented in <a class="el" href="class_address_pool_impl.html#aa3e12dda249ef6acbb27592fc8fe1cba">AddressPoolImpl< MAX_DEVICES_ALLOWED ></a>, and <a class="el" href="class_address_pool_impl.html#aa3e12dda249ef6acbb27592fc8fe1cba">AddressPoolImpl< USB_NUMDEVICES ></a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a97df4ef42e50960ce2165f4cdb53e590"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
|
@ -179,32 +205,6 @@ Public Member Functions</h2></td></tr>
|
|||
|
||||
<p>Implemented in <a class="el" href="class_address_pool_impl.html#a3d59841faa336c359b0736ca45988ce5">AddressPoolImpl< MAX_DEVICES_ALLOWED ></a>, and <a class="el" href="class_address_pool_impl.html#a3d59841faa336c359b0736ca45988ce5">AddressPoolImpl< USB_NUMDEVICES ></a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aa92d7e8f0f515340ae2dc1679b627056"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual <a class="el" href="struct_usb_device.html">UsbDevice</a>* AddressPool::GetUsbDevicePtr </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>addr</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implemented in <a class="el" href="class_address_pool_impl.html#aa3e12dda249ef6acbb27592fc8fe1cba">AddressPoolImpl< MAX_DEVICES_ALLOWED ></a>, and <a class="el" href="class_address_pool_impl.html#aa3e12dda249ef6acbb27592fc8fe1cba">AddressPoolImpl< USB_NUMDEVICES ></a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
|
@ -213,7 +213,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: AddressPoolImpl< MAX_DEVICES_ALLOWED > Class Template Reference</title>
|
||||
<title>USB Host Shield 2.0: AddressPoolImpl< MAX_DEVICES_ALLOWED > Class Template Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -155,6 +155,64 @@ template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
|||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="aa3e12dda249ef6acbb27592fc8fe1cba"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual <a class="el" href="struct_usb_device.html">UsbDevice</a>* <a class="el" href="class_address_pool_impl.html">AddressPoolImpl</a>< MAX_DEVICES_ALLOWED >::GetUsbDevicePtr </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>addr</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00182">182</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a09e6dc797f82543eba0879369116182e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="class_address_pool_impl.html">AddressPoolImpl</a>< MAX_DEVICES_ALLOWED >::ForEachUsbDevice </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a> </td>
|
||||
<td class="paramname"><em>pfunc</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00193">193</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a14657183c73c631754b31bd0cc588c87"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
|
@ -199,34 +257,6 @@ template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
|||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00203">203</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a09e6dc797f82543eba0879369116182e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="class_address_pool_impl.html">AddressPoolImpl</a>< MAX_DEVICES_ALLOWED >::ForEachUsbDevice </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="address_8h.html#a90edb051235924cb5280032df397f393">UsbDeviceHandleFunc</a> </td>
|
||||
<td class="paramname"><em>pfunc</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00193">193</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a3d59841faa336c359b0736ca45988ce5"></a>
|
||||
|
@ -257,36 +287,6 @@ template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
|||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00259">259</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="aa3e12dda249ef6acbb27592fc8fe1cba"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual <a class="el" href="struct_usb_device.html">UsbDevice</a>* <a class="el" href="class_address_pool_impl.html">AddressPoolImpl</a>< MAX_DEVICES_ALLOWED >::GetUsbDevicePtr </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>addr</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Implements <a class="el" href="class_address_pool.html#aa92d7e8f0f515340ae2dc1679b627056">AddressPool</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="address_8h_source.html#l00182">182</a> of file <a class="el" href="address_8h_source.html">address.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
|
@ -295,7 +295,7 @@ template<const uint8_t MAX_DEVICES_ALLOWED> </div>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -144,17 +144,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aa5976eead215a58553aee683d42405a0">PrintEndpointDescriptor</a>(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a4bcd1d622a6455ee3d0cccc4408700a1">pUsb</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a52d6c7895f6bb01729d01ce28a2f3079">qNextPollTime</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a>(BluetoothService *pService)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">Release</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a2a9ecb996243e070e70972370e45e4fd">readPollInterval</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a4adfc7e51ad3b3c03e7c37d1af159e73">registerServiceClass</a>(BluetoothService *pService)</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aa87c23bce56a20f2db47c6a40c8eda87">Release</a>()</td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#aede42d995c384c238fd49d728df01e4e">remote_name</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#a9e5a34242007b64cd6a226cfd1901e74">rfcommConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#af5e5b085cec1da5c83c75e80e95b3590">sdpConnectionClaimed</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="class_b_t_d.html#aa7735da01865bab01b569ee836173737">watingForConnection</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="class_b_t_d.html#a962a5714c225dcb633434f02e3657583">wiiUProController</a></td><td class="entry"><a class="el" href="class_b_t_d.html">BTD</a></td><td class="entry"></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
1327
class_b_t_d.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: BluetoothService Class Reference</title>
|
||||
<title>USB Host Shield 2.0: BluetoothService Class Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -149,7 +149,7 @@ Public Member Functions</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a66ee2f09c6087b82e3920c3d652a99b2"></a>
|
||||
<a class="anchor" id="a680692ff13cb37eb81ddbb74bc9e0383"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
|
@ -157,7 +157,7 @@ Public Member Functions</h2></td></tr>
|
|||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual void BluetoothService::disconnect </td>
|
||||
<td class="memname">virtual void BluetoothService::Run </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
|
@ -169,9 +169,9 @@ Public Member Functions</h2></td></tr>
|
|||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Used to disconnect both the L2CAP Channel and the HCI Connection for the Bluetooth service. </p>
|
||||
<p>Used to run the different state machines in the Bluetooth service. </p>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII</a>, <a class="el" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP</a>, and <a class="el" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII</a>, <a class="el" href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">SPP</a>, and <a class="el" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -201,7 +201,7 @@ Public Member Functions</h2></td></tr>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="a680692ff13cb37eb81ddbb74bc9e0383"></a>
|
||||
<a class="anchor" id="a66ee2f09c6087b82e3920c3d652a99b2"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
|
@ -209,7 +209,7 @@ Public Member Functions</h2></td></tr>
|
|||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual void BluetoothService::Run </td>
|
||||
<td class="memname">virtual void BluetoothService::disconnect </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
|
@ -221,9 +221,9 @@ Public Member Functions</h2></td></tr>
|
|||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Used to run the different state machines in the Bluetooth service. </p>
|
||||
<p>Used to disconnect both the L2CAP Channel and the HCI Connection for the Bluetooth service. </p>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_w_i_i.html#ac5cd06f3e9aa2a0d9b9691f00c047e72">WII</a>, <a class="el" href="class_s_p_p.html#a2de67ee7ad1be9d2f3daf7dc08dc5f90">SPP</a>, and <a class="el" href="class_p_s3_b_t.html#ab41f25f45573239990f68611dc825086">PS3BT</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_w_i_i.html#aabe4780f258dada1c0564a4ac7607370">WII</a>, <a class="el" href="class_s_p_p.html#a2b4b1f85f553c6a2fdd523e50c75c7b0">SPP</a>, and <a class="el" href="class_p_s3_b_t.html#a39ad8810c67e85eddc68c8a16d38a985">PS3BT</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -233,7 +233,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
1514
class_bulk_only.html
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: Member List</title>
|
||||
<title>USB Host Shield 2.0: Member List</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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.3.1"/>
|
||||
<title>USB_Host_Shield_2.0: ByteSkipper Class Reference</title>
|
||||
<title>USB Host Shield 2.0: ByteSkipper Class Reference</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>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">USB_Host_Shield_2.0
|
||||
<div id="projectname">USB Host Shield 2.0
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -206,7 +206,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.3.1
|
||||
</small></address>
|
||||
|
|