analogSequence repaired
This commit is contained in:
parent
ff84de538a
commit
bff5ff42e9
Binary file not shown.
|
@ -12,12 +12,86 @@
|
|||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="d13a1bae-0fd7-48fc-b53c-d6dd1aaf95b9" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/cli.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/cli.cpp" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../bin/b15fcli" beforeDir="false" afterPath="$PROJECT_DIR$/../bin/b15fcli" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/drv/b15f.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/drv/b15f.cpp" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/drv/timeoutexception.h" beforeDir="false" afterPath="$PROJECT_DIR$/drv/timeoutexception.h" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/drv/usart.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/drv/usart.cpp" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/drv/usart.cpp.orig" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/drv/usart.h" beforeDir="false" afterPath="$PROJECT_DIR$/drv/usart.h" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/CMakeCCompilerId_8c_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/CMakeCCompilerId_8c_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/CMakeCXXCompilerId_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/CMakeCXXCompilerId_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/annotated.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/annotated.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/b15f_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/b15f_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/b15f_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/b15f_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/backup_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/backup_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classB15F-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classB15F-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classB15F.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classB15F.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classDot-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classDot-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classDot.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classDot.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classDriverException-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classDriverException-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classDriverException.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classDriverException.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classPlottyFile-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classPlottyFile-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classPlottyFile.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classPlottyFile.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classTimeoutException-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classTimeoutException-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classTimeoutException.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classTimeoutException.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classUSART-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classUSART-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classUSART.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classUSART.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classUSARTException-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classUSARTException-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classUSARTException.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classUSARTException.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classView-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classView-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classView.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classView.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewInfo-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewInfo-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewInfo.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewInfo.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewMonitor-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewMonitor-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewMonitor.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewMonitor.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewPromt-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewPromt-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewPromt.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewPromt.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewSelection-members.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewSelection-members.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classViewSelection.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classViewSelection.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/classes.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/classes.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/cli_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/cli_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dir_1788f8309b1a812dcb800a185471cf6c.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dir_1788f8309b1a812dcb800a185471cf6c.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dir_19f2f1b99f19c12fa55b8d312cf373ed.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dir_19f2f1b99f19c12fa55b8d312cf373ed.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dir_3d3c8ff3ebf9841b39117ac899f41936.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dir_3d3c8ff3ebf9841b39117ac899f41936.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dir_587c94d866dbb2f408f78cf41f9b2f8d.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dir_587c94d866dbb2f408f78cf41f9b2f8d.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dir_90e361ec3542f3dd076ea3ad19547437.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dir_90e361ec3542f3dd076ea3ad19547437.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dir_95e29a8b8ee7c54052c171a88bb95675.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dir_95e29a8b8ee7c54052c171a88bb95675.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dir_f89abcb304c928c7d889aa5625570de5.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dir_f89abcb304c928c7d889aa5625570de5.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dot_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dot_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/dot_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/dot_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/driverexception_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/driverexception_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/feature__tests_8c_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/feature__tests_8c_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/feature__tests_8cxx_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/feature__tests_8cxx_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/files.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/files.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/functions.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/functions.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/functions_func.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/functions_func.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/functions_vars.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/functions_vars.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/hierarchy.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/hierarchy.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/index.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/plottyfile_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/plottyfile_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/plottyfile_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/plottyfile_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/all_10.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/all_10.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/all_7.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/all_7.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/all_c.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/all_c.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/all_f.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/all_f.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/functions_a.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/functions_a.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/functions_c.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/functions_c.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/functions_d.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/functions_d.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/search/variables_1.js" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/search/variables_1.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/timeoutexception_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/timeoutexception_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/ui_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/ui_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/ui_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/ui_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/usart_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/usart_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/usart_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/usart_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/usartexception_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/usartexception_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__info_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__info_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__info_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__info_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__monitor_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__monitor_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__monitor_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__monitor_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__promt_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__promt_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__promt_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__promt_8h_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__selection_8cpp_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__selection_8cpp_source.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../docs/html/view__selection_8h_source.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../docs/html/view__selection_8h_source.html" afterDir="false" />
|
||||
</list>
|
||||
<ignored path="$PROJECT_DIR$/cmake-build-debug/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
|
@ -43,8 +117,8 @@
|
|||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/drv/usart.h">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="396">
|
||||
<caret line="126" column="44" selection-start-line="126" selection-start-column="44" selection-end-line="126" selection-end-column="44" />
|
||||
<state relative-caret-position="291">
|
||||
<caret line="83" column="34" lean-forward="true" selection-start-line="83" selection-start-column="34" selection-end-line="83" selection-end-column="34" />
|
||||
<folding>
|
||||
<element signature="e#33#51#0" expanded="true" />
|
||||
</folding>
|
||||
|
@ -52,6 +126,18 @@
|
|||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/drv/usart.cpp">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="366">
|
||||
<caret line="115" column="49" selection-start-line="115" selection-start-column="49" selection-end-line="115" selection-end-column="49" />
|
||||
<folding>
|
||||
<element signature="e#0#20#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/drv/usartexception.h">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
|
@ -88,26 +174,26 @@
|
|||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/drv/b15f.h">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="285">
|
||||
<caret line="34" column="41" selection-start-line="34" selection-start-column="41" selection-end-line="34" selection-end-column="41" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/drv/b15f.cpp">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="375">
|
||||
<caret line="154" selection-start-line="154" selection-end-line="154" />
|
||||
<state relative-caret-position="352">
|
||||
<caret line="266" column="46" selection-start-line="266" selection-start-column="29" selection-end-line="266" selection-end-column="46" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/drv/b15f.cpp">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="347">
|
||||
<caret line="324" column="11" selection-start-line="324" selection-start-column="11" selection-end-line="324" selection-end-column="11" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/cli.cpp">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state>
|
||||
<caret column="2" selection-start-column="2" selection-end-column="2" />
|
||||
<state relative-caret-position="135">
|
||||
<caret line="26" column="26" selection-start-line="26" selection-start-column="26" selection-end-line="26" selection-end-column="26" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
|
@ -118,8 +204,8 @@
|
|||
<findStrings>
|
||||
<find>read</find>
|
||||
<find>read_timeout</find>
|
||||
<find>read_timeout</find>
|
||||
<find>write_timeout</find>
|
||||
<find>RQ_ADC_DAC_STROKE</find>
|
||||
</findStrings>
|
||||
<replaceStrings>
|
||||
<replace>::read_timeout</replace>
|
||||
|
@ -137,10 +223,10 @@
|
|||
<option value="$PROJECT_DIR$/drv/usartexception.h" />
|
||||
<option value="$PROJECT_DIR$/Makefile" />
|
||||
<option value="$PROJECT_DIR$/drv/timeoutexception.h" />
|
||||
<option value="$PROJECT_DIR$/cli.cpp" />
|
||||
<option value="$PROJECT_DIR$/drv/usart.h" />
|
||||
<option value="$PROJECT_DIR$/drv/usart.cpp" />
|
||||
<option value="$PROJECT_DIR$/drv/b15f.cpp" />
|
||||
<option value="$PROJECT_DIR$/cli.cpp" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
|
@ -224,18 +310,18 @@
|
|||
<updated>1559118962147</updated>
|
||||
<workItem from="1559118964304" duration="1913000" />
|
||||
<workItem from="1559633658436" duration="5344000" />
|
||||
<workItem from="1559813060146" duration="2140000" />
|
||||
<workItem from="1559813060146" duration="2642000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="9397000" />
|
||||
<option name="totallyTimeSpent" value="9899000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="67" y="25" width="1853" height="1055" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.255119" />
|
||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.255119" />
|
||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||
<window_info id="Favorites" order="2" side_tool="true" />
|
||||
<window_info anchor="bottom" id="Message" order="0" />
|
||||
|
@ -247,7 +333,7 @@
|
|||
<window_info anchor="bottom" id="TODO" order="6" />
|
||||
<window_info anchor="bottom" id="Database Changes" order="7" />
|
||||
<window_info anchor="bottom" id="Messages" order="8" weight="0.32937366" />
|
||||
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.4997233" visible="true" weight="0.32181427" />
|
||||
<window_info active="true" anchor="bottom" id="Terminal" order="9" sideWeight="0.4997233" visible="true" weight="0.32181427" />
|
||||
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.5002767" side_tool="true" weight="0.32181427" />
|
||||
<window_info anchor="bottom" id="Version Control" order="11" />
|
||||
<window_info anchor="bottom" id="CMake" order="12" weight="0.33045357" />
|
||||
|
@ -303,44 +389,44 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/drv/b15f.h">
|
||||
<entry file="file://$PROJECT_DIR$/cli.cpp">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="285">
|
||||
<caret line="34" column="41" selection-start-line="34" selection-start-column="41" selection-end-line="34" selection-end-column="41" />
|
||||
<state relative-caret-position="135">
|
||||
<caret line="26" column="26" selection-start-line="26" selection-start-column="26" selection-end-line="26" selection-end-column="26" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/drv/usart.cpp">
|
||||
<entry file="file://$PROJECT_DIR$/drv/b15f.h">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="306">
|
||||
<caret line="93" column="45" selection-start-line="93" selection-start-column="45" selection-end-line="93" selection-end-column="45" />
|
||||
<folding>
|
||||
<element signature="e#0#20#0" expanded="true" />
|
||||
</folding>
|
||||
<state relative-caret-position="352">
|
||||
<caret line="266" column="46" selection-start-line="266" selection-start-column="29" selection-end-line="266" selection-end-column="46" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/drv/usart.h">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="396">
|
||||
<caret line="126" column="44" selection-start-line="126" selection-start-column="44" selection-end-line="126" selection-end-column="44" />
|
||||
<state relative-caret-position="291">
|
||||
<caret line="83" column="34" lean-forward="true" selection-start-line="83" selection-start-column="34" selection-end-line="83" selection-end-column="34" />
|
||||
<folding>
|
||||
<element signature="e#33#51#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/drv/b15f.cpp">
|
||||
<entry file="file://$PROJECT_DIR$/drv/usart.cpp">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="375">
|
||||
<caret line="154" selection-start-line="154" selection-end-line="154" />
|
||||
<state relative-caret-position="366">
|
||||
<caret line="115" column="49" selection-start-line="115" selection-start-column="49" selection-end-line="115" selection-end-column="49" />
|
||||
<folding>
|
||||
<element signature="e#0#20#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/cli.cpp">
|
||||
<entry file="file://$PROJECT_DIR$/drv/b15f.cpp">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state>
|
||||
<caret column="2" selection-start-column="2" selection-end-column="2" />
|
||||
<state relative-caret-position="347">
|
||||
<caret line="324" column="11" selection-start-line="324" selection-start-column="11" selection-end-line="324" selection-end-column="11" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
|
|
|
@ -125,7 +125,7 @@ bool B15F::testIntConv()
|
|||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t*>(&aw), 0, sizeof(aw));
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
|
||||
return aw == dummy * 3;
|
||||
}
|
||||
|
@ -291,7 +291,7 @@ uint16_t B15F::analogRead(uint8_t channel)
|
|||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t*>(&aw), 0, sizeof(aw));
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
|
||||
if (aw > 1023)
|
||||
abort("Bad ADC data detected (1)");
|
||||
|
@ -302,45 +302,58 @@ void
|
|||
B15F::analogSequence(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)
|
||||
{
|
||||
/*
|
||||
// prepare pointers
|
||||
buffer_a += offset_a;
|
||||
buffer_b += offset_b;
|
||||
|
||||
|
||||
usart.clearInputBuffer();
|
||||
usart.writeByte(RQ_ADC_DAC_STROKE);
|
||||
usart.writeByte(channel_a);
|
||||
usart.writeByte(channel_b);
|
||||
usart.writeInt(start);
|
||||
usart.writeInt(static_cast<uint16_t>(delta));
|
||||
usart.writeInt(count);
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ADC_DAC_STROKE,
|
||||
channel_a,
|
||||
channel_b,
|
||||
static_cast<uint8_t >(start & 0xFF),
|
||||
static_cast<uint8_t >(start >> 8),
|
||||
static_cast<uint8_t >(delta & 0xFF),
|
||||
static_cast<uint8_t >(delta >> 8),
|
||||
static_cast<uint8_t >(count & 0xFF),
|
||||
static_cast<uint8_t >(count >> 8)
|
||||
};
|
||||
|
||||
for (uint16_t i = 0; i < count; i++) {
|
||||
if (buffer_a) {
|
||||
buffer_a[i] = usart.readInt();
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
for (uint16_t i = 0; i < count; i++)
|
||||
{
|
||||
if (buffer_a)
|
||||
{
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&buffer_a[i]), 0, 2);
|
||||
|
||||
if (buffer_a[i] > 1023) // check for broken usart connection
|
||||
abort("Bad ADC data detected (2)");
|
||||
} else {
|
||||
usart.readInt();
|
||||
}
|
||||
else
|
||||
{
|
||||
usart.drop(2);
|
||||
}
|
||||
|
||||
if (buffer_b) {
|
||||
buffer_b[i] = usart.readInt();
|
||||
if (buffer_b)
|
||||
{
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&buffer_b[i]), 0, 2);
|
||||
|
||||
if (buffer_b[i] > 1023) // check for broken usart connection
|
||||
abort("Bad ADC data detected (3)");
|
||||
} else {
|
||||
usart.readInt();
|
||||
}
|
||||
else
|
||||
{
|
||||
usart.drop(2);
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t aw = usart.readByte();
|
||||
if (aw != MSG_OK)
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
if(aw != MSG_OK)
|
||||
abort("Sequenz unterbrochen");
|
||||
|
||||
delay_us(10);*/
|
||||
}
|
||||
|
||||
uint8_t B15F::pwmSetFrequency(uint32_t freq)
|
||||
|
|
444
control/src/drv/b15f.cpp.orig
Normal file
444
control/src/drv/b15f.cpp.orig
Normal file
|
@ -0,0 +1,444 @@
|
|||
#include "b15f.h"
|
||||
|
||||
B15F *B15F::instance = nullptr;
|
||||
errorhandler_t B15F::errorhandler = nullptr;
|
||||
|
||||
B15F::B15F() {
|
||||
init();
|
||||
}
|
||||
|
||||
void B15F::init() {
|
||||
|
||||
std::string device = exec("bash -c 'ls /dev/ttyUSB*'");
|
||||
while (device.find(' ') != std::string::npos || device.find('\n') != std::string::npos ||
|
||||
device.find('\t') != std::string::npos)
|
||||
device.pop_back();
|
||||
|
||||
if (device.length() == 0)
|
||||
abort("Adapter nicht gefunden");
|
||||
|
||||
std::cout << PRE << "Verwende Adapter: " << device << std::endl;
|
||||
|
||||
|
||||
std::cout << PRE << "Stelle Verbindung mit Adapter her... " << std::flush;
|
||||
usart.setBaudrate(BAUDRATE);
|
||||
usart.openDevice(device);
|
||||
std::cout << "OK" << std::endl;
|
||||
|
||||
|
||||
std::cout << PRE << "Teste Verbindung... " << std::flush;
|
||||
uint8_t tries = 3;
|
||||
while (tries--) {
|
||||
// verwerfe Daten, die µC noch hat
|
||||
//discard();
|
||||
|
||||
if (!testConnection())
|
||||
continue;
|
||||
|
||||
if (!testIntConv())
|
||||
continue;
|
||||
|
||||
break;
|
||||
}
|
||||
if (tries == 0)
|
||||
abort("Verbindungstest fehlgeschlagen. Neueste Version im Einsatz?");
|
||||
std::cout << "OK" << std::endl;
|
||||
|
||||
|
||||
// Gib board info aus
|
||||
std::vector<std::string> info = getBoardInfo();
|
||||
std::cout << PRE << "AVR Firmware Version: " << info[0] << " um " << info[1] << " Uhr (" << info[2] << ")"
|
||||
<< std::endl;
|
||||
}
|
||||
|
||||
void B15F::reconnect() {
|
||||
uint8_t tries = RECONNECT_TRIES;
|
||||
while (tries--) {
|
||||
delay_ms(RECONNECT_TIMEOUT);
|
||||
discard();
|
||||
|
||||
if (testConnection())
|
||||
return;
|
||||
}
|
||||
|
||||
abort("Verbindung kann nicht repariert werden");
|
||||
}
|
||||
|
||||
void B15F::discard(void) {
|
||||
try {
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_DISC
|
||||
};
|
||||
|
||||
usart.clearOutputBuffer();
|
||||
for (uint8_t i = 0; i < 16; i++) {
|
||||
usart.transmit(&rq[0], 0, sizeof(rq)); // sende discard Befehl (verwerfe input)
|
||||
delay_ms(4);
|
||||
}
|
||||
usart.clearInputBuffer();
|
||||
}
|
||||
catch (std::exception &ex) {
|
||||
abort(ex);
|
||||
}
|
||||
}
|
||||
|
||||
bool B15F::testConnection() {
|
||||
// erzeuge zufälliges Byte
|
||||
srand(time(NULL));
|
||||
uint8_t dummy = rand() % 256;
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_TEST,
|
||||
dummy
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw[2];
|
||||
usart.receive(&aw[0], 0, sizeof(aw));
|
||||
|
||||
return aw[0] == MSG_OK && aw[1] == dummy;
|
||||
}
|
||||
|
||||
bool B15F::testIntConv() {
|
||||
srand(time(NULL));
|
||||
uint16_t dummy = rand() % (0xFFFF / 3);
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_INT,
|
||||
static_cast<uint8_t >(dummy & 0xFF),
|
||||
static_cast<uint8_t >(dummy >> 8)
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
|
||||
return aw == dummy * 3;
|
||||
}
|
||||
|
||||
|
||||
std::vector<std::string> B15F::getBoardInfo(void) {
|
||||
std::vector<std::string> info;
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_INFO
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t n;
|
||||
usart.receive(&n, 0, sizeof(n));
|
||||
while (n--) {
|
||||
uint8_t len;
|
||||
usart.receive(&len, 0, sizeof(len));
|
||||
|
||||
char str[len + 1];
|
||||
str[len] = '\0';
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&str[0]), 0, len);
|
||||
|
||||
info.push_back(std::string(str));
|
||||
}
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
if (aw != MSG_OK)
|
||||
abort("Board Info fehlerhalft: code " + std::to_string((int) aw));
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
bool B15F::activateSelfTestMode() {
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ST
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw == MSG_OK;
|
||||
}
|
||||
|
||||
bool B15F::digitalWrite0(uint8_t port) {
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_BA0,
|
||||
port
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw == MSG_OK;
|
||||
}
|
||||
|
||||
bool B15F::digitalWrite1(uint8_t port) {
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_BA1,
|
||||
port
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw == MSG_OK;
|
||||
}
|
||||
|
||||
uint8_t B15F::digitalRead0() {
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_BE0
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
uint8_t B15F::digitalRead1() {
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_BE1
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
uint8_t B15F::readDipSwitch() {
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_DSW
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
bool B15F::analogWrite0(uint16_t value) {
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_AA0,
|
||||
static_cast<uint8_t >(value & 0xFF),
|
||||
static_cast<uint8_t >(value >> 8)
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw == MSG_OK;
|
||||
}
|
||||
|
||||
bool B15F::analogWrite1(uint16_t value) {
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_AA1,
|
||||
static_cast<uint8_t >(value & 0xFF),
|
||||
static_cast<uint8_t >(value >> 8)
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw == MSG_OK;
|
||||
}
|
||||
|
||||
uint16_t B15F::analogRead(uint8_t channel) {
|
||||
usart.clearInputBuffer();
|
||||
if (channel > 7)
|
||||
abort("Bad ADC channel: " + std::to_string(channel));
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ADC,
|
||||
channel
|
||||
};
|
||||
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
|
||||
if (aw > 1023)
|
||||
abort("Bad ADC data detected (1)");
|
||||
return aw;
|
||||
}
|
||||
|
||||
void
|
||||
B15F::analogSequence(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) {
|
||||
// prepare pointers
|
||||
buffer_a += offset_a;
|
||||
buffer_b += offset_b;
|
||||
|
||||
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ADC_DAC_STROKE,
|
||||
channel_a,
|
||||
channel_b,
|
||||
static_cast<uint8_t >(start & 0xFF),
|
||||
static_cast<uint8_t >(start >> 8),
|
||||
static_cast<uint8_t >(delta & 0xFF),
|
||||
static_cast<uint8_t >(delta >> 8),
|
||||
static_cast<uint8_t >(count & 0xFF),
|
||||
static_cast<uint8_t >(count >> 8)
|
||||
};
|
||||
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
for (uint16_t i = 0; i < count; i++) {
|
||||
if (buffer_a) {
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&buffer_a[i]), 0, 2);
|
||||
|
||||
if (buffer_a[i] > 1023) // check for broken usart connection
|
||||
abort("Bad ADC data detected (2)");
|
||||
} else {
|
||||
usart.drop(2);
|
||||
}
|
||||
|
||||
if (buffer_b) {
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&buffer_b[i]), 0, 2);
|
||||
|
||||
if (buffer_b[i] > 1023) // check for broken usart connection
|
||||
abort("Bad ADC data detected (3)");
|
||||
} else {
|
||||
usart.drop(2);
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
if(aw != MSG_OK)
|
||||
abort("Sequenz unterbrochen");
|
||||
}
|
||||
|
||||
uint8_t B15F::pwmSetFrequency(uint32_t freq) {
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_PWM_SET_FREQ,
|
||||
static_cast<uint8_t>((freq >> 0) & 0xFF),
|
||||
static_cast<uint8_t>((freq >> 8) & 0xFF),
|
||||
static_cast<uint8_t>((freq >> 16) & 0xFF),
|
||||
static_cast<uint8_t>((freq >> 24) & 0xFF)
|
||||
};
|
||||
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
bool B15F::pwmSetValue(uint8_t value) {
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_PWM_SET_VALUE,
|
||||
value
|
||||
};
|
||||
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw == MSG_OK;
|
||||
}
|
||||
|
||||
bool B15F::setRegister(uint8_t adr, uint8_t val) {
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_SET_REG,
|
||||
adr,
|
||||
val
|
||||
};
|
||||
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw == val;
|
||||
}
|
||||
|
||||
uint8_t B15F::getRegister(uint8_t adr) {
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_GET_REG,
|
||||
adr
|
||||
};
|
||||
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
|
||||
void B15F::delay_ms(uint16_t ms) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(ms));
|
||||
}
|
||||
|
||||
void B15F::delay_us(uint16_t us) {
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(us));
|
||||
}
|
||||
|
||||
B15F &B15F::getInstance(void) {
|
||||
if (!instance)
|
||||
instance = new B15F();
|
||||
|
||||
return *instance;
|
||||
}
|
||||
|
||||
// https://stackoverflow.com/a/478960
|
||||
std::string B15F::exec(std::string cmd) {
|
||||
std::array<char, 128> buffer;
|
||||
std::string result;
|
||||
std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd.c_str(), "r"), pclose);
|
||||
if (!pipe) {
|
||||
throw std::runtime_error("popen() failed!");
|
||||
}
|
||||
while (fgets(buffer.data(), buffer.size(), pipe.get()) != nullptr) {
|
||||
result += buffer.data();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void B15F::abort(std::string msg) {
|
||||
DriverException ex(msg);
|
||||
abort(ex);
|
||||
}
|
||||
|
||||
void B15F::abort(std::exception &ex) {
|
||||
if (errorhandler)
|
||||
errorhandler(ex);
|
||||
else {
|
||||
std::cerr << "NOTICE: B15F::errorhandler not set" << std::endl;
|
||||
std::cout << ex.what() << std::endl;
|
||||
throw DriverException(ex.what());
|
||||
}
|
||||
}
|
||||
|
||||
void B15F::setAbortHandler(errorhandler_t func) {
|
||||
errorhandler = func;
|
||||
}
|
|
@ -72,6 +72,15 @@ void USART::flushOutputBuffer()
|
|||
throw USARTException("Fehler beim Versenden des Ausgangspuffers");
|
||||
}
|
||||
|
||||
void USART::transmit(uint8_t *buffer, uint16_t offset, uint8_t len)
|
||||
{
|
||||
int code = write(file_desc, buffer + offset, len);
|
||||
if (code != len)
|
||||
throw USARTException(
|
||||
std::string(__FUNCTION__) + " failed: " + std::string(__FILE__) + "#" + std::to_string(__LINE__) +
|
||||
", " + strerror(code) + " (code " + std::to_string(code) + " / " + std::to_string(len) + ")");
|
||||
}
|
||||
|
||||
void USART::receive(uint8_t *buffer, uint16_t offset, uint8_t len)
|
||||
{
|
||||
int bytes_avail, code;
|
||||
|
@ -102,13 +111,11 @@ void USART::receive(uint8_t *buffer, uint16_t offset, uint8_t len)
|
|||
", " + strerror(code) + " (code " + std::to_string(code) + " / " + std::to_string(len) + ")");
|
||||
}
|
||||
|
||||
void USART::transmit(uint8_t *buffer, uint16_t offset, uint8_t len)
|
||||
void USART::drop(uint8_t len)
|
||||
{
|
||||
int code = write(file_desc, buffer + offset, len);
|
||||
if (code != len)
|
||||
throw USARTException(
|
||||
std::string(__FUNCTION__) + " failed: " + std::string(__FILE__) + "#" + std::to_string(__LINE__) +
|
||||
", " + strerror(code) + " (code " + std::to_string(code) + " / " + std::to_string(len) + ")");
|
||||
// Kann bestimmt noch eleganter gelöst werden
|
||||
uint8_t dummy[len];
|
||||
receive(&dummy[0], 0, len);
|
||||
}
|
||||
|
||||
uint32_t USART::getBaudrate()
|
||||
|
|
139
control/src/drv/usart.cpp.orig
Normal file
139
control/src/drv/usart.cpp.orig
Normal file
|
@ -0,0 +1,139 @@
|
|||
#include <stdexcept>
|
||||
#include "usart.h"
|
||||
|
||||
USART::~USART()
|
||||
{
|
||||
closeDevice();
|
||||
}
|
||||
|
||||
void USART::openDevice(std::string device)
|
||||
{
|
||||
// Benutze blockierenden Modus
|
||||
file_desc = open(device.c_str(), O_RDWR | O_NOCTTY);// | O_NDELAY
|
||||
if (file_desc <= 0)
|
||||
throw USARTException("Fehler beim Öffnen des Gerätes");
|
||||
|
||||
struct termios options;
|
||||
int code = tcgetattr(file_desc, &options);
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Lesen der Geräteparameter");
|
||||
|
||||
options.c_cflag = CS8 | CLOCAL | CREAD;
|
||||
options.c_iflag = IGNPAR;
|
||||
options.c_oflag = 0;
|
||||
options.c_lflag = 0;
|
||||
options.c_cc[VMIN] = 0;
|
||||
options.c_cc[VTIME] = timeout;
|
||||
code = cfsetspeed(&options, baudrate);
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Setzen der Baudrate");
|
||||
|
||||
code = tcsetattr(file_desc, TCSANOW, &options);
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Setzen der Geräteparameter");
|
||||
|
||||
code = fcntl(file_desc, F_SETFL, 0); // blockierender Modus
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Aktivieren des blockierenden Modus'");
|
||||
|
||||
clearOutputBuffer();
|
||||
clearInputBuffer();
|
||||
}
|
||||
|
||||
void USART::closeDevice()
|
||||
{
|
||||
if (file_desc > 0)
|
||||
{
|
||||
int code = close(file_desc);
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Schließen des Gerätes");
|
||||
file_desc = -1;
|
||||
}
|
||||
}
|
||||
|
||||
void USART::clearInputBuffer()
|
||||
{
|
||||
int code = tcflush(file_desc, TCIFLUSH);
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Leeren des Eingangspuffers");
|
||||
}
|
||||
|
||||
void USART::clearOutputBuffer()
|
||||
{
|
||||
int code = tcflush(file_desc, TCOFLUSH);
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Leeren des Ausgangspuffers");
|
||||
}
|
||||
|
||||
void USART::flushOutputBuffer()
|
||||
{
|
||||
int code = tcdrain(file_desc);
|
||||
if (code)
|
||||
throw USARTException("Fehler beim Versenden des Ausgangspuffers");
|
||||
}
|
||||
|
||||
void USART::transmit(uint8_t *buffer, uint16_t offset, uint8_t len)
|
||||
{
|
||||
int code = write(file_desc, buffer + offset, len);
|
||||
if (code != len)
|
||||
throw USARTException(
|
||||
std::string(__FUNCTION__) + " failed: " + std::string(__FILE__) + "#" + std::to_string(__LINE__) +
|
||||
", " + strerror(code) + " (code " + std::to_string(code) + " / " + std::to_string(len) + ")");
|
||||
}
|
||||
|
||||
void USART::receive(uint8_t *buffer, uint16_t offset, uint8_t len)
|
||||
{
|
||||
int bytes_avail, code;
|
||||
auto start = std::chrono::steady_clock::now();
|
||||
auto end = std::chrono::steady_clock::now();
|
||||
do
|
||||
{
|
||||
code = ioctl(file_desc, FIONREAD, &bytes_avail);
|
||||
if (code)
|
||||
throw USARTException(
|
||||
std::string(__FUNCTION__) + " failed: " + std::string(__FILE__) + "#" + std::to_string(__LINE__) +
|
||||
", " + strerror(code) + " (code " + std::to_string(code) + ")");
|
||||
|
||||
end = std::chrono::steady_clock::now();
|
||||
long elapsed =
|
||||
std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count() / 100; // in Dezisekunden
|
||||
if (elapsed >= timeout)
|
||||
throw TimeoutException(
|
||||
std::string(__FUNCTION__) + " failed: " + std::string(__FILE__) + "#" + std::to_string(__LINE__) +
|
||||
", " + std::to_string(elapsed) + " / " + std::to_string(timeout) + " ds");
|
||||
}
|
||||
while (bytes_avail < len);
|
||||
|
||||
code = read(file_desc, buffer + offset, len);
|
||||
if (code != len)
|
||||
throw USARTException(
|
||||
std::string(__FUNCTION__) + " failed: " + std::string(__FILE__) + "#" + std::to_string(__LINE__) +
|
||||
", " + strerror(code) + " (code " + std::to_string(code) + " / " + std::to_string(len) + ")");
|
||||
}
|
||||
|
||||
void USART::drop(uint8_t len)
|
||||
{
|
||||
// Kann bestimmt noch eleganter gelöst werden
|
||||
uint8_t dummy[len];
|
||||
receive(&dummy[0], 0, len);
|
||||
}
|
||||
|
||||
uint32_t USART::getBaudrate()
|
||||
{
|
||||
return baudrate;
|
||||
}
|
||||
|
||||
uint8_t USART::getTimeout()
|
||||
{
|
||||
return timeout;
|
||||
}
|
||||
|
||||
void USART::setBaudrate(uint32_t baudrate)
|
||||
{
|
||||
this->baudrate = baudrate;
|
||||
}
|
||||
|
||||
void USART::setTimeout(uint8_t timeout)
|
||||
{
|
||||
this->timeout = timeout;
|
||||
}
|
|
@ -88,6 +88,13 @@ public:
|
|||
*/
|
||||
void receive(uint8_t *buffer, uint16_t offset, uint8_t len);
|
||||
|
||||
/**
|
||||
* Receives n bytes but discards them
|
||||
* \param len count of bytes to receive
|
||||
* \throws USARTException
|
||||
*/
|
||||
void drop(uint8_t len);
|
||||
|
||||
/*************************************/
|
||||
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -85,7 +85,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -105,7 +105,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -202,7 +202,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00463">463</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00473">473</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -236,7 +236,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00457">457</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00467">467</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -262,7 +262,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00169">169</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00166">166</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -294,7 +294,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00282">282</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00279">279</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -386,7 +386,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00305">305</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<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>
|
||||
|
@ -418,7 +418,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00252">252</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00249">249</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -450,7 +450,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</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>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00264">264</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -476,7 +476,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00422">422</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00432">432</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -502,7 +502,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00427">427</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<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>
|
||||
|
@ -529,7 +529,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00210">210</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00207">207</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -556,7 +556,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00224">224</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00221">221</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -588,7 +588,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00182">182</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00179">179</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -620,7 +620,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00196">196</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00193">193</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -680,7 +680,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00441">441</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00451">451</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -740,7 +740,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00432">432</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00442">442</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -772,7 +772,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00404">404</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00414">414</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -805,7 +805,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00349">349</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<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>
|
||||
|
@ -837,7 +837,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00369">369</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00379">379</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -864,7 +864,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00238">238</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<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>
|
||||
|
@ -924,7 +924,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</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>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00485">485</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -967,7 +967,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00386">386</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00396">396</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1030,7 +1030,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -76,7 +76,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -196,7 +196,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -109,7 +109,7 @@ std::string </td><td class="memItemRight" valign="bottom"><b>msg_</b></td><
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -100,7 +100,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -811,7 +811,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -69,16 +69,15 @@ $(function() {
|
|||
|
||||
<p>This is the complete list of members for <a class="el" href="classTimeoutException.html">TimeoutException</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_timeout</b> (defined in <a class="el" href="classTimeoutException.html">TimeoutException</a>)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>msg</b> (defined in <a class="el" href="classTimeoutException.html">TimeoutException</a>)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>TimeoutException</b>(const char *message, int timeout) (defined in <a class="el" href="classTimeoutException.html">TimeoutException</a>)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>TimeoutException</b>(const std::string &message, int timeout) (defined in <a class="el" href="classTimeoutException.html">TimeoutException</a>)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>what</b>() const (defined in <a class="el" href="classTimeoutException.html">TimeoutException</a>)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>~TimeoutException</b>() (defined in <a class="el" href="classTimeoutException.html">TimeoutException</a>)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">msg</a></td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException</a>(const char *message)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988">TimeoutException</a>(const std::string &message)</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e">what</a>() const</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540">~TimeoutException</a>()=default</td><td class="entry"><a class="el" href="classTimeoutException.html">TimeoutException</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -83,36 +83,163 @@ $(function() {
|
|||
<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:a33d1b23baf86d5481e1fe18db8a37c15"><td class="memItemLeft" align="right" valign="top"><a id="a33d1b23baf86d5481e1fe18db8a37c15"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>TimeoutException</b> (const char *message, int timeout)</td></tr>
|
||||
<tr class="separator:a33d1b23baf86d5481e1fe18db8a37c15"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6c6f1372eaeab7dd2f4dec06cc1e8f8f"><td class="memItemLeft" align="right" valign="top"><a id="a6c6f1372eaeab7dd2f4dec06cc1e8f8f"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>TimeoutException</b> (const std::string &message, int timeout)</td></tr>
|
||||
<tr class="separator:a6c6f1372eaeab7dd2f4dec06cc1e8f8f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a97eaf01fc39ddb94b060020b42fefd6e"><td class="memItemLeft" align="right" valign="top"><a id="a97eaf01fc39ddb94b060020b42fefd6e"></a>
|
||||
virtual const char * </td><td class="memItemRight" valign="bottom"><b>what</b> () const throw ()</td></tr>
|
||||
<tr class="memitem:aa45912234da11ffc9dd3594a1bbc0218"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException</a> (const char *message)</td></tr>
|
||||
<tr class="separator:aa45912234da11ffc9dd3594a1bbc0218"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad6e5c200fbfd276f48a6c1163e2d2988"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988">TimeoutException</a> (const std::string &message)</td></tr>
|
||||
<tr class="separator:ad6e5c200fbfd276f48a6c1163e2d2988"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2f686b262d2ccffa0090fda9b44ab540"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540">~TimeoutException</a> ()=default</td></tr>
|
||||
<tr class="separator:a2f686b262d2ccffa0090fda9b44ab540"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a97eaf01fc39ddb94b060020b42fefd6e"><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e">what</a> () const throw ()</td></tr>
|
||||
<tr class="separator:a97eaf01fc39ddb94b060020b42fefd6e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||||
Protected Attributes</h2></td></tr>
|
||||
<tr class="memitem:aa625fc0fae48a67737a98eafb91c9624"><td class="memItemLeft" align="right" valign="top"><a id="aa625fc0fae48a67737a98eafb91c9624"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>msg</b></td></tr>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">msg</a></td></tr>
|
||||
<tr class="memdesc:aa625fc0fae48a67737a98eafb91c9624"><td class="mdescLeft"> </td><td class="mdescRight">failure description <br /></td></tr>
|
||||
<tr class="separator:aa625fc0fae48a67737a98eafb91c9624"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a00704ad4af4a07e6956949f633b5b161"><td class="memItemLeft" align="right" valign="top"><a id="a00704ad4af4a07e6956949f633b5b161"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>m_timeout</b></td></tr>
|
||||
<tr class="separator:a00704ad4af4a07e6956949f633b5b161"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Exception for <a class="el" href="classUSART.html">USART</a> related timeouts. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="timeoutexception_8h_source.html#l00010">10</a> of file <a class="el" href="timeoutexception_8h_source.html">timeoutexception.h</a>.</p>
|
||||
</div><hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<p class="definition">Definition at line <a class="el" href="timeoutexception_8h_source.html#l00009">9</a> of file <a class="el" href="timeoutexception_8h_source.html">timeoutexception.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="aa45912234da11ffc9dd3594a1bbc0218"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa45912234da11ffc9dd3594a1bbc0218">◆ </a></span>TimeoutException() <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">TimeoutException::TimeoutException </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>message</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Constructor </p><dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">message</td><td>as c-string </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="timeoutexception_8h_source.html#l00016">16</a> of file <a class="el" href="timeoutexception_8h_source.html">timeoutexception.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad6e5c200fbfd276f48a6c1163e2d2988"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad6e5c200fbfd276f48a6c1163e2d2988">◆ </a></span>TimeoutException() <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">TimeoutException::TimeoutException </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::string & </td>
|
||||
<td class="paramname"><em>message</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Constructor </p><dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">message</td><td>as c++-string </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="timeoutexception_8h_source.html#l00024">24</a> of file <a class="el" href="timeoutexception_8h_source.html">timeoutexception.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a2f686b262d2ccffa0090fda9b44ab540"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2f686b262d2ccffa0090fda9b44ab540">◆ </a></span>~TimeoutException()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual TimeoutException::~TimeoutException </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Standard-destructor </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="a97eaf01fc39ddb94b060020b42fefd6e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a97eaf01fc39ddb94b060020b42fefd6e">◆ </a></span>what()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">virtual const char* TimeoutException::what </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">throw </td><td>(</td><td colspan="2"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"></td><td>)</td><td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Get failure description </p><dl class="section return"><dt>Returns</dt><dd>error message as c-string </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="timeoutexception_8h_source.html#l00037">37</a> of file <a class="el" href="timeoutexception_8h_source.html">timeoutexception.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>drv/<a class="el" href="timeoutexception_8h_source.html">timeoutexception.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -72,20 +72,21 @@ $(function() {
|
|||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a28a2b4c5ed66b2c3a81196f76884f156">clearInputBuffer</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a756d268a8762c316f91ca3238972b0c1">clearOutputBuffer</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#af80d6291ac1d2df04cfa1d8d27458cc5">closeDevice</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#adb6ff4d1cf1af79ca255c5a81780200d">flushOutputBuffer</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a4918672d8069df205378a528b1892db3">getBaudrate</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a19cf777956a038878fc2d2b58c3d2b41">getTimeout</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a5f7e2abda2ec4a68a5fdb8ee2f8a940a">openDevice</a>(std::string device)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a0fdc238203852f00bd750127602b2a6a">receive</a>(uint8_t *buffer, uint16_t offset, uint8_t len)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#aac63918a8b97ae63ee607cfa39e6d88d">setBaudrate</a>(uint32_t baudrate)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#ad7fe866cebe920784d2b17602824c7ff">setTimeout</a>(uint8_t timeout)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a41b19dd58f307015b73e154048cd74ca">transmit</a>(uint8_t *buffer, uint16_t offset, uint8_t len)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a5daed20dc595c43d87c4c28bb08a7449">USART</a>()=default</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a0c8eb1a939ca00921e22f6cbcc7bb749">~USART</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a038d00c0b3d8c0c13c3e7eae5dad7813">drop</a>(uint8_t len)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#adb6ff4d1cf1af79ca255c5a81780200d">flushOutputBuffer</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a4918672d8069df205378a528b1892db3">getBaudrate</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a19cf777956a038878fc2d2b58c3d2b41">getTimeout</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a5f7e2abda2ec4a68a5fdb8ee2f8a940a">openDevice</a>(std::string device)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a0fdc238203852f00bd750127602b2a6a">receive</a>(uint8_t *buffer, uint16_t offset, uint8_t len)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#aac63918a8b97ae63ee607cfa39e6d88d">setBaudrate</a>(uint32_t baudrate)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#ad7fe866cebe920784d2b17602824c7ff">setTimeout</a>(uint8_t timeout)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a41b19dd58f307015b73e154048cd74ca">transmit</a>(uint8_t *buffer, uint16_t offset, uint8_t len)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classUSART.html#a5daed20dc595c43d87c4c28bb08a7449">USART</a>()=default</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classUSART.html#a0c8eb1a939ca00921e22f6cbcc7bb749">~USART</a>(void)</td><td class="entry"><a class="el" href="classUSART.html">USART</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -92,6 +92,8 @@ Public Member Functions</h2></td></tr>
|
|||
<tr class="separator:a41b19dd58f307015b73e154048cd74ca"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0fdc238203852f00bd750127602b2a6a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUSART.html#a0fdc238203852f00bd750127602b2a6a">receive</a> (uint8_t *buffer, uint16_t offset, uint8_t len)</td></tr>
|
||||
<tr class="separator:a0fdc238203852f00bd750127602b2a6a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a038d00c0b3d8c0c13c3e7eae5dad7813"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUSART.html#a038d00c0b3d8c0c13c3e7eae5dad7813">drop</a> (uint8_t len)</td></tr>
|
||||
<tr class="separator:a038d00c0b3d8c0c13c3e7eae5dad7813"><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>
|
||||
|
@ -104,7 +106,7 @@ Public Member Functions</h2></td></tr>
|
|||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<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#l00015">15</a> of file <a class="el" href="usart_8h_source.html">usart.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8h_source.html#l00016">16</a> of file <a class="el" href="usart_8h_source.html">usart.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a5daed20dc595c43d87c4c28bb08a7449"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5daed20dc595c43d87c4c28bb08a7449">◆ </a></span>USART()</h2>
|
||||
|
@ -238,6 +240,38 @@ Public Member Functions</h2></td></tr>
|
|||
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00043">43</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a038d00c0b3d8c0c13c3e7eae5dad7813"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a038d00c0b3d8c0c13c3e7eae5dad7813">◆ </a></span>drop()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void USART::drop </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>len</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Receives n bytes but discards them </p><dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">len</td><td>count of bytes to receive </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#l00114">114</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="adb6ff4d1cf1af79ca255c5a81780200d"></a>
|
||||
|
@ -283,7 +317,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><div class="memdoc">
|
||||
<p>Liefert die eingestellte Baudrate <b>Änderungen werden erst nach einem open() wirksam</b> </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00104">104</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00121">121</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -304,7 +338,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><div class="memdoc">
|
||||
<p>Liefert den eingestellten Timeout (in Dezisekunden) <b>Änderungen werden erst nach einem open() wirksam</b> </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00109">109</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00126">126</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -386,7 +420,7 @@ Public Member Functions</h2></td></tr>
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00075">75</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00084">84</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -407,7 +441,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><div class="memdoc">
|
||||
<p>Setzt die Baudrate <b>Änderungen werden erst nach <a class="el" href="classUSART.html#a5f7e2abda2ec4a68a5fdb8ee2f8a940a">openDevice()</a> wirksam</b> </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00114">114</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00131">131</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -428,7 +462,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><div class="memdoc">
|
||||
<p>Setzt den Timeout (in Dezisekunden) <b>Änderungen werden erst nach <a class="el" href="classUSART.html#a5f7e2abda2ec4a68a5fdb8ee2f8a940a">openDevice()</a> wirksam</b> </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00119">119</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00136">136</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -478,7 +512,7 @@ Public Member Functions</h2></td></tr>
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00095">95</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="usart_8cpp_source.html#l00075">75</a> of file <a class="el" href="usart_8cpp_source.html">usart.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -489,7 +523,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -239,7 +239,7 @@ std::string </td><td class="memItemRight" valign="bottom"><a class="el" hre
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -89,7 +89,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -157,7 +157,7 @@ constexpr static int </td><td class="memItemRight" valign="bottom"><b>KEY_E
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -99,7 +99,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -185,7 +185,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -103,7 +103,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -197,7 +197,7 @@ constexpr static int </td><td class="memItemRight" valign="bottom"><b>KEY_E
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -205,7 +205,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -94,7 +94,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -172,7 +172,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ Directories</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ Directories</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDot_html_ad975f119c0627a928790b3cd5ca6da05"><div class="ttname"><a href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot::Dot</a></div><div class="ttdeci">Dot(uint16_t x, uint16_t y, uint8_t curve)</div><div class="ttdef"><b>Definition:</b> <a href="dot_8cpp_source.html#l00003">dot.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -78,7 +78,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDot_html_ad975f119c0627a928790b3cd5ca6da05"><div class="ttname"><a href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot::Dot</a></div><div class="ttdeci">Dot(uint16_t x, uint16_t y, uint8_t curve)</div><div class="ttdef"><b>Definition:</b> <a href="dot_8cpp_source.html#l00003">dot.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -74,7 +74,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDriverException_html"><div class="ttname"><a href="classDriverException.html">DriverException</a></div><div class="ttdef"><b>Definition:</b> <a href="driverexception_8h_source.html#l00010">driverexception.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -109,7 +109,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -134,6 +134,9 @@ $(function() {
|
|||
<li>Dot()
|
||||
: <a class="el" href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot</a>
|
||||
</li>
|
||||
<li>drop()
|
||||
: <a class="el" href="classUSART.html#a038d00c0b3d8c0c13c3e7eae5dad7813">USART</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
@ -217,7 +220,8 @@ $(function() {
|
|||
|
||||
<h3><a id="index_m"></a>- m -</h3><ul>
|
||||
<li>msg
|
||||
: <a class="el" href="classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79">USARTException</a>
|
||||
: <a class="el" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">TimeoutException</a>
|
||||
, <a class="el" href="classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79">USARTException</a>
|
||||
</li>
|
||||
<li>MSG_FAIL
|
||||
: <a class="el" href="classB15F.html#a77d1ecf24b406c9204665d3b09c36f1e">B15F</a>
|
||||
|
@ -329,6 +333,9 @@ $(function() {
|
|||
<li>testIntConv()
|
||||
: <a class="el" href="classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78">B15F</a>
|
||||
</li>
|
||||
<li>TimeoutException()
|
||||
: <a class="el" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException</a>
|
||||
</li>
|
||||
<li>transmit()
|
||||
: <a class="el" href="classUSART.html#a41b19dd58f307015b73e154048cd74ca">USART</a>
|
||||
</li>
|
||||
|
@ -350,7 +357,8 @@ $(function() {
|
|||
: <a class="el" href="classB15F.html#a158d13bc84aed6430cdede1396384e06">B15F</a>
|
||||
</li>
|
||||
<li>what()
|
||||
: <a class="el" href="classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15">USARTException</a>
|
||||
: <a class="el" href="classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e">TimeoutException</a>
|
||||
, <a class="el" href="classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15">USARTException</a>
|
||||
</li>
|
||||
<li>writeToFile()
|
||||
: <a class="el" href="classPlottyFile.html#a82c348e7fade2edcbc907e7c2bc2e305">PlottyFile</a>
|
||||
|
@ -359,6 +367,9 @@ $(function() {
|
|||
|
||||
|
||||
<h3><a id="index__7E"></a>- ~ -</h3><ul>
|
||||
<li>~TimeoutException()
|
||||
: <a class="el" href="classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540">TimeoutException</a>
|
||||
</li>
|
||||
<li>~USART()
|
||||
: <a class="el" href="classUSART.html#a0c8eb1a939ca00921e22f6cbcc7bb749">USART</a>
|
||||
</li>
|
||||
|
@ -369,7 +380,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -127,6 +127,9 @@ $(function() {
|
|||
<li>Dot()
|
||||
: <a class="el" href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot</a>
|
||||
</li>
|
||||
<li>drop()
|
||||
: <a class="el" href="classUSART.html#a038d00c0b3d8c0c13c3e7eae5dad7813">USART</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
@ -300,6 +303,9 @@ $(function() {
|
|||
<li>testIntConv()
|
||||
: <a class="el" href="classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78">B15F</a>
|
||||
</li>
|
||||
<li>TimeoutException()
|
||||
: <a class="el" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException</a>
|
||||
</li>
|
||||
<li>transmit()
|
||||
: <a class="el" href="classUSART.html#a41b19dd58f307015b73e154048cd74ca">USART</a>
|
||||
</li>
|
||||
|
@ -318,7 +324,8 @@ $(function() {
|
|||
|
||||
<h3><a id="index_w"></a>- w -</h3><ul>
|
||||
<li>what()
|
||||
: <a class="el" href="classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15">USARTException</a>
|
||||
: <a class="el" href="classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e">TimeoutException</a>
|
||||
, <a class="el" href="classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15">USARTException</a>
|
||||
</li>
|
||||
<li>writeToFile()
|
||||
: <a class="el" href="classPlottyFile.html#a82c348e7fade2edcbc907e7c2bc2e305">PlottyFile</a>
|
||||
|
@ -327,6 +334,9 @@ $(function() {
|
|||
|
||||
|
||||
<h3><a id="index__7E"></a>- ~ -</h3><ul>
|
||||
<li>~TimeoutException()
|
||||
: <a class="el" href="classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540">TimeoutException</a>
|
||||
</li>
|
||||
<li>~USART()
|
||||
: <a class="el" href="classUSART.html#a0c8eb1a939ca00921e22f6cbcc7bb749">USART</a>
|
||||
</li>
|
||||
|
@ -337,7 +347,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -67,7 +67,8 @@ $(function() {
|
|||
: <a class="el" href="classB15F.html#a7d548d6861cfc69753161bf9cda14f87">B15F</a>
|
||||
</li>
|
||||
<li>msg
|
||||
: <a class="el" href="classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79">USARTException</a>
|
||||
: <a class="el" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">TimeoutException</a>
|
||||
, <a class="el" href="classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79">USARTException</a>
|
||||
</li>
|
||||
<li>MSG_FAIL
|
||||
: <a class="el" href="classB15F.html#a77d1ecf24b406c9204665d3b09c36f1e">B15F</a>
|
||||
|
@ -91,7 +92,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -86,7 +86,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -137,7 +137,7 @@ Dabei gehören Punkte mit dem gleichen Index für <code>curve</code> (<em>uint8_
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -101,7 +101,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassPlottyFile_html_af952ac5e2c40896acaf6a86063874fe3"><div class="ttname"><a href="classPlottyFile.html#af952ac5e2c40896acaf6a86063874fe3">PlottyFile::getUnitX</a></div><div class="ttdeci">std::string getUnitX(void) const</div><div class="ttdef"><b>Definition:</b> <a href="plottyfile_8cpp_source.html#l00105">plottyfile.cpp:105</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassPlottyFile_html_af952ac5e2c40896acaf6a86063874fe3"><div class="ttname"><a href="classPlottyFile.html#af952ac5e2c40896acaf6a86063874fe3">PlottyFile::getUnitX</a></div><div class="ttdeci">std::string getUnitX(void) const</div><div class="ttdef"><b>Definition:</b> <a href="plottyfile_8cpp_source.html#l00105">plottyfile.cpp:105</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
var searchData=
|
||||
[
|
||||
['_7etimeoutexception',['~TimeoutException',['../classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540',1,'TimeoutException']]],
|
||||
['_7eusart',['~USART',['../classUSART.html#a0c8eb1a939ca00921e22f6cbcc7bb749',1,'USART']]],
|
||||
['_7eusartexception',['~USARTException',['../classUSARTException.html#a0e008b3cb4974859e6bc8c8f8eb480be',1,'USARTException']]]
|
||||
];
|
||||
|
|
|
@ -8,5 +8,6 @@ var searchData=
|
|||
['digitalwrite1',['digitalWrite1',['../classB15F.html#aa225e7fc813849634063e071ef25db1b',1,'B15F']]],
|
||||
['discard',['discard',['../classB15F.html#ae4740cd473f40a1a4121dfa66b25e1d5',1,'B15F']]],
|
||||
['dot',['Dot',['../classDot.html',1,'Dot'],['../classDot.html#ad975f119c0627a928790b3cd5ca6da05',1,'Dot::Dot()']]],
|
||||
['driverexception',['DriverException',['../classDriverException.html',1,'']]]
|
||||
['driverexception',['DriverException',['../classDriverException.html',1,'']]],
|
||||
['drop',['drop',['../classUSART.html#a038d00c0b3d8c0c13c3e7eae5dad7813',1,'USART']]]
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var searchData=
|
||||
[
|
||||
['msg',['msg',['../classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79',1,'USARTException']]],
|
||||
['msg',['msg',['../classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624',1,'TimeoutException::msg()'],['../classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79',1,'USARTException::msg()']]],
|
||||
['msg_5ffail',['MSG_FAIL',['../classB15F.html#a77d1ecf24b406c9204665d3b09c36f1e',1,'B15F']]],
|
||||
['msg_5fok',['MSG_OK',['../classB15F.html#ab01299858f74a6cec598688562e0ad02',1,'B15F']]]
|
||||
];
|
||||
|
|
|
@ -2,6 +2,6 @@ var searchData=
|
|||
[
|
||||
['testconnection',['testConnection',['../classB15F.html#af01983594f2af98ab2b1e514aa036a5d',1,'B15F']]],
|
||||
['testintconv',['testIntConv',['../classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78',1,'B15F']]],
|
||||
['timeoutexception',['TimeoutException',['../classTimeoutException.html',1,'']]],
|
||||
['timeoutexception',['TimeoutException',['../classTimeoutException.html',1,'TimeoutException'],['../classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218',1,'TimeoutException::TimeoutException(const char *message)'],['../classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988',1,'TimeoutException::TimeoutException(const std::string &message)']]],
|
||||
['transmit',['transmit',['../classUSART.html#a41b19dd58f307015b73e154048cd74ca',1,'USART']]]
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var searchData=
|
||||
[
|
||||
['wdt_5ftimeout',['WDT_TIMEOUT',['../classB15F.html#a158d13bc84aed6430cdede1396384e06',1,'B15F']]],
|
||||
['what',['what',['../classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15',1,'USARTException']]],
|
||||
['what',['what',['../classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e',1,'TimeoutException::what()'],['../classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15',1,'USARTException::what()']]],
|
||||
['writetofile',['writeToFile',['../classPlottyFile.html#a82c348e7fade2edcbc907e7c2bc2e305',1,'PlottyFile']]]
|
||||
];
|
||||
|
|
|
@ -7,5 +7,6 @@ var searchData=
|
|||
['digitalwrite0',['digitalWrite0',['../classB15F.html#a13797edea1c50278988373acbd110064',1,'B15F']]],
|
||||
['digitalwrite1',['digitalWrite1',['../classB15F.html#aa225e7fc813849634063e071ef25db1b',1,'B15F']]],
|
||||
['discard',['discard',['../classB15F.html#ae4740cd473f40a1a4121dfa66b25e1d5',1,'B15F']]],
|
||||
['dot',['Dot',['../classDot.html#ad975f119c0627a928790b3cd5ca6da05',1,'Dot']]]
|
||||
['dot',['Dot',['../classDot.html#ad975f119c0627a928790b3cd5ca6da05',1,'Dot']]],
|
||||
['drop',['drop',['../classUSART.html#a038d00c0b3d8c0c13c3e7eae5dad7813',1,'USART']]]
|
||||
];
|
||||
|
|
|
@ -2,5 +2,6 @@ var searchData=
|
|||
[
|
||||
['testconnection',['testConnection',['../classB15F.html#af01983594f2af98ab2b1e514aa036a5d',1,'B15F']]],
|
||||
['testintconv',['testIntConv',['../classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78',1,'B15F']]],
|
||||
['timeoutexception',['TimeoutException',['../classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218',1,'TimeoutException::TimeoutException(const char *message)'],['../classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988',1,'TimeoutException::TimeoutException(const std::string &message)']]],
|
||||
['transmit',['transmit',['../classUSART.html#a41b19dd58f307015b73e154048cd74ca',1,'USART']]]
|
||||
];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var searchData=
|
||||
[
|
||||
['what',['what',['../classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15',1,'USARTException']]],
|
||||
['what',['what',['../classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e',1,'TimeoutException::what()'],['../classUSARTException.html#a2af5e3c00cd0585c7427c2e0420a8f15',1,'USARTException::what()']]],
|
||||
['writetofile',['writeToFile',['../classPlottyFile.html#a82c348e7fade2edcbc907e7c2bc2e305',1,'PlottyFile']]]
|
||||
];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
var searchData=
|
||||
[
|
||||
['_7etimeoutexception',['~TimeoutException',['../classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540',1,'TimeoutException']]],
|
||||
['_7eusart',['~USART',['../classUSART.html#a0c8eb1a939ca00921e22f6cbcc7bb749',1,'USART']]],
|
||||
['_7eusartexception',['~USARTException',['../classUSARTException.html#a0e008b3cb4974859e6bc8c8f8eb480be',1,'USARTException']]]
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var searchData=
|
||||
[
|
||||
['msg',['msg',['../classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79',1,'USARTException']]],
|
||||
['msg',['msg',['../classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624',1,'TimeoutException::msg()'],['../classUSARTException.html#a14c80df95f216d221aa97cffbcd8dd79',1,'USARTException::msg()']]],
|
||||
['msg_5ffail',['MSG_FAIL',['../classB15F.html#a77d1ecf24b406c9204665d3b09c36f1e',1,'B15F']]],
|
||||
['msg_5fok',['MSG_OK',['../classB15F.html#ab01299858f74a6cec598688562e0ad02',1,'B15F']]]
|
||||
];
|
||||
|
|
|
@ -70,11 +70,16 @@ $(function() {
|
|||
<div class="title">timeoutexception.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef TIMEOUTEXCEPTION_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define TIMEOUTEXCEPTION_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <exception></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// SOURCE: https://stackoverflow.com/a/8152888</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="classTimeoutException.html"> 10</a></span> <span class="keyword">class </span><a class="code" href="classTimeoutException.html">TimeoutException</a>: <span class="keyword">public</span> std::exception</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keyword">explicit</span> <a class="code" href="classTimeoutException.html">TimeoutException</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* message, <span class="keywordtype">int</span> timeout) : <a class="code" href="classTimeoutException.html">TimeoutException</a>(std::string(message), timeout)</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  }</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">explicit</span> <a class="code" href="classTimeoutException.html">TimeoutException</a>(<span class="keyword">const</span> std::string& message, <span class="keywordtype">int</span> timeout) : msg(message), m_timeout(timeout)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordflow">if</span>(!msg.length())</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  msg = <span class="stringliteral">"Timeout reached ("</span> + std::to_string(m_timeout) + <span class="stringliteral">")"</span>;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  }</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">virtual</span> ~<a class="code" href="classTimeoutException.html">TimeoutException</a>() <span class="keywordflow">throw</span> ()</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  }</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* what() <span class="keyword">const</span> <span class="keywordflow">throw</span> ()</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> msg.c_str();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  }</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  std::string msg;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">int</span> m_timeout;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> };</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#endif // TIMEOUTEXCEPTION_H</span></div></div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aclassTimeoutException_html"><div class="ttname"><a href="classTimeoutException.html">TimeoutException</a></div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00010">timeoutexception.h:10</a></div></div>
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef TIMEOUTEXCEPTION_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define TIMEOUTEXCEPTION_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <exception></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classTimeoutException.html"> 9</a></span> <span class="keyword">class </span><a class="code" href="classTimeoutException.html">TimeoutException</a>: <span class="keyword">public</span> std::exception</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> {</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218"> 16</a></span>  <span class="keyword">explicit</span> <a class="code" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* message) : <a class="code" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">msg</a>(message)</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  }</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988"> 24</a></span>  <span class="keyword">explicit</span> <a class="code" href="classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988">TimeoutException</a>(<span class="keyword">const</span> std::string& message) : <a class="code" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">msg</a>(message)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  }</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">virtual</span> <a class="code" href="classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540">~TimeoutException</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e"> 37</a></span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e">what</a>() <span class="keyword">const</span> throw ()</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">return</span> <a class="code" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">msg</a>.c_str();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624"> 43</a></span>  std::string <a class="code" href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">msg</a>; </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> };</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#endif // TIMEOUTEXCEPTION_H</span></div></div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aclassTimeoutException_html_a2f686b262d2ccffa0090fda9b44ab540"><div class="ttname"><a href="classTimeoutException.html#a2f686b262d2ccffa0090fda9b44ab540">TimeoutException::~TimeoutException</a></div><div class="ttdeci">virtual ~TimeoutException()=default</div></div>
|
||||
<div class="ttc" id="aclassTimeoutException_html_aa625fc0fae48a67737a98eafb91c9624"><div class="ttname"><a href="classTimeoutException.html#aa625fc0fae48a67737a98eafb91c9624">TimeoutException::msg</a></div><div class="ttdeci">std::string msg</div><div class="ttdoc">failure description</div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00043">timeoutexception.h:43</a></div></div>
|
||||
<div class="ttc" id="aclassTimeoutException_html_a97eaf01fc39ddb94b060020b42fefd6e"><div class="ttname"><a href="classTimeoutException.html#a97eaf01fc39ddb94b060020b42fefd6e">TimeoutException::what</a></div><div class="ttdeci">virtual const char * what() const</div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00037">timeoutexception.h:37</a></div></div>
|
||||
<div class="ttc" id="aclassTimeoutException_html_aa45912234da11ffc9dd3594a1bbc0218"><div class="ttname"><a href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException::TimeoutException</a></div><div class="ttdeci">TimeoutException(const char *message)</div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00016">timeoutexception.h:16</a></div></div>
|
||||
<div class="ttc" id="aclassTimeoutException_html"><div class="ttname"><a href="classTimeoutException.html">TimeoutException</a></div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00009">timeoutexception.h:9</a></div></div>
|
||||
<div class="ttc" id="aclassTimeoutException_html_ad6e5c200fbfd276f48a6c1163e2d2988"><div class="ttname"><a href="classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988">TimeoutException::TimeoutException</a></div><div class="ttdeci">TimeoutException(const std::string &message)</div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00024">timeoutexception.h:24</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -79,7 +79,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassUSARTException_html_a0e008b3cb4974859e6bc8c8f8eb480be"><div class="ttname"><a href="classUSARTException.html#a0e008b3cb4974859e6bc8c8f8eb480be">USARTException::~USARTException</a></div><div class="ttdeci">virtual ~USARTException()=default</div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -74,7 +74,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassView_html"><div class="ttname"><a href="classView.html">View</a></div><div class="ttdef"><b>Definition:</b> <a href="view_8h_source.html#l00019">view.h:19</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassView_html"><div class="ttname"><a href="classView.html">View</a></div><div class="ttdef"><b>Definition:</b> <a href="view_8h_source.html#l00019">view.h:19</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewInfo_html"><div class="ttname"><a href="classViewInfo.html">ViewInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="view__info_8h_source.html#l00008">view_info.h:8</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewPromt_html"><div class="ttname"><a href="classViewPromt.html">ViewPromt</a></div><div class="ttdef"><b>Definition:</b> <a href="view__promt_8h_source.html#l00010">view_promt.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewSelection_html"><div class="ttname"><a href="classViewSelection.html">ViewSelection</a></div><div class="ttdef"><b>Definition:</b> <a href="view__selection_8h_source.html#l00010">view_selection.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 6 2019 11:46:51 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 6 2019 12:08:38 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
Loading…
Reference in a new issue