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" / >
2013-06-17 20:33:24 +02:00
< meta name = "generator" content = "Doxygen 1.8.4" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: avrpins.h File Reference< / 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" / >
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;" >
< td 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 -->
2013-06-17 20:33:24 +02:00
<!-- Generated by Doxygen 1.8.4 -->
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  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(9)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
2013-02-05 22:39:56 +01:00
< 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 = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#define-members" > Macros< / a > < / div >
< div class = "headertitle" >
< div class = "title" > avrpins.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < avr/io.h> < / code > < br / >
< / div > < div class = "textblock" > < div class = "dynheader" >
Include dependency graph for avrpins.h:< / div >
< div class = "dyncontent" >
2013-02-05 22:39:56 +01:00
< div class = "center" > < img src = "avrpins_8h__incl.png" border = "0" usemap = "#avrpins_8h" alt = "" / > < / div >
2013-01-30 22:00:18 +01:00
< / div >
< / div > < div class = "textblock" > < div class = "dynheader" >
This graph shows which files directly or indirectly include this file:< / div >
< div class = "dyncontent" >
2013-02-05 22:39:56 +01:00
< div class = "center" > < img src = "avrpins_8h__dep__incl.png" border = "0" usemap = "#avrpins_8hdep" alt = "" / > < / div >
< map name = "avrpins_8hdep" id = "avrpins_8hdep" >
2013-08-14 01:16:29 +02:00
< area shape = "rect" id = "node2" href = "adk_8h.html" title = "adk.h" alt = "" coords = "579,213,620,235" / > < area shape = "rect" id = "node4" href = "usbhost_8h.html" title = "usbhost.h" alt = "" coords = "1058,75,1115,96" / > < area shape = "rect" id = "node5" href = "_usb_8h.html" title = "Usb.h" alt = "" coords = "931,144,973,165" / > < area shape = "rect" id = "node14" href = "cdcacm_8h.html" title = "cdcacm.h" alt = "" coords = "216,213,272,235" / > < area shape = "rect" id = "node18" href = "cdcftdi_8h.html" title = "cdcftdi.h" alt = "" coords = "645,213,696,235" / > < area shape = "rect" id = "node16" href = "cdcprolific_8h.html" title = "cdcprolific.h" alt = "" coords = "95,283,159,304" / > < area shape = "rect" id = "node20" href = "hid_8h.html" title = "hid.h" alt = "" coords = "1416,213,1456,235" / > < area shape = "rect" id = "node22" href = "hidboot_8h.html" title = "hidboot.h" alt = "" coords = "1610,283,1664,304" / > < area shape = "rect" id = "node24" href = "hidescriptorparser_8h.html" title = "hidescriptorparser.h" alt = "" coords = "1324,283,1417,304" / > < area shape = "rect" id = "node28" href = "masstorage_8h.html" title = "masstorage.h" alt = "" coords = "1214,213,1284,235" / > < area shape = "rect" id = "node34" href = "_usb_8cpp.html" title = "Usb.cpp" alt = "" coords = "1531,213,1583,235" / > < area shape = "rect" id = "node35" href = "usbhub_8h.html" title = "usbhub.h" alt = "" coords = "1135,213,1189,235" / > < area shape = "rect" id = "node3" href = "adk_8cpp.html" title = "adk.cpp" alt = "" coords = "575,283,625,304" / > < area shape = "rect" id = "node6" href = "_b_t_d_8h.html" title = "BTD.h" alt = "" coords = "507,213,552,235" / > < area shape = "rect" id = "node30" href = "max___l_c_d_8h.html" title = "max_LCD.h" alt = "" coords = "721,213,785,235" / > < area shape = "rect" id = "node32" href = "_p_s3_u_s_b_8h.html" title = "PS3USB.h" alt = "" coords = "810,213,869,235" / > < area shape = "rect" id = "node37" href = "_x_b_o_x_o_l_d_8h.html" title = "XBOXOLD.h" alt = "" coords = "894,213,961,235" / > < area shape = "rect" id = "node39" href = "_x_b_o_x_r_e_c_v_8h.html" title = "XBOXRECV.h" alt = "" coords = "986,213,1059,235" / > < area shape = "rect" id = "node41" href = "_x_b_o_x_u_s_b_8h.html" title = "XBOXUSB.h" alt = "" coords = "414,213,481,235" / > < area shape = "rect" id = "node7" href = "_b_t_d_8cpp.html" title = "BTD.cpp" alt = "" coords = "348,283,401,304" / > < area shape = "rect" id = "node8" href = "_p_s3_b_t_8h.html" title = "PS3BT.h" alt = "" coords = "426,283,480,304" / > < area shape = "rect" id = "node10" href = "_s_p_p_8h.html" title = "SPP.h" alt = "" coords = "505,283,551,304" / > < area shape = "rect" id = "node12" href = "_wii_8h.html" title = "Wii.h" alt = "" coords = "284,283,324,304" / > < area shape = "rect" id = "node9" href = "_p_s3_b_t_8cpp.html" title = "PS3BT.cpp" alt = "" coords = "418,352,480,373" / > < area shape = "rect" id = "node11" href = "_s_p_p_8cpp.html" title = "SPP.cpp" alt = "" coords = "505,352,559,373" / > < area shape = "rect" id = "node13" href = "_wii_8cpp.html" title = "Wii.cpp" alt = "" coords = "280,352,328,373" / > < area shape = "rect" id = "node15" href = "cdcacm_8cpp.html" title = "cdcacm.cpp" alt = "" coords = "5,283,69,304" / > < area shape = "rect" id = "node17" href = "cdcprolific_8cpp.html" title = "cdcprolific.cpp" alt = "" coords = "90,352,163,373" / > < area shape = "rect" id = "node19" href = "cdcftdi_8cpp.html" title = "cdcftdi.cpp" alt = "" coords = "650,283,709,304" / > < area shape = "rect" id = "node21" href = "hid_8cpp.html" title = "hid.cpp" alt = "" coords = "1441,283,1489,304" / > < area shape = "rect" id = "node26" href = "hiduniversal_8h.html" title = "hiduniversal.h" alt = "" coords = "1513,283,1585,304" / > < area shape = "rect" id = "node23" href = "hidboot_8cpp.html" title = "hidboot.cpp" alt = "" coords = "1609,352,1673,373" / > < area shape = "rect" id = "node25" href = "hidescriptorparser_8cpp.html" title = "hidescriptorparser.cpp" alt = "" coords = "1320,352,1421,373" / > < area shape = "rect" id = "node27" href = "hiduniversal_8cpp.html" title = "hiduniversal.cpp" alt = "" coords = "1505,352,1585,373" / > < area shape = "rect" id = "node29" href = "masstorage_8cpp.html" title = "masstorage.cpp" alt = "" coords = "1221,283,1299,304" / > < area shape = "rect" id = "node31" href = "max___l_c_d_8cpp.html" title = "max_LCD.cpp" alt = "" coords = "734,283,807,304" / > < area shape = "rect" id = "node33" href = "_p_s3_u_s_b_8cpp.html" title = "PS3USB.cpp" alt = "" coords = "832,283,901,304" / > < area shape = "rect" id = "node36" href = "usbhub_8cpp.html" title = "usbhub.cpp" alt = "" coords = "1
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< p > < a href = "avrpins_8h_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Classes< / h2 > < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_t_pin.html" > TPin< PORT, PIN > < / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_t_com.html" > TCom< TCCR, COM > < / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_tp___tc.html" > Tp_Tc< Tp_pin, Tc_bit > < / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:a007409bc8f4dbfad293d3e4c59bd2921" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "avrpins_8h.html#a007409bc8f4dbfad293d3e4c59bd2921" > MAKE_PORT< / a > (portName, ddrName, pinName, className, ID)< / td > < / tr >
< tr class = "separator:a007409bc8f4dbfad293d3e4c59bd2921" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ade418bf397968e1b184b4342e16e950f" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "avrpins_8h.html#ade418bf397968e1b184b4342e16e950f" > MAKE_TCCR< / a > (TccrName, className)< / td > < / tr >
< tr class = "separator:ade418bf397968e1b184b4342e16e950f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "a007409bc8f4dbfad293d3e4c59bd2921" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MAKE_PORT< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > portName, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > ddrName, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > pinName, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > className, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > ID  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< b > Value:< / b > < div class = "fragment" > < div class = "line" > < span class = "keyword" > class < / span > className{\< / div >
< div class = "line" > public:\< / div >
< div class = "line" > typedef uint8_t DataT;\< / div >
< div class = "line" > public:\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Write(DataT value){portName = value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > ClearAndSet(DataT clearMask, DataT value){portName = (portName & ~clearMask) | value;}\< / div >
< div class = "line" > static DataT Read(){< span class = "keywordflow" > return< / span > portName;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > DirWrite(DataT value){ddrName = value;}\< / div >
< div class = "line" > static DataT DirRead(){< span class = "keywordflow" > return< / span > ddrName;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Set(DataT value){portName |= value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Clear(DataT value){portName & = ~value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Toggle(DataT value){portName ^= value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > DirSet(DataT value){ddrName |= value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > DirClear(DataT value){ddrName & = ~value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > DirToggle(DataT value){ddrName ^= value;}\< / div >
< div class = "line" > static DataT PinRead(){< span class = "keywordflow" > return< / span > pinName;}\< / div >
< div class = "line" > enum{Id = ID};\< / div >
< div class = "line" > enum{Width=< span class = "keyword" > sizeof< / span > (DataT)*8};\< / div >
< div class = "line" > };< / div >
< / div > <!-- fragment -->
2013-02-05 20:02:12 +01:00
< p > Definition at line < a class = "el" href = "avrpins_8h_source.html#l00088" > 88< / a > of file < a class = "el" href = "avrpins_8h_source.html" > avrpins.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< a class = "anchor" id = "ade418bf397968e1b184b4342e16e950f" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define MAKE_TCCR< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > TccrName, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > className  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< b > Value:< / b > < div class = "fragment" > < div class = "line" > < span class = "keyword" > class < / span > className{\< / div >
< div class = "line" > public:\< / div >
< div class = "line" > typedef uint8_t DataT;\< / div >
< div class = "line" > public:\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Write(DataT value){TccrName = value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > ClearAndSet(DataT clearMask, DataT value){TccrName = (TccrName & ~clearMask) | value;}\< / div >
< div class = "line" > static DataT Read(){< span class = "keywordflow" > return< / span > TccrName;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Set(DataT value){TccrName |= value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Clear(DataT value){TccrName & = ~value;}\< / div >
< div class = "line" > static < span class = "keywordtype" > void< / span > Toggle(DataT value){TccrName ^= value;}\< / div >
< div class = "line" > enum{Width=< span class = "keyword" > sizeof< / span > (DataT)*8};\< / div >
< div class = "line" > };< / div >
< / div > <!-- fragment -->
2013-02-05 20:02:12 +01:00
< p > Definition at line < a class = "el" href = "avrpins_8h_source.html#l00110" > 110< / a > of file < a class = "el" href = "avrpins_8h_source.html" > avrpins.h< / a > .< / p >
2013-01-30 22:00:18 +01:00
< / div >
< / div >
< / 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" / >
2013-06-17 20:33:24 +02:00
< / a > 1.8.4
2013-01-30 22:00:18 +01:00
< / small > < / address >
< / body >
< / html >