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" / >
2020-11-18 20:17:17 +01:00
< meta name = "generator" content = "Doxygen 1.8.13" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2013-02-17 01:37:13 +01:00
< title > USB Host Shield 2.0: max_LCD.cpp 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" / >
2019-08-31 18:18:58 +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;" >
2019-08-31 18:18:58 +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 -->
2020-11-18 20:17:17 +01:00
<!-- Generated by Doxygen 1.8.13 -->
2013-01-30 22:00:18 +01:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2020-11-18 20:17:17 +01:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / 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)">
2019-08-31 18:18:58 +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 > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#define-members" > Macros< / a > < / div >
< div class = "headertitle" >
< div class = "title" > max_LCD.cpp File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2019-08-31 18:18:58 +02:00
< div class = "textblock" > < code > #include " < a class = "el" href = "max___l_c_d_8h_source.html" > max_LCD.h< / a > " < / code > < br / >
< code > #include < string.h> < / code > < br / >
2013-01-30 22:00:18 +01:00
< / div > < div class = "textblock" > < div class = "dynheader" >
Include dependency graph for max_LCD.cpp:< / div >
< div class = "dyncontent" >
2013-02-05 22:39:56 +01:00
< div class = "center" > < img src = "max___l_c_d_8cpp__incl.png" border = "0" usemap = "#max___l_c_d_8cpp" alt = "" / > < / div >
< map name = "max___l_c_d_8cpp" id = "max___l_c_d_8cpp" >
2021-02-01 17:50:56 +01:00
< area shape = "rect" id = "node2" href = "max___l_c_d_8h.html" title = "max_LCD.h" alt = "" coords = "29,80,125,107" / >
< area shape = "rect" id = "node3" href = "_usb_8h.html" title = "Usb.h" alt = "" coords = "5,155,64,181" / >
2019-08-31 18:18:58 +02:00
< / map >
2013-01-30 22:00:18 +01:00
< / div >
2013-02-05 20:02:12 +01:00
< / div >
< p > < a href = "max___l_c_d_8cpp_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
2013-01-30 22:00:18 +01:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:af8903d8eea3868940c60af887473b152" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#af8903d8eea3868940c60af887473b152" > RS< / a >       0x04< / td > < / tr >
< tr class = "separator:af8903d8eea3868940c60af887473b152" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a07484107e6d9fdf38b53edf631d6511d" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#a07484107e6d9fdf38b53edf631d6511d" > E< / a >       0x08< / td > < / tr >
< tr class = "separator:a07484107e6d9fdf38b53edf631d6511d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a09f62b20e3efd8eb9599770735149d5c" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#a09f62b20e3efd8eb9599770735149d5c" > SET_RS< / a >       lcdPins |= < a class = "el" href = "max___l_c_d_8cpp.html#af8903d8eea3868940c60af887473b152" > RS< / a > < / td > < / tr >
< tr class = "separator:a09f62b20e3efd8eb9599770735149d5c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af60058c58ef619d81e5779d74324041e" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#af60058c58ef619d81e5779d74324041e" > CLR_RS< / a >       lcdPins & = ~< a class = "el" href = "max___l_c_d_8cpp.html#af8903d8eea3868940c60af887473b152" > RS< / a > < / td > < / tr >
< tr class = "separator:af60058c58ef619d81e5779d74324041e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a601271464f1be5c52185c85a1199e784" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#a601271464f1be5c52185c85a1199e784" > SET_E< / a >       lcdPins |= < a class = "el" href = "max___l_c_d_8cpp.html#a07484107e6d9fdf38b53edf631d6511d" > E< / a > < / td > < / tr >
< tr class = "separator:a601271464f1be5c52185c85a1199e784" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2382451f16ea0f18bf54dba5c7cfb471" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#a2382451f16ea0f18bf54dba5c7cfb471" > CLR_E< / a >       lcdPins & = ~< a class = "el" href = "max___l_c_d_8cpp.html#a07484107e6d9fdf38b53edf631d6511d" > E< / a > < / td > < / tr >
< tr class = "separator:a2382451f16ea0f18bf54dba5c7cfb471" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-10-13 15:47:19 +02:00
< tr class = "memitem:ab9142420ababc8fe568edee4796183ba" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#ab9142420ababc8fe568edee4796183ba" > SENDlcdPins< / a > ()      pUsb-> gpioWr( lcdPins )< / td > < / tr >
< tr class = "separator:ab9142420ababc8fe568edee4796183ba" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2013-01-30 22:00:18 +01:00
< tr class = "memitem:ac3f990e58b6f25a5e0d2935f9d03eee9" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#ac3f990e58b6f25a5e0d2935f9d03eee9" > LCD_sendcmd< / a > (a)< / td > < / tr >
< tr class = "separator:ac3f990e58b6f25a5e0d2935f9d03eee9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad16e47e8718230d420aee7e9dd0360e4" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "max___l_c_d_8cpp.html#ad16e47e8718230d420aee7e9dd0360e4" > LCD_sendchar< / a > (a)< / td > < / tr >
< tr class = "separator:ad16e47e8718230d420aee7e9dd0360e4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
2020-11-18 20:17:17 +01:00
< a id = "af8903d8eea3868940c60af887473b152" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af8903d8eea3868940c60af887473b152" > ◆ < / a > < / span > RS< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define RS      0x04< / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00022" > 22< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a07484107e6d9fdf38b53edf631d6511d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a07484107e6d9fdf38b53edf631d6511d" > ◆ < / a > < / span > E< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define E      0x08< / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00023" > 23< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a09f62b20e3efd8eb9599770735149d5c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a09f62b20e3efd8eb9599770735149d5c" > ◆ < / a > < / span > SET_RS< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define SET_RS      lcdPins |= < a class = "el" href = "max___l_c_d_8cpp.html#af8903d8eea3868940c60af887473b152" > RS< / a > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00025" > 25< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "af60058c58ef619d81e5779d74324041e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af60058c58ef619d81e5779d74324041e" > ◆ < / a > < / span > CLR_RS< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define CLR_RS      lcdPins & = ~< a class = "el" href = "max___l_c_d_8cpp.html#af8903d8eea3868940c60af887473b152" > RS< / a > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-17 01:37:13 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00026" > 26< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a601271464f1be5c52185c85a1199e784" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a601271464f1be5c52185c85a1199e784" > ◆ < / a > < / span > SET_E< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define SET_E      lcdPins |= < a class = "el" href = "max___l_c_d_8cpp.html#a07484107e6d9fdf38b53edf631d6511d" > E< / a > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2013-02-17 01:37:13 +01:00
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00027" > 27< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "a2382451f16ea0f18bf54dba5c7cfb471" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2382451f16ea0f18bf54dba5c7cfb471" > ◆ < / a > < / span > CLR_E< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define CLR_E      lcdPins & = ~< a class = "el" href = "max___l_c_d_8cpp.html#a07484107e6d9fdf38b53edf631d6511d" > E< / a > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00028" > 28< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "ab9142420ababc8fe568edee4796183ba" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ab9142420ababc8fe568edee4796183ba" > ◆ < / a > < / span > SENDlcdPins< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define SENDlcdPins< / td >
< td > (< / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > < / td > < td > )< / td >
2013-01-30 22:00:18 +01:00
< td >       pUsb-> gpioWr( lcdPins )< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00030" > 30< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "ac3f990e58b6f25a5e0d2935f9d03eee9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac3f990e58b6f25a5e0d2935f9d03eee9" > ◆ < / a > < / span > LCD_sendcmd< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define LCD_sendcmd< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > a< / td > < td > )< / td >
2013-02-17 01:37:13 +01:00
< td > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< b > Value:< / b > < div class = "fragment" > < div class = "line" > { < a class = "code" href = "max___l_c_d_8cpp.html#af60058c58ef619d81e5779d74324041e" > CLR_RS< / a > ; \< / div > < div class = "line" > sendbyte(a); \< / div > < div class = "line" > }< / div > < div class = "ttc" id = "max___l_c_d_8cpp_html_af60058c58ef619d81e5779d74324041e" > < div class = "ttname" > < a href = "max___l_c_d_8cpp.html#af60058c58ef619d81e5779d74324041e" > CLR_RS< / a > < / div > < div class = "ttdeci" > #define CLR_RS< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "max___l_c_d_8cpp_source.html#l00026" > max_LCD.cpp:26< / a > < / div > < / div >
2013-02-17 01:37:13 +01:00
< / div > <!-- fragment -->
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00032" > 32< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
2013-01-30 22:00:18 +01:00
< / div >
< / div >
2020-11-18 20:17:17 +01:00
< a id = "ad16e47e8718230d420aee7e9dd0360e4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad16e47e8718230d420aee7e9dd0360e4" > ◆ < / a > < / span > LCD_sendchar< / h2 >
2013-01-30 22:00:18 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-02-17 01:37:13 +01:00
< td class = "memname" > #define LCD_sendchar< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
2013-10-21 21:15:43 +02:00
< td class = "paramname" > a< / td > < td > )< / td >
2013-02-17 01:37:13 +01:00
< td > < / td >
2013-01-30 22:00:18 +01:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-08-31 18:18:58 +02:00
< b > Value:< / b > < div class = "fragment" > < div class = "line" > { < a class = "code" href = "max___l_c_d_8cpp.html#a09f62b20e3efd8eb9599770735149d5c" > SET_RS< / a > ; \< / div > < div class = "line" > sendbyte(a); \< / div > < div class = "line" > }< / div > < div class = "ttc" id = "max___l_c_d_8cpp_html_a09f62b20e3efd8eb9599770735149d5c" > < div class = "ttname" > < a href = "max___l_c_d_8cpp.html#a09f62b20e3efd8eb9599770735149d5c" > SET_RS< / a > < / div > < div class = "ttdeci" > #define SET_RS< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "max___l_c_d_8cpp_source.html#l00025" > max_LCD.cpp:25< / a > < / div > < / div >
2013-02-17 01:37:13 +01:00
< / div > <!-- fragment -->
2020-11-18 20:17:17 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "max___l_c_d_8cpp_source.html#l00036" > 36< / a > of file < a class = "el" href = "max___l_c_d_8cpp_source.html" > max_LCD.cpp< / a > .< / p >
2013-02-05 20:02:12 +01:00
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" / >
2020-11-18 20:17:17 +01:00
< / a > 1.8.13
2013-01-30 22:00:18 +01:00
< / small > < / address >
< / body >
< / html >