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" / >
< title > USB_Host_Shield_2.0: /Users/Lauszus/GitHub/USB_Host_Shield_2.0/avrpins.h File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< 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" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > USB_Host_Shield_2.0
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(9)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_c8a8870798f18a14afbce47230dc4059.html" > GitHub< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_8d22a5dfb299d0b3a2bdc551c5cdbd10.html" > USB_Host_Shield_2.0< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#define-members" > Macros< / a > < / div >
< div class = "headertitle" >
< div class = "title" > 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" >
< div class = "center" > < img src = "avrpins_8h__incl.png" border = "0" usemap = "#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2avrpins_8h" alt = "" / > < / div >
< map name = "_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2avrpins_8h" id = "_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2avrpins_8h" >
< / map >
< / div >
< / div > < div class = "textblock" > < div class = "dynheader" >
This graph shows which files directly or indirectly include this file:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "avrpins_8h__dep__incl.png" border = "0" usemap = "#_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2avrpins_8hdep" alt = "" / > < / div >
< map name = "_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2avrpins_8hdep" id = "_2_users_2_lauszus_2_git_hub_2_u_s_b___host___shield__2_80_2avrpins_8hdep" >
2013-02-05 20:02:12 +01:00
< area shape = "rect" id = "node2" href = "adk_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/adk.h" alt = "" coords = "2167,266,2292,297" / > < area shape = "rect" id = "node4" href = "usbhost_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/usbhost.h" alt = "" coords = "1887,93,1991,133" / > < area shape = "rect" id = "node5" href = "_usb_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/Usb.h" alt = "" coords = "1434,182,1560,213" / > < area shape = "rect" id = "node14" href = "cdcacm_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcacm.h" alt = "" coords = "769,261,873,301" / > < area shape = "rect" id = "node18" href = "cdcftdi_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcftdi.h" alt = "" coords = "385,261,489,301" / > < area shape = "rect" id = "node16" href = "cdcprolific_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/cdcprolific.h" alt = "" coords = "692,355,796,395" / > < area shape = "rect" id = "node20" href = "le3dp__rptparser_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/examples/HID/le3dp/le3dp\l_rptparser.h" alt = "" coords = "1334,350,1452,399" / > < area shape = "rect" id = "node22" href = "hidjoystickrptparser_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/examples/HID/USBHIDJoystick\l/hidjoystickrptparser.h" alt = "" coords = "1733,350,1869,399" / > < area shape = "rect" id = "node24" href = "hid_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/hid.h" alt = "" coords = "1535,266,1659,297" / > < area shape = "rect" id = "node26" href = "hidboot_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hidboot.h" alt = "" coords = "1896,355,2000,395" / > < area shape = "rect" id = "node28" href = "hidescriptorparser_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/hidescriptorparser.h" alt = "" coords = "2025,355,2129,395" / > < area shape = "rect" id = "node32" href = "masstorage_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/masstorage.h" alt = "" coords = "2444,261,2548,301" / > < area shape = "rect" id = "node38" href = "_usb_8cpp.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/Usb.cpp" alt = "" coords = "1836,261,1940,301" / > < area shape = "rect" id = "node39" href = "usbhub_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/usbhub.h" alt = "" coords = "2316,261,2420,301" / > < area shape = "rect" id = "node3" href = "adk_8cpp.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/adk.cpp" alt = "" coords = "2177,355,2281,395" / > < area shape = "rect" id = "node6" href = "_b_t_d_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/BTD.h" alt = "" coords = "514,266,643,297" / > < area shape = "rect" id = "node34" href = "max___l_c_d_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/max_LCD.h" alt = "" coords = "948,261,1052,301" / > < area shape = "rect" id = "node36" href = "_p_s3_u_s_b_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3USB.h" alt = "" coords = "1076,261,1180,301" / > < area shape = "rect" id = "node41" href = "_x_b_o_x_r_e_c_v_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/XBOXRECV.h" alt = "" coords = "1204,261,1308,301" / > < area shape = "rect" id = "node7" href = "_b_t_d_8cpp.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/BTD.cpp" alt = "" coords = "436,355,540,395" / > < area shape = "rect" id = "node8" href = "_p_s3_b_t_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.h" alt = "" coords = "564,355,668,395" / > < area shape = "rect" id = "node10" href = "_s_p_p_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/SPP.h" alt = "" coords = "134,359,263,390" / > < area shape = "rect" id = "node12" href = "_wii_8h.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0/Wii.h" alt = "" coords = "287,359,411,390" / > < area shape = "rect" id = "node9" href = "_p_s3_b_t_8cpp.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/PS3BT.cpp" alt = "" coords = "564,453,668,493" / > < area shape = "rect" id = "node11" href = "_s_p_p_8cpp.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/SPP.cpp" alt = "" coords = "147,453,251,493" / > < area shape = "rect" id = "node13" href = "_wii_8cpp.html" title = "/Users/Lauszus/GitHub\l/USB_Host_Shield_2.0\l/Wii.cpp" alt = "" coords = "297,453,401,493" / > < area shape = "rect" id = "node15" href = "cdcacm_8cpp.html" title = "/Use
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 20:02:12 +01:00
Generated on Tue Feb 5 2013 19:53:22 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 >