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" / >
2018-10-13 15:47:19 +02:00
< meta name = "generator" content = "Doxygen 1.8.14" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: cdcftdi.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" / >
2015-04-07 16:07:33 +02:00
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2013-02-05 22:39:56 +01:00
< 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;" >
2016-04-19 18:16:46 +02:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2013-02-17 01:37:13 +01:00
< 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 -->
2018-10-13 15:47:19 +02:00
<!-- Generated by Doxygen 1.8.14 -->
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" >
2018-10-13 15:47:19 +02:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2013-01-30 22:00:18 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-10-13 15:47:19 +02:00
/* @license-end */
2013-01-30 22:00:18 +01:00
< / script >
2018-10-13 15:47:19 +02:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
2013-01-30 22:00:18 +01:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2015-04-07 16:07:33 +02:00
< / div >
2013-01-30 22:00:18 +01:00
<!-- 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 >
2016-04-19 18:16:46 +02:00
< li class = "navelem" > < a class = "el" href = "dir_69161428018e52ad84691a5947f27cc9.html" > Github< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_ee762931928e29ae94e054d18c99dc9e.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" > cdcftdi.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2018-10-13 15:47:19 +02:00
< a href = "cdcftdi_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) 2011 Circuits At Home, LTD. 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" > Circuits At Home, LTD< / span > < / div > < div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "comment" > Web : http://www.circuitsathome.com< / span > < / div > < div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "comment" > e-mail : support@circuitsathome.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 >   < span class = "preprocessor" > #if !defined(__CDCFTDI_H__)< / span > < / div > < div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "preprocessor" > #define __CDCFTDI_H__< / span > < / div > < div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < / div > < div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "_usb_8h.html" > Usb.h< / a > " < / span > < / div > < div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div > < div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > < a class = "line" href = "cdcftdi_8h.html#a92ff48c614d1c236c34d7b2dc4d28ad2" > 22< / a > < / span >   < span class = "preprocessor" > #define bmREQ_FTDI_OUT 0x40< / span > < / div > < div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > < a class = "line" href = "cdcftdi_8h.html#a092495a2ea836801135650787513da8c" > 23< / a > < / span >   < span class = "preprocessor" > #define bmREQ_FTDI_IN 0xc0< / span > < / div > < div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < / div > < div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   < span class = "comment" > //#define bmREQ_FTDI_OUT USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE< / span > < / div > < div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   < span class = "comment" > //#define bmREQ_FTDI_IN USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_IN
< div class = "ttc" id = "class_f_t_d_i_html_a3e3f771b9f2a99fcedf7ed665b597109" > < div class = "ttname" > < a href = "class_f_t_d_i.html#a3e3f771b9f2a99fcedf7ed665b597109" > FTDI::EndpointXtract< / a > < / div > < div class = "ttdeci" > 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 = "cdcftdi_8cpp_source.html#l00223" > cdcftdi.cpp:223< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_acb8efdc33bd503563018b7eee577aecf" > < div class = "ttname" > < a href = "class_f_t_d_i.html#acb8efdc33bd503563018b7eee577aecf" > FTDI::SetBaudRate< / a > < / div > < div class = "ttdeci" > uint8_t SetBaudRate(uint32_t baud)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00276" > cdcftdi.cpp:276< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_a86130f30e67e934346c3c7faf5ee6c56" > < div class = "ttname" > < a href = "class_f_t_d_i.html#a86130f30e67e934346c3c7faf5ee6c56" > FTDI::SetModemControl< / a > < / div > < div class = "ttdeci" > uint8_t SetModemControl(uint16_t control)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00316" > cdcftdi.cpp:316< / a > < / div > < / div >
< 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#l00148" > usb_ch9.h:148< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_a7c107efeff2d46cb711cadd0a6c31636" > < div class = "ttname" > < a href = "class_f_t_d_i.html#a7c107efeff2d46cb711cadd0a6c31636" > FTDI::SetFlowControl< / a > < / div > < div class = "ttdeci" > uint8_t SetFlowControl(uint8_t protocol, uint8_t xon=0x11, uint8_t xoff=0x13)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00324" > cdcftdi.cpp:324< / a > < / div > < / div >
< 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#l00132" > UsbCore.h:132< / a > < / div > < / div >
2013-10-21 21:15:43 +02:00
< div class = "ttc" id = "class_f_t_d_i_async_oper_html" > < div class = "ttname" > < a href = "class_f_t_d_i_async_oper.html" > FTDIAsyncOper< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00079" > cdcftdi.h:79< / a > < / div > < / div >
< div class = "ttc" id = "_usb_8h_html" > < div class = "ttname" > < a href = "_usb_8h.html" > Usb.h< / a > < / div > < / div >
2018-10-13 15:47:19 +02:00
< div class = "ttc" id = "class_f_t_d_i_html_aa367ae72fbfda931cae8ec751e9dc434" > < div class = "ttname" > < a href = "class_f_t_d_i.html#aa367ae72fbfda931cae8ec751e9dc434" > FTDI::RcvData< / a > < / div > < div class = "ttdeci" > uint8_t RcvData(uint16_t *bytes_rcvd, uint8_t *dataptr)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00340" > cdcftdi.cpp:340< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_af36414f3137edd44ec007978db2ea712" > < div class = "ttname" > < a href = "class_f_t_d_i.html#af36414f3137edd44ec007978db2ea712" > FTDI::FTDI< / a > < / div > < div class = "ttdeci" > FTDI(USB *pusb, FTDIAsyncOper *pasync, uint16_t idProduct=FTDI_PID)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00023" > cdcftdi.cpp:23< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_a5f383dd8eb114563194da011f1d613fd" > < div class = "ttname" > < a href = "class_f_t_d_i.html#a5f383dd8eb114563194da011f1d613fd" > FTDI::Poll< / a > < / div > < div class = "ttdeci" > uint8_t Poll()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00261" > cdcftdi.cpp:261< / a > < / div > < / div >
< 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#l00039" > address.h:39< / a > < / div > < / div >
2016-04-19 18:16:46 +02:00
< div class = "ttc" id = "class_f_t_d_i_html" > < div class = "ttname" > < a href = "class_f_t_d_i.html" > FTDI< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00096" > cdcftdi.h:96< / a > < / div > < / div >
2015-04-07 16:07:33 +02:00
< div class = "ttc" id = "cdcftdi_8h_html_a38bbee602455b866024aa7a03c6cefb7" > < div class = "ttname" > < a href = "cdcftdi_8h.html#a38bbee602455b866024aa7a03c6cefb7" > FTDI_PID< / a > < / div > < div class = "ttdeci" > #define FTDI_PID< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00029" > cdcftdi.h:29< / a > < / div > < / div >
2018-10-13 15:47:19 +02:00
< div class = "ttc" id = "class_f_t_d_i_html_a2d40115414dadfee8c284e0f5d397621" > < div class = "ttname" > < a href = "class_f_t_d_i.html#a2d40115414dadfee8c284e0f5d397621" > FTDI::Init< / a > < / div > < div class = "ttdeci" > uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00041" > cdcftdi.cpp:41< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_a0e392f0f49843fa9ab0701950628b47b" > < div class = "ttname" > < a href = "class_f_t_d_i.html#a0e392f0f49843fa9ab0701950628b47b" > FTDI::isReady< / a > < / div > < div class = "ttdeci" > virtual bool isReady()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00144" > cdcftdi.h:144< / a > < / div > < / div >
2015-04-07 16:07:33 +02:00
< div class = "ttc" id = "class_f_t_d_i_async_oper_html_a1fe60b9f94fc0adc829918f51d8d7459" > < div class = "ttname" > < a href = "class_f_t_d_i_async_oper.html#a1fe60b9f94fc0adc829918f51d8d7459" > FTDIAsyncOper::OnInit< / a > < / div > < div class = "ttdeci" > virtual uint8_t OnInit(FTDI *pftdi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00082" > cdcftdi.h:82< / a > < / div > < / div >
2018-10-13 15:47:19 +02:00
< div class = "ttc" id = "class_f_t_d_i_html_a90309b11a160bad9ceb0b77545b7a240" > < div class = "ttname" > < a href = "class_f_t_d_i.html#a90309b11a160bad9ceb0b77545b7a240" > FTDI::SndData< / a > < / div > < div class = "ttdeci" > uint8_t SndData(uint16_t nbytes, uint8_t *dataptr)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00348" > cdcftdi.cpp:348< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_ae224d7ea581e5df3b11416410a679086" > < div class = "ttname" > < a href = "class_f_t_d_i.html#ae224d7ea581e5df3b11416410a679086" > FTDI::GetAddress< / a > < / div > < div class = "ttdeci" > virtual uint8_t GetAddress()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00134" > cdcftdi.h:134< / 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#l00030" > confdescparser.h:30< / a > < / div > < / div >
2016-04-19 18:16:46 +02:00
< div class = "ttc" id = "class_f_t_d_i_async_oper_html_a3993597b080c11c8d1d18dd8017a8f82" > < div class = "ttname" > < a href = "class_f_t_d_i_async_oper.html#a3993597b080c11c8d1d18dd8017a8f82" > FTDIAsyncOper::OnRelease< / a > < / div > < div class = "ttdeci" > virtual uint8_t OnRelease(FTDI *pftdi)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00086" > cdcftdi.h:86< / a > < / div > < / div >
2015-04-07 16:07:33 +02:00
< div class = "ttc" id = "cdcftdi_8h_html_a4462aa466c5ff32a8106849d347e9b24" > < div class = "ttname" > < a href = "cdcftdi_8h.html#a4462aa466c5ff32a8106849d347e9b24" > FTDI_VID< / a > < / div > < div class = "ttdeci" > #define FTDI_VID< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00028" > cdcftdi.h:28< / a > < / div > < / div >
2018-10-13 15:47:19 +02:00
< div class = "ttc" id = "class_f_t_d_i_html_aadee262e2eda31deda790d5d10090b6f" > < div class = "ttname" > < a href = "class_f_t_d_i.html#aadee262e2eda31deda790d5d10090b6f" > FTDI::Release< / a > < / div > < div class = "ttdeci" > uint8_t Release()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00250" > cdcftdi.cpp:250< / a > < / div > < / div >
< 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#l00208" > UsbCore.h:208< / a > < / div > < / div >
< div class = "ttc" id = "class_f_t_d_i_html_ab7d7c305729fe4bbc746fa0569261a71" > < div class = "ttname" > < a href = "class_f_t_d_i.html#ab7d7c305729fe4bbc746fa0569261a71" > FTDI::SetData< / a > < / div > < div class = "ttdeci" > uint8_t SetData(uint16_t databm)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8cpp_source.html#l00332" > cdcftdi.cpp:332< / a > < / div > < / div >
2016-04-19 18:16:46 +02:00
< div class = "ttc" id = "cdcftdi_8h_html_a9d25344c78c7608f2e49de9767abd0d9" > < div class = "ttname" > < a href = "cdcftdi_8h.html#a9d25344c78c7608f2e49de9767abd0d9" > FTDI_MAX_ENDPOINTS< / a > < / div > < div class = "ttdeci" > #define FTDI_MAX_ENDPOINTS< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "cdcftdi_8h_source.html#l00094" > cdcftdi.h:94< / 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 >
2013-02-17 01:37:13 +01:00
Generated by   < a href = "http://www.doxygen.org/index.html" >
2013-01-30 22:00:18 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2018-10-13 15:47:19 +02:00
< / a > 1.8.14
2013-01-30 22:00:18 +01:00
< / small > < / address >
< / body >
< / html >