USB_Host_Shield_2.0/cdcacm_8h_source.html

367 lines
74 KiB
HTML
Raw Normal View History

2013-01-30 22:00:18 +01:00
<!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"/>
2014-01-10 18:20:37 +01:00
<meta name="generator" content="Doxygen 1.8.6"/>
<title>USB Host Shield 2.0: cdcacm.h Source File</title>
2013-01-30 22:00:18 +01:00
<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"/>
2013-01-30 22:00:18 +01:00
</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
2013-01-30 22:00:18 +01:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2014-01-10 18:20:37 +01:00
<!-- Generated by Doxygen 1.8.6 -->
2013-01-30 22:00:18 +01:00
<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</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>
2013-01-30 22:00:18 +01:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">cdcacm.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="cdcacm_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>&#160;<span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<span class="comment">the GPL2 (&quot;Copyleft&quot;).</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">Contact information</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">-------------------</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">Circuits At Home, LTD</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">Web : http://www.circuitsathome.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">e-mail : support@circuitsathome.com</span></div>
2013-04-01 22:52:24 +02:00
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
2013-01-30 22:00:18 +01:00
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#if !defined(__CDCACM_H__)</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __CDCACM_H__</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor"></span></div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_usb_8h.html">Usb.h</a>&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a5797aa38c730dde78bf3181282bd6bf9"> 22</a></span>&#160;<span class="preprocessor">#define bmREQ_CDCOUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#af2ac2e2644603a3d1013be940c43314d"> 23</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bmREQ_CDCIN USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE</span></div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">// CDC Subclass Constants</span></div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a9d555a2c20cdda9166df1f1a0deb2fe6"> 26</a></span>&#160;<span class="preprocessor">#define CDC_SUBCLASS_DLCM 0x01 // Direct Line Control Model</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#acce3aedc4473cc5526efc16448b89221"> 27</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_ACM 0x02 // Abstract Control Model</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a8e66107828e9b10a8b37823cb4436209"> 28</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_TCM 0x03 // Telephone Control Model</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a279c0e93e9cf1c328e9551e62ebdc342"> 29</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_MCCM 0x04 // Multi Channel Control Model</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ab35e4890d2a9820b89f17d86e63e6a30"> 30</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_CAPI 0x05 // CAPI Control Model</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#aad198585b3a333441d39c04c9a6f8dfc"> 31</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_ETHERNET 0x06 // Ethernet Network Control Model</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#af1a7d3d1e1dd78003500d6fccd205461"> 32</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_ATM 0x07 // ATM Network Control Model</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ad331bb2702e65696ca33c2d933ab2d73"> 33</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_WIRELESS_HANDSET 0x08 // Wireless Handset Control Model</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a27674e866e3a2422d8fc38b873f19723"> 34</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_DEVICE_MANAGEMENT 0x09 // Device Management</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a110580c0368ed8a8d657e6812fa5cffe"> 35</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_MOBILE_DIRECT_LINE 0x0A // Mobile Direct Line Model</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ab1094071380f381e0b8b88d240aedd03"> 36</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_OBEX 0x0B // OBEX</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a6ef074fafbca12dadc97de1511563629"> 37</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SUBCLASS_ETHERNET_EMU 0x0C // Ethernet Emulation Model</span></div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment">// Communication Interface Class Control Protocol Codes</span></div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a13977894f3398454f6573995afb89c5b"> 40</a></span>&#160;<span class="preprocessor">#define CDC_PROTOCOL_ITU_T_V_250 0x01 // AT Commands defined by ITU-T V.250</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ad5fce51c970f6a1c2bd70a304db8504f"> 41</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_PROTOCOL_PCCA_101 0x02 // AT Commands defined by PCCA-101</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a199157a779e1f1d70b7460157b874fbb"> 42</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_PROTOCOL_PCCA_101_O 0x03 // AT Commands defined by PCCA-101 &amp; Annex O</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a74f58c97749d65adfcf0d8fcd8739713"> 43</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_PROTOCOL_GSM_7_07 0x04 // AT Commands defined by GSM 7.07</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a0cdc3e66270e78dc62f6fdab6806e4ac"> 44</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_PROTOCOL_3GPP_27_07 0x05 // AT Commands defined by 3GPP 27.007</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a25dc8a5a03fa46bc6d18be73a318b725"> 45</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_PROTOCOL_C_S0017_0 0x06 // AT Commands defined by TIA for CDMA</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ae0e669ccb182282b45af577b84ea190f"> 46</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_PROTOCOL_USB_EEM 0x07 // Ethernet Emulation Model</span></div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="comment">// CDC Commands defined by CDC 1.2</span></div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a7aaa245703a0a2191c27697715f3727c"> 49</a></span>&#160;<span class="preprocessor">#define CDC_SEND_ENCAPSULATED_COMMAND 0x00</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a6170632c774a3163b5a9927cc4e960ec"> 50</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_GET_ENCAPSULATED_RESPONSE 0x01</span></div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="comment">// CDC Commands defined by PSTN 1.2</span></div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a893b79445f99070657e8d45f6495b174"> 53</a></span>&#160;<span class="preprocessor">#define CDC_SET_COMM_FEATURE 0x02</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ad0912dac888d01142b225b0c6f8a508f"> 54</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_GET_COMM_FEATURE 0x03</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a6c79b8666110840333ad3785bf7ce87c"> 55</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_CLEAR_COMM_FEATURE 0x04</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ac39a42b128864ba4fae224be0078adba"> 56</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_AUX_LINE_STATE 0x10</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a367e07b7ce50e3a17703da1dea7f05a1"> 57</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_HOOK_STATE 0x11</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#aab5439915442bd5b835d7c755ba5fec1"> 58</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_PULSE_SETUP 0x12</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#af83535db4560a2fa52c72571f914dfc1"> 59</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SEND_PULSE 0x13</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a83ededfa85fdc32e603f9d1cdccbad78"> 60</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_PULSE_TIME 0x14</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a763f022025ebdaa3e6fb3dd6b5bef118"> 61</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_RING_AUX_JACK 0x15</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ad07ce089c8757b8d2ff37ddd83dc9351"> 62</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_LINE_CODING 0x20</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a1068ab45668e413d964a01bc36fa2d43"> 63</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_GET_LINE_CODING 0x21</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a11c392243dec4d03970f1eaa1f8053ae"> 64</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_CONTROL_LINE_STATE 0x22</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a868c480caf0abda6b458c82281dda8ad"> 65</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SEND_BREAK 0x23</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#aacceff07ade4b94b3c924d4f4ad6b139"> 66</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_RINGER_PARMS 0x30</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a7a17ca0755e655bd1fe6ac97b68ec10f"> 67</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_GET_RINGER_PARMS 0x31</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a437557c6adb23d8cdde7842b62a03a21"> 68</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_OPERATION_PARMS 0x32</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a257e7150670c8cc0b1d90c8f19c36b38"> 69</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_GET_OPERATION_PARMS 0x33</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a74433e0421d2cfd59982db6417a8ea41"> 70</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_SET_LINE_PARMS 0x34</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a725da0e1d595c7aebacb9fa3df4d7231"> 71</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_GET_LINE_PARMS 0x35</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a4d1029757801882e8d6589c05a3c41db"> 72</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CDC_DIAL_DIGITS 0x36</span></div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment">//Class-Specific Notification Codes</span></div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a9e48b736a3dbd35ebbe8507b29dec86a"> 75</a></span>&#160;<span class="preprocessor">#define NETWORK_CONNECTION 0x00</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ac0ba0ade7f2d2a3b9c4cef90931e8237"> 76</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define RESPONSE_AVAILABLE 0x01</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#ac79c185e34b15634c1ba5d15eb8c831c"> 77</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define AUX_JACK_HOOK_STATE 0x08</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a83130a0c72dea5b783134e28665628ee"> 78</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define RING_DETECT 0x09</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a8e278dbd137d5d873d24e1647be9d4e6"> 79</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define SERIAL_STATE 0x20</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a16e45b21be9797a7190330fd10bc1b07"> 80</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CALL_STATE_CHANGE 0x28</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a0a06858faca59d300fbadd0e37e312c9"> 81</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define LINE_STATE_CHANGE 0x29</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#a0bf4e444b84f8ab8bb1b3dfe16dc93de"> 82</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CONNECTION_SPEED_CHANGE 0x2a</span></div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="comment">// CDC Functional Descriptor Structures</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html"> 86</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#ae5ab7e23e6f5268f042b1cec3986867a"> 87</a></span>&#160; uint8_t <a class="code" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#ae5ab7e23e6f5268f042b1cec3986867a">bFunctionLength</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#ad36c57f51019212d773c8d1b70b12a77"> 88</a></span>&#160; uint8_t <a class="code" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#ad36c57f51019212d773c8d1b70b12a77">bDescriptorType</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#af97ef3ee2d908edaabfdde534fa15e7b"> 89</a></span>&#160; uint8_t <a class="code" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#af97ef3ee2d908edaabfdde534fa15e7b">bDescriptorSubtype</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#a76161d5fa6c12239aad097f5010825c2"> 90</a></span>&#160; uint8_t <a class="code" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#a76161d5fa6c12239aad097f5010825c2">bmCapabilities</a>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#a83213f501eef93701807736887fc587c"> 91</a></span>&#160; uint8_t <a class="code" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#a83213f501eef93701807736887fc587c">bDataInterface</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;} <a class="code" href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html">CALL_MGMNT_FUNC_DESCR</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html"> 94</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a46c41dcbc0f3fdc37c0cd411b6b3213e"> 95</a></span>&#160; uint8_t <a class="code" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a46c41dcbc0f3fdc37c0cd411b6b3213e">bFunctionLength</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a4562e71852b142b483b68deaaa360e6a"> 96</a></span>&#160; uint8_t <a class="code" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a4562e71852b142b483b68deaaa360e6a">bDescriptorType</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a139534f16b74c2a09879fbc44fc84199"> 97</a></span>&#160; uint8_t <a class="code" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a139534f16b74c2a09879fbc44fc84199">bDescriptorSubtype</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a6c54b317cabd68eebd318257ab02abe4"> 98</a></span>&#160; uint8_t <a class="code" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a6c54b317cabd68eebd318257ab02abe4">bmCapabilities</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;} <a class="code" href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html">ACM_FUNC_DESCR</a>, <a class="code" href="cdcacm_8h.html#aee9cef95b49c643abc3269666b62aa1b">DLM_FUNC_DESCR</a>, <a class="code" href="cdcacm_8h.html#ad377d3305b15e93acb1e0799ee7c3972">TEL_OPER_MODES_FUNC_DESCR</a>,</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<a class="code" href="cdcacm_8h.html#a01d7daaa4bdcff9f84f1a49206933cb2">TEL_CALL_STATE_REP_CPBL_FUNC_DESCR</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html"> 102</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#afac33a06771f8b063a8330849cb19386"> 103</a></span>&#160; uint8_t <a class="code" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#afac33a06771f8b063a8330849cb19386">bFunctionLength</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#ad20f29394df0ec88cd151fa9a5a22579"> 104</a></span>&#160; uint8_t <a class="code" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#ad20f29394df0ec88cd151fa9a5a22579">bDescriptorType</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#aeb3343737ca0bc3b869a6c7046b3d2c2"> 105</a></span>&#160; uint8_t <a class="code" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#aeb3343737ca0bc3b869a6c7046b3d2c2">bDescriptorSubtype</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#afdbb7ff1b60803569e26718685da9196"> 106</a></span>&#160; uint8_t <a class="code" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#afdbb7ff1b60803569e26718685da9196">bRingerVolSteps</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#aca65dc577a0dbc13972da9ab26e25918"> 107</a></span>&#160; uint8_t <a class="code" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#aca65dc577a0dbc13972da9ab26e25918">bNumRingerPatterns</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;} <a class="code" href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html">TEL_RINGER_FUNC_DESCR</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="struct_l_i_n_e___c_o_d_i_n_g.html"> 110</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="struct_l_i_n_e___c_o_d_i_n_g.html#ae9fd7d7247b4c50df89a6dd5ed955073"> 111</a></span>&#160; uint32_t <a class="code" href="struct_l_i_n_e___c_o_d_i_n_g.html#ae9fd7d7247b4c50df89a6dd5ed955073">dwDTERate</a>; <span class="comment">// Data Terminal Rate in bits per second</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="struct_l_i_n_e___c_o_d_i_n_g.html#ae2c35eef8f7e35b5f2a3464225477d3c"> 112</a></span>&#160; uint8_t <a class="code" href="struct_l_i_n_e___c_o_d_i_n_g.html#ae2c35eef8f7e35b5f2a3464225477d3c">bCharFormat</a>; <span class="comment">// 0 - 1 stop bit, 1 - 1.5 stop bits, 2 - 2 stop bits</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="struct_l_i_n_e___c_o_d_i_n_g.html#ad14985344c9e31a210999dfa0b4ccc42"> 113</a></span>&#160; uint8_t <a class="code" href="struct_l_i_n_e___c_o_d_i_n_g.html#ad14985344c9e31a210999dfa0b4ccc42">bParityType</a>; <span class="comment">// 0 - None, 1 - Odd, 2 - Even, 3 - Mark, 4 - Space</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="struct_l_i_n_e___c_o_d_i_n_g.html#a2c360b6f874f2cf45f95492f9e6c1812"> 114</a></span>&#160; uint8_t <a class="code" href="struct_l_i_n_e___c_o_d_i_n_g.html#a2c360b6f874f2cf45f95492f9e6c1812">bDataBits</a>; <span class="comment">// Data bits (5, 6, 7, 8 or 16)</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;} <a class="code" href="struct_l_i_n_e___c_o_d_i_n_g.html">LINE_CODING</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html"> 117</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#ad268e291db5485ca0869aeb66bc77d3c"> 118</a></span>&#160; uint8_t <a class="code" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#ad268e291db5485ca0869aeb66bc77d3c">bmRequestType</a>; <span class="comment">// 0xa1 for class-specific notifications</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a158c134809e776056d50ffada8089e56"> 119</a></span>&#160; uint8_t <a class="code" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a158c134809e776056d50ffada8089e56">bNotification</a>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#ab55dc65ad3f5b47da89beeaf7c03b4bc"> 120</a></span>&#160; uint16_t <a class="code" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#ab55dc65ad3f5b47da89beeaf7c03b4bc">wValue</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#aae0d299b4d6e5ee396ace3f1b4cc7352"> 121</a></span>&#160; uint16_t <a class="code" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#aae0d299b4d6e5ee396ace3f1b4cc7352">wIndex</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a7933669f6b6379d7ee0605f50422cbe2"> 122</a></span>&#160; uint16_t <a class="code" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a7933669f6b6379d7ee0605f50422cbe2">wLength</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a32bd53e2663570c57f78a91e2ebfc59c"> 123</a></span>&#160; uint16_t <a class="code" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a32bd53e2663570c57f78a91e2ebfc59c">bmState</a>; <span class="comment">//UART state bitmap for SERIAL_STATE, other notifications variable length</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;} <a class="code" href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html">CLASS_NOTIFICATION</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="keyword">class </span><a class="code" href="class_a_c_m.html">ACM</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="class_c_d_c_async_oper.html"> 128</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_c_d_c_async_oper.html">CDCAsyncOper</a> {</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_c_d_c_async_oper.html#a899353c3cbf83d7f874d11e5d9db4722">OnInit</a>(<a class="code" href="class_a_c_m.html">ACM</a> *pacm) = 0;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="comment">//virtual void OnDataRcvd(ACM *pacm, uint8_t nbytes, uint8_t *dataptr) = 0;</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="comment">//virtual void OnDisconnected(ACM *pacm) = 0;</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;};</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div>
2013-10-21 21:15:43 +02:00
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div>
2014-01-10 18:20:37 +01:00
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="cdcacm_8h.html#aa11e629b02a0cd7d768f796732cb2694"> 136</a></span>&#160;<span class="preprocessor">#define ACM_MAX_ENDPOINTS 4</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="class_a_c_m.html"> 138</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_a_c_m.html">ACM</a> : <span class="keyword">public</span> <a class="code" href="class_u_s_b_device_config.html">USBDeviceConfig</a>, <span class="keyword">public</span> <a class="code" href="class_usb_config_xtracter.html">UsbConfigXtracter</a> {</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a5917b5098e529fafe67a53e03f1e7011"> 140</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_a_c_m.html#a5917b5098e529fafe67a53e03f1e7011">epDataInIndex</a>; <span class="comment">// DataIn endpoint index</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a0dc940bc4f1bed7525bb768e37e6cb61"> 141</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_a_c_m.html#a0dc940bc4f1bed7525bb768e37e6cb61">epDataOutIndex</a>; <span class="comment">// DataOUT endpoint index</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a9b32207fdf256e5f8553ba4048b64307"> 142</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code" href="class_a_c_m.html#a9b32207fdf256e5f8553ba4048b64307">epInterruptInIndex</a>; <span class="comment">// InterruptIN endpoint index</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7"> 144</a></span>&#160; <a class="code" href="class_u_s_b.html">USB</a> *<a class="code" href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7">pUsb</a>;</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a3f160c6c757994f0c30bd5c5f1fb9d95"> 145</a></span>&#160; <a class="code" href="class_c_d_c_async_oper.html">CDCAsyncOper</a> *<a class="code" href="class_a_c_m.html#a3f160c6c757994f0c30bd5c5f1fb9d95">pAsync</a>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="class_a_c_m.html#abaa06a619a519f4cb39cc8482af6f111"> 146</a></span>&#160; uint8_t <a class="code" href="class_a_c_m.html#abaa06a619a519f4cb39cc8482af6f111">bAddress</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="class_a_c_m.html#af1a17c2d77625599da12b26cb0c90d39"> 147</a></span>&#160; uint8_t <a class="code" href="class_a_c_m.html#af1a17c2d77625599da12b26cb0c90d39">bConfNum</a>; <span class="comment">// configuration number</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a5512d9e8c8c59371f16018fe8ce46b19"> 148</a></span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a5512d9e8c8c59371f16018fe8ce46b19">bControlIface</a>; <span class="comment">// Control interface value</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a720b72b524e03da8f17c045e0d689ba1"> 149</a></span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a720b72b524e03da8f17c045e0d689ba1">bDataIface</a>; <span class="comment">// Data interface value</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a058b4d4a088a002fcde4fb2b75e33f93"> 150</a></span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a058b4d4a088a002fcde4fb2b75e33f93">bNumEP</a>; <span class="comment">// total number of EP in the configuration</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a6701d70ae4734e8a81971d9fb8b085f2"> 151</a></span>&#160; uint32_t <a class="code" href="class_a_c_m.html#a6701d70ae4734e8a81971d9fb8b085f2">qNextPollTime</a>; <span class="comment">// next poll time</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_a_c_m.html#acd6716c4fc871942fca55e1501dc5b09"> 152</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_a_c_m.html#acd6716c4fc871942fca55e1501dc5b09">bPollEnable</a>; <span class="comment">// poll enable flag</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a8ebf4b872b0ed66e93b4ed39f46290fd"> 153</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_a_c_m.html#a8ebf4b872b0ed66e93b4ed39f46290fd">ready</a>; <span class="comment">//device ready indicator</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a60fb6a365b78fb80a4a9842e364cf1a3"> 155</a></span>&#160; <a class="code" href="struct_ep_info.html">EpInfo</a> <a class="code" href="class_a_c_m.html#a60fb6a365b78fb80a4a9842e364cf1a3">epInfo</a>[<a class="code" href="cdcacm_8h.html#aa11e629b02a0cd7d768f796732cb2694">ACM_MAX_ENDPOINTS</a>];</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_a_c_m.html#aa05a65487f5e02bab40ccba1018ee5b6">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="l00158"></a><span class="lineno"> 158</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="class_a_c_m.html#aa5d83ef9d48dab404090e9136522707a">ACM</a>(<a class="code" href="class_u_s_b.html">USB</a> *pusb, <a class="code" href="class_c_d_c_async_oper.html">CDCAsyncOper</a> *pasync);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a62c91ac62e8e3bf66bc3940d5b934c10">SetCommFeature</a>(uint16_t fid, uint8_t nbytes, uint8_t *dataptr);</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a18208672a707391863b8abdc6714c825">GetCommFeature</a>(uint16_t fid, uint8_t nbytes, uint8_t *dataptr);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a74a3484a0f524ddf0e228c17addcebdf">ClearCommFeature</a>(uint16_t fid);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a79eb8706c7f1432593fb2f2eee0da504">SetLineCoding</a>(<span class="keyword">const</span> <a class="code" href="struct_l_i_n_e___c_o_d_i_n_g.html">LINE_CODING</a> *dataptr);</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a9d922317b25a7ae086a6fe79984ab8d1">GetLineCoding</a>(<a class="code" href="struct_l_i_n_e___c_o_d_i_n_g.html">LINE_CODING</a> *dataptr);</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#af2e08e5f03f17ed039985147a7129bbd">SetControlLineState</a>(uint8_t state);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a2a618cbff52737740e76977db557ddff">SendBreak</a>(uint16_t duration);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a4deddfbfb1d9010b71096cbfd46b2dfb">GetNotif</a>(uint16_t *bytes_rcvd, uint8_t *dataptr);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="comment">// Methods for recieving and sending data</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#a7f455b7a649522c29f2e63d668b0ccca">RcvData</a>(uint16_t *nbytesptr, uint8_t *dataptr);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; uint8_t <a class="code" href="class_a_c_m.html#ac96caeb8d657fa76219872ceb4379923">SndData</a>(uint16_t nbytes, uint8_t *dataptr);</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="comment">// USBDeviceConfig implementation</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_c_m.html#ad3210651d58c77d3ded4b4b83a9476b7">Init</a>(uint8_t parent, uint8_t port, <span class="keywordtype">bool</span> lowspeed);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_c_m.html#a768c0fd4ef7f5c52de9e5e7431685279">Release</a>();</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_c_m.html#a79e4da2cae9145d895a6a1211a96fe36">Poll</a>();</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a7e0bb108012af9a99bb98aefca036d84"> 180</a></span>&#160; <span class="keyword">virtual</span> uint8_t <a class="code" href="class_a_c_m.html#a7e0bb108012af9a99bb98aefca036d84">GetAddress</a>() {</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_c_m.html#abaa06a619a519f4cb39cc8482af6f111">bAddress</a>;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; };</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="class_a_c_m.html#a7161082e88359738596dd12a706ee286"> 184</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_a_c_m.html#a7161082e88359738596dd12a706ee286">isReady</a>() {</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_a_c_m.html#a8ebf4b872b0ed66e93b4ed39f46290fd">ready</a>;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; };</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="comment">// UsbConfigXtracter implementation</span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_a_c_m.html#af5b411a7ccc82bd77a7c5cfba6cd9a86">EndpointXtract</a>(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, <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);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;};</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="preprocessor">#endif // __CDCACM_H__</span></div>
<div class="ttc" id="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n_html_aae0d299b4d6e5ee396ace3f1b4cc7352"><div class="ttname"><a href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#aae0d299b4d6e5ee396ace3f1b4cc7352">CLASS_NOTIFICATION::wIndex</a></div><div class="ttdeci">uint16_t wIndex</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00121">cdcacm.h:121</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="class_a_c_m_html_aa5d83ef9d48dab404090e9136522707a"><div class="ttname"><a href="class_a_c_m.html#aa5d83ef9d48dab404090e9136522707a">ACM::ACM</a></div><div class="ttdeci">ACM(USB *pusb, CDCAsyncOper *pasync)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00023">cdcacm.cpp:23</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_a9b32207fdf256e5f8553ba4048b64307"><div class="ttname"><a href="class_a_c_m.html#a9b32207fdf256e5f8553ba4048b64307">ACM::epInterruptInIndex</a></div><div class="ttdeci">static const uint8_t epInterruptInIndex</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00142">cdcacm.h:142</a></div></div>
<div class="ttc" id="class_a_c_m_html_a7e0bb108012af9a99bb98aefca036d84"><div class="ttname"><a href="class_a_c_m.html#a7e0bb108012af9a99bb98aefca036d84">ACM::GetAddress</a></div><div class="ttdeci">virtual uint8_t GetAddress()</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00180">cdcacm.h:180</a></div></div>
<div class="ttc" id="class_a_c_m_html_a0dc940bc4f1bed7525bb768e37e6cb61"><div class="ttname"><a href="class_a_c_m.html#a0dc940bc4f1bed7525bb768e37e6cb61">ACM::epDataOutIndex</a></div><div class="ttdeci">static const uint8_t epDataOutIndex</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00141">cdcacm.h:141</a></div></div>
<div class="ttc" id="class_a_c_m_html_a6701d70ae4734e8a81971d9fb8b085f2"><div class="ttname"><a href="class_a_c_m.html#a6701d70ae4734e8a81971d9fb8b085f2">ACM::qNextPollTime</a></div><div class="ttdeci">uint32_t qNextPollTime</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00151">cdcacm.h:151</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_l_i_n_e___c_o_d_i_n_g_html_ad14985344c9e31a210999dfa0b4ccc42"><div class="ttname"><a href="struct_l_i_n_e___c_o_d_i_n_g.html#ad14985344c9e31a210999dfa0b4ccc42">LINE_CODING::bParityType</a></div><div class="ttdeci">uint8_t bParityType</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00113">cdcacm.h:113</a></div></div>
<div class="ttc" id="struct_l_i_n_e___c_o_d_i_n_g_html_ae2c35eef8f7e35b5f2a3464225477d3c"><div class="ttname"><a href="struct_l_i_n_e___c_o_d_i_n_g.html#ae2c35eef8f7e35b5f2a3464225477d3c">LINE_CODING::bCharFormat</a></div><div class="ttdeci">uint8_t bCharFormat</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00112">cdcacm.h:112</a></div></div>
<div class="ttc" id="struct_l_i_n_e___c_o_d_i_n_g_html_a2c360b6f874f2cf45f95492f9e6c1812"><div class="ttname"><a href="struct_l_i_n_e___c_o_d_i_n_g.html#a2c360b6f874f2cf45f95492f9e6c1812">LINE_CODING::bDataBits</a></div><div class="ttdeci">uint8_t bDataBits</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00114">cdcacm.h:114</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n_html_a158c134809e776056d50ffada8089e56"><div class="ttname"><a href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a158c134809e776056d50ffada8089e56">CLASS_NOTIFICATION::bNotification</a></div><div class="ttdeci">uint8_t bNotification</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00119">cdcacm.h:119</a></div></div>
<div class="ttc" id="class_a_c_m_html_a5512d9e8c8c59371f16018fe8ce46b19"><div class="ttname"><a href="class_a_c_m.html#a5512d9e8c8c59371f16018fe8ce46b19">ACM::bControlIface</a></div><div class="ttdeci">uint8_t bControlIface</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00148">cdcacm.h:148</a></div></div>
<div class="ttc" id="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n_html_ab55dc65ad3f5b47da89beeaf7c03b4bc"><div class="ttname"><a href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#ab55dc65ad3f5b47da89beeaf7c03b4bc">CLASS_NOTIFICATION::wValue</a></div><div class="ttdeci">uint16_t wValue</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00120">cdcacm.h:120</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_u_s_b___e_n_d_p_o_i_n_t___d_e_s_c_r_i_p_t_o_r_html"><div class="ttname"><a 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></div><div class="ttdef"><b>Definition:</b> <a href="usb__ch9_8h_source.html#l00141">usb_ch9.h:141</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_a8ebf4b872b0ed66e93b4ed39f46290fd"><div class="ttname"><a href="class_a_c_m.html#a8ebf4b872b0ed66e93b4ed39f46290fd">ACM::ready</a></div><div class="ttdeci">bool ready</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00153">cdcacm.h:153</a></div></div>
<div class="ttc" id="class_a_c_m_html_a720b72b524e03da8f17c045e0d689ba1"><div class="ttname"><a href="class_a_c_m.html#a720b72b524e03da8f17c045e0d689ba1">ACM::bDataIface</a></div><div class="ttdeci">uint8_t bDataIface</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00149">cdcacm.h:149</a></div></div>
<div class="ttc" id="class_a_c_m_html_ae403b0129d7beda921de9d9586b597f7"><div class="ttname"><a href="class_a_c_m.html#ae403b0129d7beda921de9d9586b597f7">ACM::pUsb</a></div><div class="ttdeci">USB * pUsb</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00144">cdcacm.h:144</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r_html_a83213f501eef93701807736887fc587c"><div class="ttname"><a href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#a83213f501eef93701807736887fc587c">CALL_MGMNT_FUNC_DESCR::bDataInterface</a></div><div class="ttdeci">uint8_t bDataInterface</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00091">cdcacm.h:91</a></div></div>
<div class="ttc" id="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r_html_ad36c57f51019212d773c8d1b70b12a77"><div class="ttname"><a href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#ad36c57f51019212d773c8d1b70b12a77">CALL_MGMNT_FUNC_DESCR::bDescriptorType</a></div><div class="ttdeci">uint8_t bDescriptorType</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00088">cdcacm.h:88</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_a058b4d4a088a002fcde4fb2b75e33f93"><div class="ttname"><a href="class_a_c_m.html#a058b4d4a088a002fcde4fb2b75e33f93">ACM::bNumEP</a></div><div class="ttdeci">uint8_t bNumEP</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00150">cdcacm.h:150</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r_html"><div class="ttname"><a href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html">TEL_RINGER_FUNC_DESCR</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00102">cdcacm.h:102</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_a60fb6a365b78fb80a4a9842e364cf1a3"><div class="ttname"><a href="class_a_c_m.html#a60fb6a365b78fb80a4a9842e364cf1a3">ACM::epInfo</a></div><div class="ttdeci">EpInfo epInfo[ACM_MAX_ENDPOINTS]</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00155">cdcacm.h:155</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="class_u_s_b_device_config_html"><div class="ttname"><a href="class_u_s_b_device_config.html">USBDeviceConfig</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00105">UsbCore.h:105</a></div></div>
<div class="ttc" id="_usb_8h_html"><div class="ttname"><a href="_usb_8h.html">Usb.h</a></div></div>
<div class="ttc" id="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n_html"><div class="ttname"><a href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html">CLASS_NOTIFICATION</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00117">cdcacm.h:117</a></div></div>
<div class="ttc" id="struct_a_c_m___f_u_n_c___d_e_s_c_r_html_a46c41dcbc0f3fdc37c0cd411b6b3213e"><div class="ttname"><a href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a46c41dcbc0f3fdc37c0cd411b6b3213e">ACM_FUNC_DESCR::bFunctionLength</a></div><div class="ttdeci">uint8_t bFunctionLength</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00095">cdcacm.h:95</a></div></div>
<div class="ttc" id="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r_html_af97ef3ee2d908edaabfdde534fa15e7b"><div class="ttname"><a href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#af97ef3ee2d908edaabfdde534fa15e7b">CALL_MGMNT_FUNC_DESCR::bDescriptorSubtype</a></div><div class="ttdeci">uint8_t bDescriptorSubtype</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00089">cdcacm.h:89</a></div></div>
<div class="ttc" id="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r_html_aca65dc577a0dbc13972da9ab26e25918"><div class="ttname"><a href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#aca65dc577a0dbc13972da9ab26e25918">TEL_RINGER_FUNC_DESCR::bNumRingerPatterns</a></div><div class="ttdeci">uint8_t bNumRingerPatterns</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00107">cdcacm.h:107</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_acd6716c4fc871942fca55e1501dc5b09"><div class="ttname"><a href="class_a_c_m.html#acd6716c4fc871942fca55e1501dc5b09">ACM::bPollEnable</a></div><div class="ttdeci">bool bPollEnable</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00152">cdcacm.h:152</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_a_c_m___f_u_n_c___d_e_s_c_r_html_a139534f16b74c2a09879fbc44fc84199"><div class="ttname"><a href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a139534f16b74c2a09879fbc44fc84199">ACM_FUNC_DESCR::bDescriptorSubtype</a></div><div class="ttdeci">uint8_t bDescriptorSubtype</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00097">cdcacm.h:97</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n_html_a32bd53e2663570c57f78a91e2ebfc59c"><div class="ttname"><a href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a32bd53e2663570c57f78a91e2ebfc59c">CLASS_NOTIFICATION::bmState</a></div><div class="ttdeci">uint16_t bmState</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00123">cdcacm.h:123</a></div></div>
<div class="ttc" id="class_a_c_m_html_aa05a65487f5e02bab40ccba1018ee5b6"><div class="ttname"><a href="class_a_c_m.html#aa05a65487f5e02bab40ccba1018ee5b6">ACM::PrintEndpointDescriptor</a></div><div class="ttdeci">void PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR *ep_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00336">cdcacm.cpp:336</a></div></div>
<div class="ttc" id="class_a_c_m_html_a3f160c6c757994f0c30bd5c5f1fb9d95"><div class="ttname"><a href="class_a_c_m.html#a3f160c6c757994f0c30bd5c5f1fb9d95">ACM::pAsync</a></div><div class="ttdeci">CDCAsyncOper * pAsync</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00145">cdcacm.h:145</a></div></div>
<div class="ttc" id="cdcacm_8h_html_aa11e629b02a0cd7d768f796732cb2694"><div class="ttname"><a href="cdcacm_8h.html#aa11e629b02a0cd7d768f796732cb2694">ACM_MAX_ENDPOINTS</a></div><div class="ttdeci">#define ACM_MAX_ENDPOINTS</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00136">cdcacm.h:136</a></div></div>
<div class="ttc" id="class_a_c_m_html_a9d922317b25a7ae086a6fe79984ab8d1"><div class="ttname"><a href="class_a_c_m.html#a9d922317b25a7ae086a6fe79984ab8d1">ACM::GetLineCoding</a></div><div class="ttdeci">uint8_t GetLineCoding(LINE_CODING *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00324">cdcacm.cpp:324</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r_html"><div class="ttname"><a href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html">CALL_MGMNT_FUNC_DESCR</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00086">cdcacm.h:86</a></div></div>
<div class="ttc" id="struct_a_c_m___f_u_n_c___d_e_s_c_r_html_a4562e71852b142b483b68deaaa360e6a"><div class="ttname"><a href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a4562e71852b142b483b68deaaa360e6a">ACM_FUNC_DESCR::bDescriptorType</a></div><div class="ttdeci">uint8_t bDescriptorType</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00096">cdcacm.h:96</a></div></div>
<div class="ttc" id="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r_html_afdbb7ff1b60803569e26718685da9196"><div class="ttname"><a href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#afdbb7ff1b60803569e26718685da9196">TEL_RINGER_FUNC_DESCR::bRingerVolSteps</a></div><div class="ttdeci">uint8_t bRingerVolSteps</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00106">cdcacm.h:106</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_ac96caeb8d657fa76219872ceb4379923"><div class="ttname"><a href="class_a_c_m.html#ac96caeb8d657fa76219872ceb4379923">ACM::SndData</a></div><div class="ttdeci">uint8_t SndData(uint16_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00304">cdcacm.cpp:304</a></div></div>
<div class="ttc" id="class_a_c_m_html_a79e4da2cae9145d895a6a1211a96fe36"><div class="ttname"><a href="class_a_c_m.html#a79e4da2cae9145d895a6a1211a96fe36">ACM::Poll</a></div><div class="ttdeci">virtual uint8_t Poll()</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00264">cdcacm.cpp:264</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_ep_info_html"><div class="ttname"><a href="struct_ep_info.html">EpInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="address_8h_source.html#l00032">address.h:32</a></div></div>
<div class="ttc" id="struct_a_c_m___f_u_n_c___d_e_s_c_r_html_a6c54b317cabd68eebd318257ab02abe4"><div class="ttname"><a href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html#a6c54b317cabd68eebd318257ab02abe4">ACM_FUNC_DESCR::bmCapabilities</a></div><div class="ttdeci">uint8_t bmCapabilities</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00098">cdcacm.h:98</a></div></div>
<div class="ttc" id="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r_html_aeb3343737ca0bc3b869a6c7046b3d2c2"><div class="ttname"><a href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#aeb3343737ca0bc3b869a6c7046b3d2c2">TEL_RINGER_FUNC_DESCR::bDescriptorSubtype</a></div><div class="ttdeci">uint8_t bDescriptorSubtype</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00105">cdcacm.h:105</a></div></div>
<div class="ttc" id="class_a_c_m_html_ad3210651d58c77d3ded4b4b83a9476b7"><div class="ttname"><a href="class_a_c_m.html#ad3210651d58c77d3ded4b4b83a9476b7">ACM::Init</a></div><div class="ttdeci">virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00047">cdcacm.cpp:47</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n_html_ad268e291db5485ca0869aeb66bc77d3c"><div class="ttname"><a href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#ad268e291db5485ca0869aeb66bc77d3c">CLASS_NOTIFICATION::bmRequestType</a></div><div class="ttdeci">uint8_t bmRequestType</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00118">cdcacm.h:118</a></div></div>
<div class="ttc" id="class_a_c_m_html_a5917b5098e529fafe67a53e03f1e7011"><div class="ttname"><a href="class_a_c_m.html#a5917b5098e529fafe67a53e03f1e7011">ACM::epDataInIndex</a></div><div class="ttdeci">static const uint8_t epDataInIndex</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00140">cdcacm.h:140</a></div></div>
<div class="ttc" id="class_a_c_m_html_abaa06a619a519f4cb39cc8482af6f111"><div class="ttname"><a href="class_a_c_m.html#abaa06a619a519f4cb39cc8482af6f111">ACM::bAddress</a></div><div class="ttdeci">uint8_t bAddress</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00146">cdcacm.h:146</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_l_i_n_e___c_o_d_i_n_g_html"><div class="ttname"><a href="struct_l_i_n_e___c_o_d_i_n_g.html">LINE_CODING</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00110">cdcacm.h:110</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_a7161082e88359738596dd12a706ee286"><div class="ttname"><a href="class_a_c_m.html#a7161082e88359738596dd12a706ee286">ACM::isReady</a></div><div class="ttdeci">virtual bool isReady()</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00184">cdcacm.h:184</a></div></div>
<div class="ttc" id="class_a_c_m_html_a79eb8706c7f1432593fb2f2eee0da504"><div class="ttname"><a href="class_a_c_m.html#a79eb8706c7f1432593fb2f2eee0da504">ACM::SetLineCoding</a></div><div class="ttdeci">uint8_t SetLineCoding(const LINE_CODING *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00320">cdcacm.cpp:320</a></div></div>
<div class="ttc" id="class_usb_config_xtracter_html"><div class="ttname"><a href="class_usb_config_xtracter.html">UsbConfigXtracter</a></div><div class="ttdef"><b>Definition:</b> <a href="confdescparser_8h_source.html#l00023">confdescparser.h:23</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r_html_afac33a06771f8b063a8330849cb19386"><div class="ttname"><a href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#afac33a06771f8b063a8330849cb19386">TEL_RINGER_FUNC_DESCR::bFunctionLength</a></div><div class="ttdeci">uint8_t bFunctionLength</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00103">cdcacm.h:103</a></div></div>
<div class="ttc" id="cdcacm_8h_html_a01d7daaa4bdcff9f84f1a49206933cb2"><div class="ttname"><a href="cdcacm_8h.html#a01d7daaa4bdcff9f84f1a49206933cb2">TEL_CALL_STATE_REP_CPBL_FUNC_DESCR</a></div><div class="ttdeci">struct ACM_FUNC_DESCR TEL_CALL_STATE_REP_CPBL_FUNC_DESCR</div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_af5b411a7ccc82bd77a7c5cfba6cd9a86"><div class="ttname"><a href="class_a_c_m.html#af5b411a7ccc82bd77a7c5cfba6cd9a86">ACM::EndpointXtract</a></div><div class="ttdeci">virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00224">cdcacm.cpp:224</a></div></div>
<div class="ttc" id="class_a_c_m_html_a2a618cbff52737740e76977db557ddff"><div class="ttname"><a href="class_a_c_m.html#a2a618cbff52737740e76977db557ddff">ACM::SendBreak</a></div><div class="ttdeci">uint8_t SendBreak(uint16_t duration)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00332">cdcacm.cpp:332</a></div></div>
<div class="ttc" id="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n_html_a7933669f6b6379d7ee0605f50422cbe2"><div class="ttname"><a href="struct_c_l_a_s_s___n_o_t_i_f_i_c_a_t_i_o_n.html#a7933669f6b6379d7ee0605f50422cbe2">CLASS_NOTIFICATION::wLength</a></div><div class="ttdeci">uint16_t wLength</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00122">cdcacm.h:122</a></div></div>
<div class="ttc" id="class_c_d_c_async_oper_html"><div class="ttname"><a href="class_c_d_c_async_oper.html">CDCAsyncOper</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00128">cdcacm.h:128</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="class_a_c_m_html_a4deddfbfb1d9010b71096cbfd46b2dfb"><div class="ttname"><a href="class_a_c_m.html#a4deddfbfb1d9010b71096cbfd46b2dfb">ACM::GetNotif</a></div><div class="ttdeci">uint8_t GetNotif(uint16_t *bytes_rcvd, uint8_t *dataptr)</div></div>
<div class="ttc" id="struct_l_i_n_e___c_o_d_i_n_g_html_ae9fd7d7247b4c50df89a6dd5ed955073"><div class="ttname"><a href="struct_l_i_n_e___c_o_d_i_n_g.html#ae9fd7d7247b4c50df89a6dd5ed955073">LINE_CODING::dwDTERate</a></div><div class="ttdeci">uint32_t dwDTERate</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00111">cdcacm.h:111</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_a18208672a707391863b8abdc6714c825"><div class="ttname"><a href="class_a_c_m.html#a18208672a707391863b8abdc6714c825">ACM::GetCommFeature</a></div><div class="ttdeci">uint8_t GetCommFeature(uint16_t fid, uint8_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00312">cdcacm.cpp:312</a></div></div>
<div class="ttc" id="class_a_c_m_html_a768c0fd4ef7f5c52de9e5e7431685279"><div class="ttname"><a href="class_a_c_m.html#a768c0fd4ef7f5c52de9e5e7431685279">ACM::Release</a></div><div class="ttdeci">virtual uint8_t Release()</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00251">cdcacm.cpp:251</a></div></div>
<div class="ttc" id="class_a_c_m_html_af1a17c2d77625599da12b26cb0c90d39"><div class="ttname"><a href="class_a_c_m.html#af1a17c2d77625599da12b26cb0c90d39">ACM::bConfNum</a></div><div class="ttdeci">uint8_t bConfNum</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00147">cdcacm.h:147</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="cdcacm_8h_html_ad377d3305b15e93acb1e0799ee7c3972"><div class="ttname"><a href="cdcacm_8h.html#ad377d3305b15e93acb1e0799ee7c3972">TEL_OPER_MODES_FUNC_DESCR</a></div><div class="ttdeci">struct ACM_FUNC_DESCR TEL_OPER_MODES_FUNC_DESCR</div></div>
<div class="ttc" id="class_c_d_c_async_oper_html_a899353c3cbf83d7f874d11e5d9db4722"><div class="ttname"><a href="class_c_d_c_async_oper.html#a899353c3cbf83d7f874d11e5d9db4722">CDCAsyncOper::OnInit</a></div><div class="ttdeci">virtual uint8_t OnInit(ACM *pacm)=0</div></div>
<div class="ttc" id="struct_a_c_m___f_u_n_c___d_e_s_c_r_html"><div class="ttname"><a href="struct_a_c_m___f_u_n_c___d_e_s_c_r.html">ACM_FUNC_DESCR</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00094">cdcacm.h:94</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_u_s_b_html"><div class="ttname"><a href="class_u_s_b.html">USB</a></div><div class="ttdef"><b>Definition:</b> <a href="_usb_core_8h_source.html#l00176">UsbCore.h:176</a></div></div>
<div class="ttc" id="class_a_c_m_html"><div class="ttname"><a href="class_a_c_m.html">ACM</a></div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00138">cdcacm.h:138</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r_html_ad20f29394df0ec88cd151fa9a5a22579"><div class="ttname"><a href="struct_t_e_l___r_i_n_g_e_r___f_u_n_c___d_e_s_c_r.html#ad20f29394df0ec88cd151fa9a5a22579">TEL_RINGER_FUNC_DESCR::bDescriptorType</a></div><div class="ttdeci">uint8_t bDescriptorType</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00104">cdcacm.h:104</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_af2e08e5f03f17ed039985147a7129bbd"><div class="ttname"><a href="class_a_c_m.html#af2e08e5f03f17ed039985147a7129bbd">ACM::SetControlLineState</a></div><div class="ttdeci">uint8_t SetControlLineState(uint8_t state)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00328">cdcacm.cpp:328</a></div></div>
<div class="ttc" id="class_a_c_m_html_a62c91ac62e8e3bf66bc3940d5b934c10"><div class="ttname"><a href="class_a_c_m.html#a62c91ac62e8e3bf66bc3940d5b934c10">ACM::SetCommFeature</a></div><div class="ttdeci">uint8_t SetCommFeature(uint16_t fid, uint8_t nbytes, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00308">cdcacm.cpp:308</a></div></div>
<div class="ttc" id="class_a_c_m_html_a74a3484a0f524ddf0e228c17addcebdf"><div class="ttname"><a href="class_a_c_m.html#a74a3484a0f524ddf0e228c17addcebdf">ACM::ClearCommFeature</a></div><div class="ttdeci">uint8_t ClearCommFeature(uint16_t fid)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00316">cdcacm.cpp:316</a></div></div>
2013-10-21 21:15:43 +02:00
<div class="ttc" id="cdcacm_8h_html_aee9cef95b49c643abc3269666b62aa1b"><div class="ttname"><a href="cdcacm_8h.html#aee9cef95b49c643abc3269666b62aa1b">DLM_FUNC_DESCR</a></div><div class="ttdeci">struct ACM_FUNC_DESCR DLM_FUNC_DESCR</div></div>
<div class="ttc" id="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r_html_ae5ab7e23e6f5268f042b1cec3986867a"><div class="ttname"><a href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#ae5ab7e23e6f5268f042b1cec3986867a">CALL_MGMNT_FUNC_DESCR::bFunctionLength</a></div><div class="ttdeci">uint8_t bFunctionLength</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00087">cdcacm.h:87</a></div></div>
<div class="ttc" id="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r_html_a76161d5fa6c12239aad097f5010825c2"><div class="ttname"><a href="struct_c_a_l_l___m_g_m_n_t___f_u_n_c___d_e_s_c_r.html#a76161d5fa6c12239aad097f5010825c2">CALL_MGMNT_FUNC_DESCR::bmCapabilities</a></div><div class="ttdeci">uint8_t bmCapabilities</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8h_source.html#l00090">cdcacm.h:90</a></div></div>
2014-01-10 18:20:37 +01:00
<div class="ttc" id="class_a_c_m_html_a7f455b7a649522c29f2e63d668b0ccca"><div class="ttname"><a href="class_a_c_m.html#a7f455b7a649522c29f2e63d668b0ccca">ACM::RcvData</a></div><div class="ttdeci">uint8_t RcvData(uint16_t *nbytesptr, uint8_t *dataptr)</div><div class="ttdef"><b>Definition:</b> <a href="cdcacm_8cpp_source.html#l00300">cdcacm.cpp:300</a></div></div>
2013-01-30 22:00:18 +01:00
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
2013-01-30 22:00:18 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
2014-01-10 18:20:37 +01:00
</a> 1.8.6
2013-01-30 22:00:18 +01:00
</small></address>
</body>
</html>