2019-05-22 09:46:48 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > B15F: USART Class 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/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / 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 id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > B15F
< / div >
< div id = "projectbrief" > Board 15 Famulus Edition< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< 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 >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / 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 > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-static-attribs" > Static Public Attributes< / a > |
< a href = "classUSART-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > USART Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2019-05-23 15:08:54 +02:00
< p > < code > #include < < a class = "el" href = "usart_8h_source.html" > usart.h< / a > > < / code > < / p >
2019-05-22 09:46:48 +02:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a5f7e2abda2ec4a68a5fdb8ee2f8a940a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a5f7e2abda2ec4a68a5fdb8ee2f8a940a" > openDevice< / a > (std::string device)< / td > < / tr >
< tr class = "separator:a5f7e2abda2ec4a68a5fdb8ee2f8a940a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af80d6291ac1d2df04cfa1d8d27458cc5" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#af80d6291ac1d2df04cfa1d8d27458cc5" > closeDevice< / a > (void)< / td > < / tr >
< tr class = "separator:af80d6291ac1d2df04cfa1d8d27458cc5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a28a2b4c5ed66b2c3a81196f76884f156" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a28a2b4c5ed66b2c3a81196f76884f156" > clearInputBuffer< / a > (void)< / td > < / tr >
< tr class = "separator:a28a2b4c5ed66b2c3a81196f76884f156" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a756d268a8762c316f91ca3238972b0c1" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a756d268a8762c316f91ca3238972b0c1" > clearOutputBuffer< / a > (void)< / td > < / tr >
< tr class = "separator:a756d268a8762c316f91ca3238972b0c1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adb6ff4d1cf1af79ca255c5a81780200d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#adb6ff4d1cf1af79ca255c5a81780200d" > flushOutputBuffer< / a > (void)< / td > < / tr >
< tr class = "separator:adb6ff4d1cf1af79ca255c5a81780200d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a33559bb8f0eda33a489d47b9c9227b59" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a33559bb8f0eda33a489d47b9c9227b59" > printStatistics< / a > (void)< / td > < / tr >
< tr class = "separator:a33559bb8f0eda33a489d47b9c9227b59" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a60eadbe9956bab8144ee96d89eacd9f5" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a60eadbe9956bab8144ee96d89eacd9f5" > writeByte< / a > (uint8_t b)< / td > < / tr >
< tr class = "separator:a60eadbe9956bab8144ee96d89eacd9f5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a78b30d9aa863f38745e982860392599a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a78b30d9aa863f38745e982860392599a" > writeInt< / a > (uint16_t d)< / td > < / tr >
< tr class = "separator:a78b30d9aa863f38745e982860392599a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-28 12:32:31 +02:00
< tr class = "memitem:a68c2d1cb7172813ae8ed61360fad47f6" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a68c2d1cb7172813ae8ed61360fad47f6" > writeU32< / a > (uint32_t d)< / td > < / tr >
< tr class = "separator:a68c2d1cb7172813ae8ed61360fad47f6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-05-22 09:46:48 +02:00
< tr class = "memitem:a8f54b98b26bfe084359a5604bda82562" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a8f54b98b26bfe084359a5604bda82562" > readByte< / a > (void)< / td > < / tr >
< tr class = "separator:a8f54b98b26bfe084359a5604bda82562" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1534c229db71a375e556cf1e7d0b8119" > < td class = "memItemLeft" align = "right" valign = "top" > uint16_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a1534c229db71a375e556cf1e7d0b8119" > readInt< / a > (void)< / td > < / tr >
< tr class = "separator:a1534c229db71a375e556cf1e7d0b8119" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7d024eae412c26c8026a19c23152fb15" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a7d024eae412c26c8026a19c23152fb15" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < b > read_timeout< / b > (uint8_t *buffer, uint16_t offset, uint8_t len, uint32_t timeout)< / td > < / tr >
< tr class = "separator:a7d024eae412c26c8026a19c23152fb15" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abc38663b1be6af13dd6bc295b34b1f91" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "abc38663b1be6af13dd6bc295b34b1f91" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < b > write_timeout< / b > (uint8_t *buffer, uint16_t offset, uint8_t len, uint32_t timeout)< / td > < / tr >
< tr class = "separator:abc38663b1be6af13dd6bc295b34b1f91" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa5380551953f95293287d93a3291e6f9" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa5380551953f95293287d93a3291e6f9" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > writeBlock< / b > (uint8_t *buffer, uint16_t offset, uint8_t len)< / td > < / tr >
< tr class = "separator:aa5380551953f95293287d93a3291e6f9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6301a60df27ab1506ce8d64e3b061eb2" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a6301a60df27ab1506ce8d64e3b061eb2" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > readBlock< / b > (uint8_t *buffer, uint16_t offset)< / td > < / tr >
< tr class = "separator:a6301a60df27ab1506ce8d64e3b061eb2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4918672d8069df205378a528b1892db3" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a4918672d8069df205378a528b1892db3" > getBaudrate< / a > (void)< / td > < / tr >
< tr class = "separator:a4918672d8069df205378a528b1892db3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a19cf777956a038878fc2d2b58c3d2b41" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#a19cf777956a038878fc2d2b58c3d2b41" > getTimeout< / a > (void)< / td > < / tr >
< tr class = "separator:a19cf777956a038878fc2d2b58c3d2b41" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aac63918a8b97ae63ee607cfa39e6d88d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#aac63918a8b97ae63ee607cfa39e6d88d" > setBaudrate< / a > (uint32_t baudrate)< / td > < / tr >
< tr class = "separator:aac63918a8b97ae63ee607cfa39e6d88d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad7fe866cebe920784d2b17602824c7ff" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classUSART.html#ad7fe866cebe920784d2b17602824c7ff" > setTimeout< / a > (uint8_t timeout)< / td > < / tr >
< tr class = "separator:ad7fe866cebe920784d2b17602824c7ff" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-static-attribs" > < / a >
Static Public Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a3401693a5b971f54a2bf177e9a8b55fd" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a3401693a5b971f54a2bf177e9a8b55fd" > < / a >
constexpr static uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > CRC7_POLY< / b > = 0x91< / td > < / tr >
< tr class = "separator:a3401693a5b971f54a2bf177e9a8b55fd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a43cc131e2611437ed3c6c0448ba5ade5" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a43cc131e2611437ed3c6c0448ba5ade5" > < / a >
constexpr static uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > MAX_BLOCK_SIZE< / b > = 64< / td > < / tr >
< tr class = "separator:a43cc131e2611437ed3c6c0448ba5ade5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a19bfa88e843626b2d822361738cf0039" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a19bfa88e843626b2d822361738cf0039" > < / a >
constexpr static uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > BLOCK_END< / b > = 0x80< / td > < / tr >
< tr class = "separator:a19bfa88e843626b2d822361738cf0039" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2019-05-23 15:08:54 +02:00
< div class = "textblock" > < p > C++ Wrapper class for termios usart library. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8h_source.html#l00018" > 18< / a > of file < a class = "el" href = "usart_8h_source.html" > usart.h< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a28a2b4c5ed66b2c3a81196f76884f156" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a28a2b4c5ed66b2c3a81196f76884f156" > ◆ < / a > < / span > clearInputBuffer()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::clearInputBuffer < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Verwirft Daten, die bereits im Puffer liegen, aber noch nicht gelesen wurden < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00039" > 39< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
< / div >
< / div >
< a id = "a756d268a8762c316f91ca3238972b0c1" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a756d268a8762c316f91ca3238972b0c1" > ◆ < / a > < / span > clearOutputBuffer()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::clearOutputBuffer < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Verwirft Daten, die bereits im Puffer liegen, aber noch nicht gesendet wurden < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00046" > 46< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
< / div >
< / div >
< a id = "af80d6291ac1d2df04cfa1d8d27458cc5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af80d6291ac1d2df04cfa1d8d27458cc5" > ◆ < / a > < / span > closeDevice()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::closeDevice < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Schließt die < a class = "el" href = "classUSART.html" > USART< / a > Schnittstelle < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00032" > 32< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
< / div >
< / div >
< a id = "adb6ff4d1cf1af79ca255c5a81780200d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#adb6ff4d1cf1af79ca255c5a81780200d" > ◆ < / a > < / span > flushOutputBuffer()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::flushOutputBuffer < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Schreibt Daten, die bereits im Puffer liegen, aber noch nicht gesendet wurden < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00053" > 53< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
< / div >
< / div >
< a id = "a4918672d8069df205378a528b1892db3" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4918672d8069df205378a528b1892db3" > ◆ < / a > < / span > getBaudrate()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t USART::getBaudrate < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Liefert die eingestellte Baudrate < b > Änderungen werden erst nach einem open() wirksam< / b > < / p >
2019-05-28 12:32:31 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00312" > 312< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div >
< / div >
< a id = "a19cf777956a038878fc2d2b58c3d2b41" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a19cf777956a038878fc2d2b58c3d2b41" > ◆ < / a > < / span > getTimeout()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t USART::getTimeout < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Liefert den eingestellten Timeout (in Dezisekunden) < b > Änderungen werden erst nach einem open() wirksam< / b > < / p >
2019-05-28 12:32:31 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00317" > 317< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div >
< / div >
< a id = "a5f7e2abda2ec4a68a5fdb8ee2f8a940a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a5f7e2abda2ec4a68a5fdb8ee2f8a940a" > ◆ < / a > < / span > openDevice()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::openDevice < / td >
< td > (< / td >
< td class = "paramtype" > std::string  < / td >
< td class = "paramname" > < em > device< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Öffnet die < a class = "el" href = "classUSART.html" > USART< / a > Schnittstelle < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > device< / td > < td > Linux-Gerätepfad < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00003" > 3< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
< / div >
< / div >
< a id = "a33559bb8f0eda33a489d47b9c9227b59" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a33559bb8f0eda33a489d47b9c9227b59" > ◆ < / a > < / span > printStatistics()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::printStatistics < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Gibt Anzahl an erfolgreichen und fehlgeschlagenen Block-Übertragungen an < / p >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00060" > 60< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
< / div >
< / div >
< a id = "a8f54b98b26bfe084359a5604bda82562" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8f54b98b26bfe084359a5604bda82562" > ◆ < / a > < / span > readByte()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint8_t USART::readByte < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Empfängt ein Byte über die < a class = "el" href = "classUSART.html" > USART< / a > Schnittstelle < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
2019-05-28 12:32:31 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00216" > 216< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div >
< / div >
< a id = "a1534c229db71a375e556cf1e7d0b8119" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1534c229db71a375e556cf1e7d0b8119" > ◆ < / a > < / span > readInt()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint16_t USART::readInt < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Empfängt ein Integer über die < a class = "el" href = "classUSART.html" > USART< / a > Schnittstelle < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
2019-05-28 12:32:31 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00235" > 235< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div >
< / div >
< a id = "aac63918a8b97ae63ee607cfa39e6d88d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aac63918a8b97ae63ee607cfa39e6d88d" > ◆ < / a > < / span > setBaudrate()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::setBaudrate < / td >
< td > (< / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > baudrate< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Setzt die Baudrate < b > Änderungen werden erst nach einem open() wirksam< / b > < / p >
2019-05-28 12:32:31 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00322" > 322< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div >
< / div >
< a id = "ad7fe866cebe920784d2b17602824c7ff" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad7fe866cebe920784d2b17602824c7ff" > ◆ < / a > < / span > setTimeout()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::setTimeout < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > timeout< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Setzt den Timeout (in Dezisekunden) < b > Änderungen werden erst nach einem open() wirksam< / b > < / p >
2019-05-28 12:32:31 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00327" > 327< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div >
< / div >
< a id = "a60eadbe9956bab8144ee96d89eacd9f5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a60eadbe9956bab8144ee96d89eacd9f5" > ◆ < / a > < / span > writeByte()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::writeByte < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > b< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Sendet ein Byte über die < a class = "el" href = "classUSART.html" > USART< / a > Schnittstelle < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > b< / td > < td > das zu sendende Byte < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00067" > 67< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
< / div >
< / div >
< a id = "a78b30d9aa863f38745e982860392599a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a78b30d9aa863f38745e982860392599a" > ◆ < / a > < / span > writeInt()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::writeInt < / td >
< td > (< / td >
< td class = "paramtype" > uint16_t  < / td >
< td class = "paramname" > < em > d< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Sendet ein Integer über die < a class = "el" href = "classUSART.html" > USART< / a > Schnittstelle < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2019-05-28 12:32:31 +02:00
< tr > < td class = "paramname" > b< / td > < td > das zu sendende Int < / td > < / tr >
2019-05-22 09:46:48 +02:00
< / table >
< / dd >
< / dl >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00081" > 81< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-28 12:32:31 +02:00
< / div >
< / div >
< a id = "a68c2d1cb7172813ae8ed61360fad47f6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a68c2d1cb7172813ae8ed61360fad47f6" > ◆ < / a > < / span > writeU32()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void USART::writeU32 < / td >
< td > (< / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > d< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Sendet ein uint32_t über die < a class = "el" href = "classUSART.html" > USART< / a > Schnittstelle < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > b< / td > < td > das zu sendende uint32_t < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classUSARTException.html" > USARTException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "definition" > Definition at line < a class = "el" href = "usart_8cpp_source.html#l00088" > 88< / a > of file < a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > .< / p >
2019-05-22 09:46:48 +02:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2019-05-22 10:46:23 +02:00
< li > drv/< a class = "el" href = "usart_8h_source.html" > usart.h< / a > < / li >
< li > drv/< a class = "el" href = "usart_8cpp_source.html" > usart.cpp< / a > < / li >
2019-05-22 09:46:48 +02:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2019-05-28 12:32:31 +02:00
Generated on Tue May 28 2019 12:31:39 for B15F by   < a href = "http://www.doxygen.org/index.html" >
2019-05-22 09:46:48 +02:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.16
< / small > < / address >
< / body >
< / html >