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" / >
< meta name = "generator" content = "Doxygen 1.8.3.1" / >
2013-02-05 22:39:56 +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;" >
< div id = "projectname" > USB_Host_Shield_2.0
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(9)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
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 >
< map name = "avrpins_8h" id = "avrpins_8h" >
2013-01-30 22:00:18 +01:00
< / map >
< / 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" >
< area shape = "rect" id = "node2" href = "adk_8h.html" title = "adk.h" alt = "" coords = "270,213,311,235" / > < area shape = "rect" id = "node4" href = "usbhost_8h.html" title = "usbhost.h" alt = "" coords = "783,75,840,96" / > < area shape = "rect" id = "node5" href = "_usb_8h.html" title = "Usb.h" alt = "" coords = "729,144,772,165" / > < area shape = "rect" id = "node14" href = "cdcacm_8h.html" title = "cdcacm.h" alt = "" coords = "139,213,195,235" / > < area shape = "rect" id = "node18" href = "cdcftdi_8h.html" title = "cdcftdi.h" alt = "" coords = "335,213,387,235" / > < area shape = "rect" id = "node16" href = "cdcprolific_8h.html" title = "cdcprolific.h" alt = "" coords = "95,283,159,304" / > < area shape = "rect" id = "node20" href = "hid_8h.html" title = "hid.h" alt = "" coords = "853,213,893,235" / > < area shape = "rect" id = "node22" href = "hidboot_8h.html" title = "hidboot.h" alt = "" coords = "1099,283,1153,304" / > < area shape = "rect" id = "node24" href = "hidescriptorparser_8h.html" title = "hidescriptorparser.h" alt = "" coords = "1179,283,1272,304" / > < area shape = "rect" id = "node28" href = "masstorage_8h.html" title = "masstorage.h" alt = "" coords = "1226,213,1296,235" / > < area shape = "rect" id = "node34" href = "_usb_8cpp.html" title = "Usb.cpp" alt = "" coords = "1019,213,1071,235" / > < area shape = "rect" id = "node35" href = "usbhub_8h.html" title = "usbhub.h" alt = "" coords = "1147,213,1201,235" / > < area shape = "rect" id = "node3" href = "adk_8cpp.html" title = "adk.cpp" alt = "" coords = "183,283,233,304" / > < area shape = "rect" id = "node6" href = "_b_t_d_8h.html" title = "BTD.h" alt = "" coords = "733,213,779,235" / > < area shape = "rect" id = "node30" href = "max___l_c_d_8h.html" title = "max_LCD.h" alt = "" coords = "463,213,527,235" / > < area shape = "rect" id = "node32" href = "_p_s3_u_s_b_8h.html" title = "PS3USB.h" alt = "" coords = "551,213,611,235" / > < area shape = "rect" id = "node37" href = "_x_b_o_x_r_e_c_v_8h.html" title = "XBOXRECV.h" alt = "" coords = "635,213,708,235" / > < area shape = "rect" id = "node7" href = "_b_t_d_8cpp.html" title = "BTD.cpp" alt = "" coords = "704,283,757,304" / > < area shape = "rect" id = "node8" href = "_p_s3_b_t_8h.html" title = "PS3BT.h" alt = "" coords = "782,283,836,304" / > < area shape = "rect" id = "node10" href = "_s_p_p_8h.html" title = "SPP.h" alt = "" coords = "861,283,907,304" / > < area shape = "rect" id = "node12" href = "_wii_8h.html" title = "Wii.h" alt = "" coords = "640,283,680,304" / > < area shape = "rect" id = "node9" href = "_p_s3_b_t_8cpp.html" title = "PS3BT.cpp" alt = "" coords = "770,352,832,373" / > < area shape = "rect" id = "node11" href = "_s_p_p_8cpp.html" title = "SPP.cpp" alt = "" coords = "857,352,911,373" / > < area shape = "rect" id = "node13" href = "_wii_8cpp.html" title = "Wii.cpp" alt = "" coords = "636,352,684,373" / > < area shape = "rect" id = "node15" href = "cdcacm_8cpp.html" title = "cdcacm.cpp" alt = "" coords = "5,283,69,304" / > < area shape = "rect" id = "node17" href = "cdcprolific_8cpp.html" title = "cdcprolific.cpp" alt = "" coords = "90,352,163,373" / > < area shape = "rect" id = "node19" href = "cdcftdi_8cpp.html" title = "cdcftdi.cpp" alt = "" coords = "258,283,317,304" / > < area shape = "rect" id = "node21" href = "hid_8cpp.html" title = "hid.cpp" alt = "" coords = "1027,283,1075,304" / > < area shape = "rect" id = "node26" href = "hiduniversal_8h.html" title = "hiduniversal.h" alt = "" coords = "931,283,1003,304" / > < area shape = "rect" id = "node23" href = "hidboot_8cpp.html" title = "hidboot.cpp" alt = "" coords = "1091,352,1155,373" / > < area shape = "rect" id = "node25" href = "hidescriptorparser_8cpp.html" title = "hidescriptorparser.cpp" alt = "" coords = "1179,352,1280,373" / > < area shape = "rect" id = "node27" href = "hiduniversal_8cpp.html" title = "hiduniversal.cpp" alt = "" coords = "935,352,1015,373" / > < area shape = "rect" id = "node29" href = "masstorage_8cpp.html" title = "masstorage.cpp" alt = "" coords = "1385,283,1463,304" / > < area shape = "rect" id = "node31" href = "max___l_c_d_8cpp.html" title = "max_LCD.cpp" alt = "" coords = "342,283,415,304" / > < area shape = "rect" id = "node33" href = "_p_s3_u_s_b_8cpp.html" title = "PS3USB.cpp" alt = "" coords = "440,283,509,304" / > < area shape = "rect" id = "node36" href = "usbhub_8cpp.html" title = "usbhub.cpp" alt = "" coords = "1296,283,1360,304" / > < area shape = "rect" id = "node38" href = "_x_b_o_x_r_e_c_v_8cpp.html" title = "XBOXRECV.cpp" alt = "" coords = "534,283,615,304" / > < / map >
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-05 22:39:56 +01:00
Generated on Tue Feb 5 2013 22:35:25 for USB_Host_Shield_2.0 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" / >
< / a > 1.8.3.1
< / small > < / address >
< / body >
< / html >