b15f/docs/html/classB15F.html
2019-07-08 21:09:57 +02:00

1318 lines
64 KiB
HTML

<!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: B15F 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&amp;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&amp;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> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classB15F-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">B15F Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="b15f_8h_source.html">b15f.h</a>&gt;</code></p>
<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:a52557b375443c180a044e7d4e80a1ae7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a52557b375443c180a044e7d4e80a1ae7">reconnect</a> (void)</td></tr>
<tr class="separator:a52557b375443c180a044e7d4e80a1ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4740cd473f40a1a4121dfa66b25e1d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ae4740cd473f40a1a4121dfa66b25e1d5">discard</a> (void)</td></tr>
<tr class="separator:ae4740cd473f40a1a4121dfa66b25e1d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b8c7da1fb9b619543844e0ce7597d83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a6b8c7da1fb9b619543844e0ce7597d83">testConnection</a> (void)</td></tr>
<tr class="separator:a6b8c7da1fb9b619543844e0ce7597d83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2c7b6d84da5239ee7cc3d44e689d9db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ac2c7b6d84da5239ee7cc3d44e689d9db">testIntConv</a> (void)</td></tr>
<tr class="separator:ac2c7b6d84da5239ee7cc3d44e689d9db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f01677e73d6d172a2c1cae9427a591b"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a4f01677e73d6d172a2c1cae9427a591b">getBoardInfo</a> (void)</td></tr>
<tr class="separator:a4f01677e73d6d172a2c1cae9427a591b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaffce20afb9f06bc4b7556c70ce76416"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#aaffce20afb9f06bc4b7556c70ce76416">delay_ms</a> (uint16_t ms)</td></tr>
<tr class="separator:aaffce20afb9f06bc4b7556c70ce76416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcaac8ae8db3c28eccb499fbd720361f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#adcaac8ae8db3c28eccb499fbd720361f">delay_us</a> (uint16_t us)</td></tr>
<tr class="separator:adcaac8ae8db3c28eccb499fbd720361f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2937f22f1cfc9b533f4b5bf4db726a68"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a2937f22f1cfc9b533f4b5bf4db726a68">reverse</a> (uint8_t &amp;b)</td></tr>
<tr class="separator:a2937f22f1cfc9b533f4b5bf4db726a68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebb9a8bff15d422b62d21fd4d8408c8a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#aebb9a8bff15d422b62d21fd4d8408c8a">activateSelfTestMode</a> (void)</td></tr>
<tr class="separator:aebb9a8bff15d422b62d21fd4d8408c8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd2c5753b8a5d323d9cfca77986fe893"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#afd2c5753b8a5d323d9cfca77986fe893">digitalWrite0</a> (uint8_t)</td></tr>
<tr class="separator:afd2c5753b8a5d323d9cfca77986fe893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f0d3891ec613a569b0a4309dfe213da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a8f0d3891ec613a569b0a4309dfe213da">digitalWrite1</a> (uint8_t)</td></tr>
<tr class="separator:a8f0d3891ec613a569b0a4309dfe213da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0df6d423deeb2fd610968bd1c72060e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ae0df6d423deeb2fd610968bd1c72060e">digitalRead0</a> (void)</td></tr>
<tr class="separator:ae0df6d423deeb2fd610968bd1c72060e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc76b612dd4faeee0ac02a66b65af5f2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#afc76b612dd4faeee0ac02a66b65af5f2">digitalRead1</a> (void)</td></tr>
<tr class="separator:afc76b612dd4faeee0ac02a66b65af5f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f858f21ea81d491b5031b3644a2239a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a6f858f21ea81d491b5031b3644a2239a">readDipSwitch</a> (void)</td></tr>
<tr class="separator:a6f858f21ea81d491b5031b3644a2239a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a051da899f0883737dd1de1ba6a86f466"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a051da899f0883737dd1de1ba6a86f466">analogWrite0</a> (uint16_t port)</td></tr>
<tr class="separator:a051da899f0883737dd1de1ba6a86f466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae7bdafb19bf0adf5c7d9d0aff61c81a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#aae7bdafb19bf0adf5c7d9d0aff61c81a">analogWrite1</a> (uint16_t port)</td></tr>
<tr class="separator:aae7bdafb19bf0adf5c7d9d0aff61c81a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0bd1f69751e2dc3c462db9213fc4627"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ae0bd1f69751e2dc3c462db9213fc4627">analogRead</a> (uint8_t channel)</td></tr>
<tr class="separator:ae0bd1f69751e2dc3c462db9213fc4627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab82a324426c3063318c6cafb3089ae02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ab82a324426c3063318c6cafb3089ae02">analogSequence</a> (uint8_t channel_a, uint16_t *buffer_a, uint32_t offset_a, uint8_t channel_b, uint16_t *buffer_b, uint32_t offset_b, uint16_t start, int16_t delta, uint16_t count)</td></tr>
<tr class="separator:ab82a324426c3063318c6cafb3089ae02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6f6532bb9550a0632c28b98c157d0a1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ac6f6532bb9550a0632c28b98c157d0a1">pwmSetFrequency</a> (uint32_t freq)</td></tr>
<tr class="separator:ac6f6532bb9550a0632c28b98c157d0a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae99d74a945039c365ebd2f995b5546e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#aae99d74a945039c365ebd2f995b5546e">pwmSetValue</a> (uint8_t value)</td></tr>
<tr class="separator:aae99d74a945039c365ebd2f995b5546e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65c0eee6b40b6d3ec58b0335fd668503"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a65c0eee6b40b6d3ec58b0335fd668503">setMem8</a> (volatile uint8_t *adr, uint8_t val)</td></tr>
<tr class="separator:a65c0eee6b40b6d3ec58b0335fd668503"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a404bd21d5db7270744eea77edfd9578a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a404bd21d5db7270744eea77edfd9578a">getMem8</a> (volatile uint8_t *adr)</td></tr>
<tr class="separator:a404bd21d5db7270744eea77edfd9578a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62ef2ee9bd945d30979939fcffa6759a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a62ef2ee9bd945d30979939fcffa6759a">setMem16</a> (volatile uint16_t *adr, uint16_t val)</td></tr>
<tr class="separator:a62ef2ee9bd945d30979939fcffa6759a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f84a830f054fbede9444d3b9bb566c4"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a5f84a830f054fbede9444d3b9bb566c4">getMem16</a> (volatile uint16_t *adr)</td></tr>
<tr class="separator:a5f84a830f054fbede9444d3b9bb566c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47d7b797129d1ee7ebee4d8ae4f0ff93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a47d7b797129d1ee7ebee4d8ae4f0ff93">setRegister</a> (volatile uint8_t *adr, uint8_t val)</td></tr>
<tr class="separator:a47d7b797129d1ee7ebee4d8ae4f0ff93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bd47da39928af6f51075bdc3fe73ddc"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a9bd47da39928af6f51075bdc3fe73ddc">getRegister</a> (volatile uint8_t *adr)</td></tr>
<tr class="separator:a9bd47da39928af6f51075bdc3fe73ddc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a055e5b62432aa08c711f430fc0181d86"><td class="memItemLeft" align="right" valign="top">uint16_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a055e5b62432aa08c711f430fc0181d86">getInterruptCounterOffset</a> (void)</td></tr>
<tr class="separator:a055e5b62432aa08c711f430fc0181d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23d8c5a0b520b9d12d94a04f90fcfa0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ab23d8c5a0b520b9d12d94a04f90fcfa0">setServoEnabled</a> (void)</td></tr>
<tr class="separator:ab23d8c5a0b520b9d12d94a04f90fcfa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad1b3206761c06c7183ae1b8b95b350b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#aad1b3206761c06c7183ae1b8b95b350b">setServoDisabled</a> (void)</td></tr>
<tr class="separator:aad1b3206761c06c7183ae1b8b95b350b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa76f289274e5d0be41c5d4a58b52a416"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#aa76f289274e5d0be41c5d4a58b52a416">setServoPosition</a> (uint16_t pos)</td></tr>
<tr class="separator:aa76f289274e5d0be41c5d4a58b52a416"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8b4533d232c55ef2aa967e39e2d23380"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classB15F.html">B15F</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a8b4533d232c55ef2aa967e39e2d23380">getInstance</a> (void)</td></tr>
<tr class="separator:a8b4533d232c55ef2aa967e39e2d23380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a7ac52984ed7ecac008a3e4060eee3a"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a1a7ac52984ed7ecac008a3e4060eee3a">exec</a> (std::string cmd)</td></tr>
<tr class="separator:a1a7ac52984ed7ecac008a3e4060eee3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f09a418f9e3be5d1d750e4515c96f1e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a3f09a418f9e3be5d1d750e4515c96f1e">abort</a> (std::string msg)</td></tr>
<tr class="separator:a3f09a418f9e3be5d1d750e4515c96f1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac962a6a49bddd0e261a8c7d3aded23f8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ac962a6a49bddd0e261a8c7d3aded23f8">abort</a> (std::exception &amp;ex)</td></tr>
<tr class="separator:ac962a6a49bddd0e261a8c7d3aded23f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55b0cd1ea582bda53d6979442640f8e9"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a55b0cd1ea582bda53d6979442640f8e9">setAbortHandler</a> (errorhandler_t func)</td></tr>
<tr class="separator:a55b0cd1ea582bda53d6979442640f8e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3b0fc1f85954b2d9c145af4a3af5b1ec"><td class="memItemLeft" align="right" valign="top"><a id="a3b0fc1f85954b2d9c145af4a3af5b1ec"></a>
const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a3b0fc1f85954b2d9c145af4a3af5b1ec">PRE</a> = &quot;[B15F] &quot;</td></tr>
<tr class="memdesc:a3b0fc1f85954b2d9c145af4a3af5b1ec"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classB15F.html">B15F</a> stdout prefix. <br /></td></tr>
<tr class="separator:a3b0fc1f85954b2d9c145af4a3af5b1ec"><td class="memSeparator" colspan="2">&#160;</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:ab01299858f74a6cec598688562e0ad02"><td class="memItemLeft" align="right" valign="top"><a id="ab01299858f74a6cec598688562e0ad02"></a>
constexpr static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ab01299858f74a6cec598688562e0ad02">MSG_OK</a> = 0xFF</td></tr>
<tr class="memdesc:ab01299858f74a6cec598688562e0ad02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Value to acknowledge a received command. <br /></td></tr>
<tr class="separator:ab01299858f74a6cec598688562e0ad02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77d1ecf24b406c9204665d3b09c36f1e"><td class="memItemLeft" align="right" valign="top"><a id="a77d1ecf24b406c9204665d3b09c36f1e"></a>
constexpr static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a77d1ecf24b406c9204665d3b09c36f1e">MSG_FAIL</a> = 0xFE</td></tr>
<tr class="memdesc:a77d1ecf24b406c9204665d3b09c36f1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Value to reject a received command. <br /></td></tr>
<tr class="separator:a77d1ecf24b406c9204665d3b09c36f1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a040951746fbfd632e12bd1ad14578816"><td class="memItemLeft" align="right" valign="top"><a id="a040951746fbfd632e12bd1ad14578816"></a>
constexpr static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a040951746fbfd632e12bd1ad14578816">RECONNECT_TIMEOUT</a> = 64</td></tr>
<tr class="memdesc:a040951746fbfd632e12bd1ad14578816"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time in ms after which a reconnect attempt aborts. <br /></td></tr>
<tr class="separator:a040951746fbfd632e12bd1ad14578816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a158d13bc84aed6430cdede1396384e06"><td class="memItemLeft" align="right" valign="top"><a id="a158d13bc84aed6430cdede1396384e06"></a>
constexpr static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a158d13bc84aed6430cdede1396384e06">WDT_TIMEOUT</a> = 15</td></tr>
<tr class="memdesc:a158d13bc84aed6430cdede1396384e06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time in ms after which the watch dog timer resets the MCU. <br /></td></tr>
<tr class="separator:a158d13bc84aed6430cdede1396384e06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c4895bdbcd71ff6743becf97985c2dc"><td class="memItemLeft" align="right" valign="top"><a id="a6c4895bdbcd71ff6743becf97985c2dc"></a>
constexpr static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a6c4895bdbcd71ff6743becf97985c2dc">RECONNECT_TRIES</a> = 3</td></tr>
<tr class="memdesc:a6c4895bdbcd71ff6743becf97985c2dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum count of reconnect attempts after which the driver stops. <br /></td></tr>
<tr class="separator:a6c4895bdbcd71ff6743becf97985c2dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d548d6861cfc69753161bf9cda14f87"><td class="memItemLeft" align="right" valign="top"><a id="a7d548d6861cfc69753161bf9cda14f87"></a>
constexpr static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a7d548d6861cfc69753161bf9cda14f87">BAUDRATE</a> = 57600</td></tr>
<tr class="memdesc:a7d548d6861cfc69753161bf9cda14f87"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classUSART.html">USART</a> baudrate for communication with the MCU. <br /></td></tr>
<tr class="separator:a7d548d6861cfc69753161bf9cda14f87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>main driver class </p>
<p class="definition">Definition at line <a class="el" href="b15f_8h_source.html#l00038">38</a> of file <a class="el" href="b15f_8h_source.html">b15f.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ac962a6a49bddd0e261a8c7d3aded23f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac962a6a49bddd0e261a8c7d3aded23f8">&#9670;&nbsp;</a></span>abort() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void B15F::abort </td>
<td>(</td>
<td class="paramtype">std::exception &amp;&#160;</td>
<td class="paramname"><em>ex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Multithread sicherer Abbruch des B15F-Treibers </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ex</td><td>Exception als Abbruchursache </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00181">181</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a3f09a418f9e3be5d1d750e4515c96f1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f09a418f9e3be5d1d750e4515c96f1e">&#9670;&nbsp;</a></span>abort() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void B15F::abort </td>
<td>(</td>
<td class="paramtype">std::string&#160;</td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Multithread sicherer Abbruch des B15F-Treibers </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">msg</td><td>Beschreibung der Abbruchursache </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00175">175</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="aebb9a8bff15d422b62d21fd4d8408c8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebb9a8bff15d422b62d21fd4d8408c8a">&#9670;&nbsp;</a></span>activateSelfTestMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::activateSelfTestMode </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Versetzt das Board in den Selbsttest-Modus WICHTIG: Es darf dabei nichts an den Klemmen angeschlossen sein! </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00204">204</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="ae0bd1f69751e2dc3c462db9213fc4627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0bd1f69751e2dc3c462db9213fc4627">&#9670;&nbsp;</a></span>analogRead()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t B15F::analogRead </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>channel</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liest den Wert des Analog-Digital-Converters (ADC / ADU) </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel</td><td>Kanalwahl von 0 - 7 </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00336">336</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="ab82a324426c3063318c6cafb3089ae02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab82a324426c3063318c6cafb3089ae02">&#9670;&nbsp;</a></span>analogSequence()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::analogSequence </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>channel_a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t *&#160;</td>
<td class="paramname"><em>buffer_a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>offset_a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>channel_b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t *&#160;</td>
<td class="paramname"><em>buffer_b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>offset_b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int16_t&#160;</td>
<td class="paramname"><em>delta</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>count</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>DAC 0 wird auf den Startwert gesetzt und dann schrittweise um Delta inkrementiert. Für jeden eingestelleten DAC-Wert werden zwei ADCs (channel_a und channel_b) angesprochen und die Werte übermittelt. Die Werte werden in buffer_a für Kanal a und buffer_b für Kanal b gespeichert. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel_a</td><td>Auswahl des ADC a, von 0 - 7 </td></tr>
<tr><td class="paramname">buffer_a</td><td>Speichertort für Werte des Kanals a </td></tr>
<tr><td class="paramname">offset_a</td><td>Anzahl an Werten des Kanals a, die im Speicher übersprungen werden sollen </td></tr>
<tr><td class="paramname">channel_b</td><td>Auswahl des ADC b, von 0 - 7 </td></tr>
<tr><td class="paramname">buffer_b</td><td>Speichertort für Werte des Kanals b </td></tr>
<tr><td class="paramname">offset_b</td><td>Anzahl an Werten des Kanals b, die im Speicher übersprungen werden </td></tr>
<tr><td class="paramname">start</td><td>Startwert des DACs </td></tr>
<tr><td class="paramname">delta</td><td>Schrittweite, mit welcher der DAC inkrementiert wird </td></tr>
<tr><td class="paramname">count</td><td>Anzahl an Inkrementierungen </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00359">359</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a051da899f0883737dd1de1ba6a86f466"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a051da899f0883737dd1de1ba6a86f466">&#9670;&nbsp;</a></span>analogWrite0()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::analogWrite0 </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>port</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt den Wert des Digital-Analog-Converters (DAC / DAU) 0 </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">port</td><td>10-Bit Wert </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00302">302</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="aae7bdafb19bf0adf5c7d9d0aff61c81a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae7bdafb19bf0adf5c7d9d0aff61c81a">&#9670;&nbsp;</a></span>analogWrite1()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::analogWrite1 </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>port</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt den Wert des Digital-Analog-Converters (DAC / DAU) 1 </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">port</td><td>10-Bit Wert </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00319">319</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="aaffce20afb9f06bc4b7556c70ce76416"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaffce20afb9f06bc4b7556c70ce76416">&#9670;&nbsp;</a></span>delay_ms()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::delay_ms </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>ms</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Lässt den Treiber für eine angegebene Zeit pausieren </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ms</td><td>Verzögerung in Millisekunden </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00141">141</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="adcaac8ae8db3c28eccb499fbd720361f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcaac8ae8db3c28eccb499fbd720361f">&#9670;&nbsp;</a></span>delay_us()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::delay_us </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>us</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Lässt den Treiber für eine angegebene Zeit pausieren </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">us</td><td>Verzögerung in Microsekunden </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00146">146</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="ae0df6d423deeb2fd610968bd1c72060e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0df6d423deeb2fd610968bd1c72060e">&#9670;&nbsp;</a></span>digitalRead0()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t B15F::digitalRead0 </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liest den Wert des digitalen Eingabeports 0 </p><dl class="section return"><dt>Returns</dt><dd>Wert für gesamten Port </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00251">251</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="afc76b612dd4faeee0ac02a66b65af5f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc76b612dd4faeee0ac02a66b65af5f2">&#9670;&nbsp;</a></span>digitalRead1()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t B15F::digitalRead1 </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liest den Wert des digitalen Eingabeports 1 </p><dl class="section return"><dt>Returns</dt><dd>Wert für gesamten Port </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00267">267</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="afd2c5753b8a5d323d9cfca77986fe893"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd2c5753b8a5d323d9cfca77986fe893">&#9670;&nbsp;</a></span>digitalWrite0()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::digitalWrite0 </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>port</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt den Wert des digitalen Ausgabeports 0 </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">port</td><td>Wert für gesamten Port </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00219">219</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a8f0d3891ec613a569b0a4309dfe213da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f0d3891ec613a569b0a4309dfe213da">&#9670;&nbsp;</a></span>digitalWrite1()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::digitalWrite1 </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>port</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt den Wert des digitalen Ausgabeports 1 </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">port</td><td>Wert für gesamten Port </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00235">235</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="ae4740cd473f40a1a4121dfa66b25e1d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4740cd473f40a1a4121dfa66b25e1d5">&#9670;&nbsp;</a></span>discard()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::discard </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Verwirft Daten im <a class="el" href="classUSART.html">USART</a> Puffer auf dieser Maschine und B15 </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00040">40</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a1a7ac52984ed7ecac008a3e4060eee3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a7ac52984ed7ecac008a3e4060eee3a">&#9670;&nbsp;</a></span>exec()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string B15F::exec </td>
<td>(</td>
<td class="paramtype">std::string&#160;</td>
<td class="paramname"><em>cmd</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Führt ein Befehl auf dieser Maschine aus und liefert stdout zurück </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cmd</td><td>Der Befehl </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00159">159</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a4f01677e73d6d172a2c1cae9427a591b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f01677e73d6d172a2c1cae9427a591b">&#9670;&nbsp;</a></span>getBoardInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; std::string &gt; B15F::getBoardInfo </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liefert Informationen zur aktuellen Firmware des B15 </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00107">107</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a8b4533d232c55ef2aa967e39e2d23380"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b4533d232c55ef2aa967e39e2d23380">&#9670;&nbsp;</a></span>getInstance()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classB15F.html">B15F</a> &amp; B15F::getInstance </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Liefert eine Referenz zur aktuellen Treiber-Instanz, die Verbindung wird gegebenenfalls automatisch hergestellt. </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00010">10</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a055e5b62432aa08c711f430fc0181d86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a055e5b62432aa08c711f430fc0181d86">&#9670;&nbsp;</a></span>getInterruptCounterOffset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t * B15F::getInterruptCounterOffset </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liefert die Adresse des ersten Interrupt Counters (BASISR). </p><dl class="section return"><dt>Returns</dt><dd>Adresse (in der MCU) </dd></dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00544">544</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a5f84a830f054fbede9444d3b9bb566c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f84a830f054fbede9444d3b9bb566c4">&#9670;&nbsp;</a></span>getMem16()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t B15F::getMem16 </td>
<td>(</td>
<td class="paramtype">volatile uint16_t *&#160;</td>
<td class="paramname"><em>adr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liefert den Wert einer MCU Speicherzelle der Größe 16 Bit. Diese kann ein Register oder RAM-Daten sein. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">adr</td><td>Speicheradresse </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Wert der Speicherzelle </dd></dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00515">515</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a404bd21d5db7270744eea77edfd9578a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a404bd21d5db7270744eea77edfd9578a">&#9670;&nbsp;</a></span>getMem8()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t B15F::getMem8 </td>
<td>(</td>
<td class="paramtype">volatile uint8_t *&#160;</td>
<td class="paramname"><em>adr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liefert den Wert einer MCU Speicherzelle der Größe 8 Bit. Diese kann ein Register oder RAM-Daten sein. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">adr</td><td>Speicheradresse </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Wert der Speicherzelle </dd></dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00475">475</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a9bd47da39928af6f51075bdc3fe73ddc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bd47da39928af6f51075bdc3fe73ddc">&#9670;&nbsp;</a></span>getRegister()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t B15F::getRegister </td>
<td>(</td>
<td class="paramtype">volatile uint8_t *&#160;</td>
<td class="paramname"><em>adr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Diese Funktion ist ein Alias für <a class="el" href="classB15F.html#a404bd21d5db7270744eea77edfd9578a">getMem8()</a>. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">adr</td><td>Speicheradresse </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Wert des Registers </dd></dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00539">539</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="ac6f6532bb9550a0632c28b98c157d0a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6f6532bb9550a0632c28b98c157d0a1">&#9670;&nbsp;</a></span>pwmSetFrequency()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t B15F::pwmSetFrequency </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>freq</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Frequenz von PWM an PB4. Setzt die Register so, dass näherungsweise die gewünschte Frequenz erzeugt wird. Ist freq == 0 wird PWM deaktiviert. Standardfrequenz: 31300 (empfohlen, da dann TOP == 255) </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">freq</td><td>PWM Frequenz </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TOP Wert des PWM Value für die gesetzte Frequenz </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00416">416</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="aae99d74a945039c365ebd2f995b5546e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae99d74a945039c365ebd2f995b5546e">&#9670;&nbsp;</a></span>pwmSetValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::pwmSetValue </td>
<td>(</td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt den PWM Wert an PB4. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">value</td><td>PWM Wert [0..TOP] </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00437">437</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a6f858f21ea81d491b5031b3644a2239a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f858f21ea81d491b5031b3644a2239a">&#9670;&nbsp;</a></span>readDipSwitch()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t B15F::readDipSwitch </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Liest den Wert des digitalen Eingabeports, an dem der DIP-switch angeschlossen ist (S7) </p><dl class="section return"><dt>Returns</dt><dd>Wert für gesamten Port </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00283">283</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a52557b375443c180a044e7d4e80a1ae7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52557b375443c180a044e7d4e80a1ae7">&#9670;&nbsp;</a></span>reconnect()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::reconnect </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Versucht die Verbindung zum B15 wiederherzustellen </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00018">18</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a2937f22f1cfc9b533f4b5bf4db726a68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2937f22f1cfc9b533f4b5bf4db726a68">&#9670;&nbsp;</a></span>reverse()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::reverse </td>
<td>(</td>
<td class="paramtype">uint8_t &amp;&#160;</td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Invertiert das Bitmuster eines Bytes z.B.: 10100001 --&gt; 10000101 </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">b</td><td>Byte, das invertiert wird </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00151">151</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a55b0cd1ea582bda53d6979442640f8e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55b0cd1ea582bda53d6979442640f8e9">&#9670;&nbsp;</a></span>setAbortHandler()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void B15F::setAbortHandler </td>
<td>(</td>
<td class="paramtype">errorhandler_t&#160;</td>
<td class="paramname"><em>func</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt eine Fehlerbehandlungsroutine für den Treiberabbruch (abort) </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">func</td><td>Funktion, die Exception als Parameter bekommt </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00192">192</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a62ef2ee9bd945d30979939fcffa6759a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62ef2ee9bd945d30979939fcffa6759a">&#9670;&nbsp;</a></span>setMem16()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::setMem16 </td>
<td>(</td>
<td class="paramtype">volatile uint16_t *&#160;</td>
<td class="paramname"><em>adr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>val</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt direkt den Wert einer MCU Speicherzelle der Größe 16 Bit. Diese kann ein Register oder RAM-Daten sein. <em>Wichtig:</em> bei einer falschen Adresse kann das Board 15 ernsthaften Schaden nehmen! </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">adr</td><td>Speicheradresse </td></tr>
<tr><td class="paramname">val</td><td>Neuer Wert für die Zelle </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00494">494</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a65c0eee6b40b6d3ec58b0335fd668503"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65c0eee6b40b6d3ec58b0335fd668503">&#9670;&nbsp;</a></span>setMem8()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::setMem8 </td>
<td>(</td>
<td class="paramtype">volatile uint8_t *&#160;</td>
<td class="paramname"><em>adr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>val</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt direkt den Wert einer MCU Speicherzelle der Größe 8 Bit. Diese kann ein Register oder RAM-Daten sein. <em>Wichtig:</em> bei einer falschen Adresse kann das Board 15 ernsthaften Schaden nehmen! </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">adr</td><td>Speicheradresse </td></tr>
<tr><td class="paramname">val</td><td>Neuer Wert für die Zelle </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, falls Vorgang erfolgreich </dd></dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00455">455</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a47d7b797129d1ee7ebee4d8ae4f0ff93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47d7b797129d1ee7ebee4d8ae4f0ff93">&#9670;&nbsp;</a></span>setRegister()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::setRegister </td>
<td>(</td>
<td class="paramtype">volatile uint8_t *&#160;</td>
<td class="paramname"><em>adr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>val</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Diese Funktion ist ein Alias für <a class="el" href="classB15F.html#a65c0eee6b40b6d3ec58b0335fd668503">setMem8()</a>. <em>Wichtig:</em> bei einer falschen Adresse kann das Board 15 ernsthaften Schaden nehmen! </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">adr</td><td>Speicheradresse </td></tr>
<tr><td class="paramname">val</td><td>Neuer Wert für das Register </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00534">534</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="aad1b3206761c06c7183ae1b8b95b350b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad1b3206761c06c7183ae1b8b95b350b">&#9670;&nbsp;</a></span>setServoDisabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::setServoDisabled </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deaktiviert das Servo Signal an PB2. </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00578">578</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="ab23d8c5a0b520b9d12d94a04f90fcfa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab23d8c5a0b520b9d12d94a04f90fcfa0">&#9670;&nbsp;</a></span>setServoEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::setServoEnabled </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Aktiviert das Servo Signal an PB2 und Initialisiert es mit 1,5ms Pulselänge. </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00561">561</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="aa76f289274e5d0be41c5d4a58b52a416"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa76f289274e5d0be41c5d4a58b52a416">&#9670;&nbsp;</a></span>setServoPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::setServoPosition </td>
<td>(</td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Setzt die Pulselänge des Servo Signals und damit die Position. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>Pulselänge des Signals in Mikrosekunden </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00595">595</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="a6b8c7da1fb9b619543844e0ce7597d83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b8c7da1fb9b619543844e0ce7597d83">&#9670;&nbsp;</a></span>testConnection()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::testConnection </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Testet die <a class="el" href="classUSART.html">USART</a> Verbindung auf Funktion </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00063">63</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<a id="ac2c7b6d84da5239ee7cc3d44e689d9db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2c7b6d84da5239ee7cc3d44e689d9db">&#9670;&nbsp;</a></span>testIntConv()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void B15F::testIntConv </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Testet die Integer Konvertierung der <a class="el" href="classUSART.html">USART</a> Verbindung </p><dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classDriverException.html">DriverException</a></td><td></td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00085">85</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>drv/<a class="el" href="b15f_8h_source.html">b15f.h</a></li>
<li>drv/<a class="el" href="b15f_8cpp_source.html">b15f.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jul 8 2019 21:09:34 for B15F by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>