149 lines
9.8 KiB
XML
149 lines
9.8 KiB
XML
|
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||
|
|
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.5" xml:lang="zh">
|
||
|
|
<compounddef id="_main_system_8cpp" kind="file" language="C++">
|
||
|
|
<compoundname>MainSystem.cpp</compoundname>
|
||
|
|
<includes refid="vartable_8h" local="yes">vartable.h</includes>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="4">
|
||
|
|
<label>varint.h</label>
|
||
|
|
<link refid="varint_8h"/>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>CallBack.h</label>
|
||
|
|
<link refid="_callback_8h"/>
|
||
|
|
</node>
|
||
|
|
<node id="1">
|
||
|
|
<label>D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp</label>
|
||
|
|
<link refid="_main_system_8cpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>User.h</label>
|
||
|
|
<link refid="_user_8h"/>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>vartable.h</label>
|
||
|
|
<link refid="vartable_8h"/>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>gpio.h</label>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>main.h</label>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>stdint.h</label>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>stdio.h</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<sectiondef kind="func">
|
||
|
|
<memberdef kind="function" id="_main_system_8cpp_1a848c96750b960675b1bd032c1c2725e5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||
|
|
<type>void</type>
|
||
|
|
<definition>void MainInit</definition>
|
||
|
|
<argsstring>(void)</argsstring>
|
||
|
|
<name>MainInit</name>
|
||
|
|
<param>
|
||
|
|
<type>void</type>
|
||
|
|
</param>
|
||
|
|
<briefdescription>
|
||
|
|
<para>初始化步骤的首部 </para>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
<para><simplesect kind="note"><para>在MX生成的main中,进入循环前放置本函数 </para>
|
||
|
|
</simplesect>
|
||
|
|
</para>
|
||
|
|
</detaileddescription>
|
||
|
|
<inbodydescription>
|
||
|
|
<para><xrefsect id="todo_1_todo000004"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写初始化程序 </para>
|
||
|
|
</xrefdescription></xrefsect></para>
|
||
|
|
</inbodydescription>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp" line="47" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp" bodystart="47" bodyend="49"/>
|
||
|
|
</memberdef>
|
||
|
|
<memberdef kind="function" id="_main_system_8cpp_1af89e02f2d993332a8dea8fef6b78a7bc" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||
|
|
<type>void</type>
|
||
|
|
<definition>void MainSystem</definition>
|
||
|
|
<argsstring>(void)</argsstring>
|
||
|
|
<name>MainSystem</name>
|
||
|
|
<param>
|
||
|
|
<type>void</type>
|
||
|
|
</param>
|
||
|
|
<briefdescription>
|
||
|
|
<para>循环主程序函数 </para>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
<para><simplesect kind="note"><para>在MX生成的main中,进入循环后放置本函数 </para>
|
||
|
|
</simplesect>
|
||
|
|
</para>
|
||
|
|
</detaileddescription>
|
||
|
|
<inbodydescription>
|
||
|
|
<para><xrefsect id="todo_1_todo000005"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写主进程程序 </para>
|
||
|
|
</xrefdescription></xrefsect></para>
|
||
|
|
</inbodydescription>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp" line="56" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp" bodystart="56" bodyend="60"/>
|
||
|
|
</memberdef>
|
||
|
|
</sectiondef>
|
||
|
|
<briefdescription>
|
||
|
|
<para>实现了一个C++库针对单片机开发 </para>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<programlisting>
|
||
|
|
<codeline lineno="1"><highlight class="comment">/*----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||
|
|
<codeline lineno="2"><highlight class="comment"><sp/>#</highlight></codeline>
|
||
|
|
<codeline lineno="3"><highlight class="comment"><sp/>#<sp/><sp/>Copyright<sp/>(c)<sp/>2022<sp/>Yuankang<sp/>Liang(XerolySkinner)</highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="comment"><sp/>#</highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="comment"><sp/>#<sp/><sp/>本软件按原样提供,无任何明示或暗示</highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="comment"><sp/>#<sp/><sp/>在任何情况下,作者都不承担任何损害赔偿责任</highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="comment"><sp/>#</highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="comment"><sp/>#<sp/><sp/>使用的许可声明:</highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="comment"><sp/>#<sp/><sp/>1.<sp/><sp/>不得歪曲本软件的来源,你不能声称你编写了原始软件.</highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="comment"><sp/>#<sp/><sp/>2.<sp/><sp/>免费授予以任何目的,前提是版权声明出现在所有副本中.</highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="comment"><sp/>#<sp/><sp/><sp/><sp/><sp/><sp/>并且版权声明和许可声明同时出现.</highlight></codeline>
|
||
|
|
<codeline lineno="12"><highlight class="comment"><sp/>#<sp/><sp/>3.<sp/><sp/>你有使用,复制,修改,分发,和销售本软件的许可.</highlight></codeline>
|
||
|
|
<codeline lineno="13"><highlight class="comment"><sp/>#<sp/><sp/>4.<sp/><sp/>如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</highlight></codeline>
|
||
|
|
<codeline lineno="14"><highlight class="comment"><sp/>#<sp/><sp/>5.<sp/><sp/>本通知不得从任何来源删除或更改.</highlight></codeline>
|
||
|
|
<codeline lineno="15"><highlight class="comment"><sp/>#</highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="comment"><sp/>#<sp/><sp/>Yuankang<sp/>Liang(XerolySkinner)</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="comment"><sp/>#<sp/><sp/><sp/><sp/><sp/><sp/>E-mail:zabbcccbbaz@163.com</highlight></codeline>
|
||
|
|
<codeline lineno="18"><highlight class="comment"><sp/>#<sp/><sp/><sp/><sp/><sp/><sp/>QQ:2715099320</highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="comment"><sp/>#<sp/><sp/><sp/><sp/><sp/><sp/>Mobile<sp/>Phone:13005636215</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="comment"><sp/>#</highlight></codeline>
|
||
|
|
<codeline lineno="21"><highlight class="comment"><sp/>#<sp/><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline>
|
||
|
|
<codeline lineno="22"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="35"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>头文件</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="37"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="vartable_8h" kindref="compound">vartable.h</ref>"</highlight></codeline>
|
||
|
|
<codeline lineno="39"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>程序</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="41"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/></highlight></codeline>
|
||
|
|
<codeline lineno="47" refid="_main_system_8cpp_1a848c96750b960675b1bd032c1c2725e5" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="_main_system_8cpp_1a848c96750b960675b1bd032c1c2725e5" kindref="member">MainInit</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">){</highlight></codeline>
|
||
|
|
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">;}</highlight></codeline>
|
||
|
|
<codeline lineno="50"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||
|
|
<codeline lineno="56" refid="_main_system_8cpp_1af89e02f2d993332a8dea8fef6b78a7bc" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="_main_system_8cpp_1af89e02f2d993332a8dea8fef6b78a7bc" kindref="member">MainSystem</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">){</highlight></codeline>
|
||
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal">(1){</highlight></codeline>
|
||
|
|
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||
|
|
<codeline lineno="60"><highlight class="normal">}</highlight></codeline>
|
||
|
|
<codeline lineno="62"><highlight class="normal"></highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|