加入BMP库,加入常见位操作
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
<para><xrefsect id="todo_1_todo000004"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写初始化程序 </para>
|
||||
<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="47" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp" bodystart="47" bodyend="49"/>
|
||||
@@ -93,7 +93,7 @@
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
<para><xrefsect id="todo_1_todo000005"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写主进程程序 </para>
|
||||
<para><xrefsect id="todo_1_todo000006"><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"/>
|
||||
|
||||
124
Doc/xml/bsp___b_m_p_8cpp.xml
Normal file
124
Doc/xml/bsp___b_m_p_8cpp.xml
Normal file
@@ -0,0 +1,124 @@
|
||||
<?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="bsp___b_m_p_8cpp" kind="file" language="C++">
|
||||
<compoundname>bsp_BMP.cpp</compoundname>
|
||||
<includes refid="bsp___b_m_p_8h" local="yes">bsp_BMP.h</includes>
|
||||
<incdepgraph>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp</label>
|
||||
<link refid="bsp___b_m_p_8cpp"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="2">
|
||||
<label>bsp_BMP.h</label>
|
||||
<link refid="bsp___b_m_p_8h"/>
|
||||
<childnode refid="3" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="5" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="3">
|
||||
<label>varint.h</label>
|
||||
<link refid="varint_8h"/>
|
||||
<childnode refid="4" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="4">
|
||||
<label>stdint.h</label>
|
||||
</node>
|
||||
<node id="5">
|
||||
<label>stdlib.h</label>
|
||||
</node>
|
||||
</incdepgraph>
|
||||
<briefdescription>
|
||||
<para>用来构造BMP图片 </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="34"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="35"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>头文件</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="bsp___b_m_p_8h" kindref="compound">bsp_BMP.h</ref>"</highlight></codeline>
|
||||
<codeline lineno="38"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="39"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>类函数</highlight></codeline>
|
||||
<codeline lineno="45" refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" kindref="member">bsp_BMP::pels</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>x,<sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>y)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">bsp_BMP::BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" kindref="member">biXPelsPerMeter</ref><sp/>=<sp/>x;</highlight></codeline>
|
||||
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">bsp_BMP::BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" kindref="member">biYPelsPerMeter</ref><sp/>=<sp/>y;}</highlight></codeline>
|
||||
<codeline lineno="52" refid="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" refkind="member"><highlight class="normal"><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" kindref="member">bsp_BMP::giveData</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/>free(<ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">dat</ref>);</highlight></codeline>
|
||||
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">dat</ref><sp/>=<sp/>(<ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref>*)malloc(<ref refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" kindref="member">Size</ref>);</highlight></codeline>
|
||||
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref>)<ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">dat</ref>;}</highlight></codeline>
|
||||
<codeline lineno="59" refid="classbsp___b_m_p_1abe5d545dea1090a228843f140650f573" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___b_m_p_1abe5d545dea1090a228843f140650f573" kindref="member">bsp_BMP::delData</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/>free(<ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">dat</ref>);}</highlight></codeline>
|
||||
<codeline lineno="68" refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" kindref="member">bsp_BMP::ColorsSet</ref>(<ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>R,<sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>G,<sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>B,<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>i)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" kindref="member">bmiColors</ref>[i].<ref refid="struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d" kindref="member">rgbBlue</ref><sp/>=<sp/>B;</highlight></codeline>
|
||||
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" kindref="member">bmiColors</ref>[i].<ref refid="struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1" kindref="member">rgbGreen</ref><sp/>=<sp/>G;</highlight></codeline>
|
||||
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" kindref="member">bmiColors</ref>[i].<ref refid="struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f" kindref="member">rgbRed</ref><sp/>=<sp/>R;</highlight></codeline>
|
||||
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" kindref="member">bmiColors</ref>[i].<ref refid="struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924" kindref="member">rgbReserved</ref><sp/>=<sp/>0;}</highlight></codeline>
|
||||
<codeline lineno="78" refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" kindref="member">bsp_BMP::sizeSet</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>x,<sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>y)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/>free(<ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">dat</ref>);</highlight></codeline>
|
||||
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" kindref="member">Size</ref><sp/>=<sp/>x<sp/>*<sp/>y;</highlight></codeline>
|
||||
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" kindref="member">biWidth</ref><sp/>=<sp/>x;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>色彩宽度</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" kindref="member">biHeight</ref><sp/>=<sp/>y;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>色彩高度</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" kindref="member">bfOffBits</ref><sp/>=</highlight></codeline>
|
||||
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(<ref refid="struct___b_i_t_m_a_p_i_n_f_o" kindref="compound">_BITMAPINFO</ref>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>位图数据偏倚</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" kindref="member">bfSize</ref><sp/>=</highlight></codeline>
|
||||
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>*<sp/>y<sp/>+</highlight></codeline>
|
||||
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" kindref="member">bfOffBits</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>文件大小</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||||
<codeline lineno="90"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="91"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>构造函数</highlight></codeline>
|
||||
<codeline lineno="97" refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" refkind="member"><highlight class="comment"></highlight><highlight class="normal"><ref refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" kindref="member">bsp_BMP::bsp_BMP</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>Width,<sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>Height)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">bsp_BMP::dat</ref><sp/>=<sp/>NULL;</highlight></codeline>
|
||||
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" kindref="member">bsp_BMP::Size</ref><sp/>=<sp/>Width<sp/>*<sp/>Height;</highlight></codeline>
|
||||
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" kindref="member">biWidth</ref><sp/>=<sp/>Width;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>色彩宽度</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" kindref="member">biHeight</ref><sp/>=<sp/>Height;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>色彩高度</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db" kindref="member">bfType</ref><sp/>=<sp/>0x4D42;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>恒为保护字</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a" kindref="member">bfReserved1</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>保留字</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50" kindref="member">bfReserved2</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>保留字</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2" kindref="member">biCompression</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>无压缩</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e" kindref="member">biSizeImage</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>无压缩下为0</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd" kindref="member">biPlanes</ref><sp/>=<sp/>1;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>恒为保护字</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7" kindref="member">biClrUsed</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>使用全部颜色</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab" kindref="member">biClrImportant</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>全部颜色都重要</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="110"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" kindref="member">biXPelsPerMeter</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>像素-不太重要</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" kindref="member">biYPelsPerMeter</ref><sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>像素-不太重要</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf" kindref="member">biSize</ref><sp/>=<sp/>40;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>信息头大小</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" kindref="member">bfOffBits</ref><sp/>=<sp/></highlight></codeline>
|
||||
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(<ref refid="struct___b_i_t_m_a_p_i_n_f_o" kindref="compound">_BITMAPINFO</ref>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>位图数据偏倚</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" kindref="member">bfSize</ref><sp/>=<sp/></highlight></codeline>
|
||||
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Width<sp/>*<sp/>Height+<sp/></highlight></codeline>
|
||||
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>.<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" kindref="member">bfOffBits</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>文件大小</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>.<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286" kindref="member">biBitCount</ref><sp/>=<sp/>8;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>色彩深度</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
||||
<codeline lineno="120"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="121" refid="classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2" refkind="member"><highlight class="normal"><ref refid="classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2" kindref="member">bsp_BMP::~bsp_BMP</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/>free(<ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">dat</ref>);}</highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp"/>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
142
Doc/xml/bsp___b_m_p_8h.xml
Normal file
142
Doc/xml/bsp___b_m_p_8h.xml
Normal file
@@ -0,0 +1,142 @@
|
||||
<?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="bsp___b_m_p_8h" kind="file" language="C++">
|
||||
<compoundname>bsp_BMP.h</compoundname>
|
||||
<includes refid="varint_8h" local="yes">varint.h</includes>
|
||||
<includes local="no">stdlib.h</includes>
|
||||
<includedby refid="bsp___b_m_p_8cpp" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp</includedby>
|
||||
<incdepgraph>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h</label>
|
||||
<link refid="bsp___b_m_p_8h"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="4" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="2">
|
||||
<label>varint.h</label>
|
||||
<link refid="varint_8h"/>
|
||||
<childnode refid="3" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="3">
|
||||
<label>stdint.h</label>
|
||||
</node>
|
||||
<node id="4">
|
||||
<label>stdlib.h</label>
|
||||
</node>
|
||||
</incdepgraph>
|
||||
<invincdepgraph>
|
||||
<node id="2">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp</label>
|
||||
<link refid="bsp___b_m_p_8cpp"/>
|
||||
</node>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h</label>
|
||||
<link refid="bsp___b_m_p_8h"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
</invincdepgraph>
|
||||
<innerclass refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r" prot="public">_BITMAPFILEHEADER</innerclass>
|
||||
<innerclass refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r" prot="public">_BITMAPINFOHEADER</innerclass>
|
||||
<innerclass refid="struct___r_g_b_q_u_a_d" prot="public">_RGBQUAD</innerclass>
|
||||
<innerclass refid="struct___b_i_t_m_a_p_i_n_f_o" prot="public">_BITMAPINFO</innerclass>
|
||||
<innerclass refid="classbsp___b_m_p" prot="public">bsp_BMP</innerclass>
|
||||
<briefdescription>
|
||||
<para>用来构造BMP图片 </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="33"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="35"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="varint_8h" kindref="compound">varint.h</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><stdlib.h></highlight></codeline>
|
||||
<codeline lineno="38"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="39"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>文件头</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>pack(1)</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="44" refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="45"><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="46" refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref><sp/><ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db" kindref="member">bfType</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//文件标志.固定为'BM',用来识别BMP位图类型</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="47" refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" kindref="member">bfSize</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//文件大小,占四个字节</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="48" refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref><sp/><ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a" kindref="member">bfReserved1</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//保留,总为0</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="49" refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref><sp/><ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50" kindref="member">bfReserved2</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//保留,总为0</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="50" refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" kindref="member">bfOffBits</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//从文件开始到位图数据(bitmap<sp/>data)开始之间的的偏移量</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="51"><highlight class="normal">}<ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r" kindref="compound">_BITMAPFILEHEADER</ref>;</highlight></codeline>
|
||||
<codeline lineno="55" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="56" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf" kindref="member">biSize</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//BITMAPINFOHEADER结构所需要的字数。</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="57" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" kindref="member">biWidth</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//图象的宽度,以象素为单位<sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="58" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" kindref="member">biHeight</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//图象的高度,以象素为单位<sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="59" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd" kindref="member">biPlanes</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//为目标设备说明位面数,其值将总是被设为1<sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="60" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286" kindref="member">biBitCount</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//比特数/象素,其值为1、4、8、16、24、或32</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="61" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2" kindref="member">biCompression</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//图象数据压缩的类型。其值可以是下述值之一:</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//BI_RGB:没有压缩;</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//BI_RLE8:每个象素8比特的RLE压缩编码,压缩格式由2字节组成(重复象素计数和颜色索引);</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//BI_RLE4:每个象素4比特的RLE压缩编码,压缩格式由2字节组成</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//BI_BITFIELDS:每个象素的比特由指定的掩码决定。</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="66" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e" kindref="member">biSizeImage</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//图象的大小,以字节为单位。当用BI_RGB格式时,可设置为0</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="67" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" kindref="member">biXPelsPerMeter</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//水平分辨率,用象素/米表示</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="68" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" kindref="member">biYPelsPerMeter</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//垂直分辨率,用象素/米表示</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="69" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7" kindref="member">biClrUsed</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//位图实际使用的彩色表中的颜色索引数</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="70" refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab" kindref="member">biClrImportant</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//对图象显示有重要影响的颜色索引的数目,如果是0,表示都重要。</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="71"><highlight class="normal">}<ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r" kindref="compound">_BITMAPINFOHEADER</ref>;</highlight></codeline>
|
||||
<codeline lineno="75" refid="struct___r_g_b_q_u_a_d" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="76" refid="struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/><ref refid="struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d" kindref="member">rgbBlue</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//指定蓝色强度</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="77" refid="struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/><ref refid="struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1" kindref="member">rgbGreen</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//指定绿色强度<sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="78" refid="struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/><ref refid="struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f" kindref="member">rgbRed</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//指定红色强度<sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="79" refid="struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/><ref refid="struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924" kindref="member">rgbReserved</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//保留,设置为0<sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/>}<ref refid="struct___r_g_b_q_u_a_d" kindref="compound">_RGBQUAD</ref>;</highlight></codeline>
|
||||
<codeline lineno="84" refid="struct___b_i_t_m_a_p_i_n_f_o" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="85" refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r" kindref="compound">_BITMAPFILEHEADER</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kindref="member">bmfHeader</ref>;<sp/><sp/><sp/><sp/></highlight><highlight class="comment">//位图文件头</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="86" refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r" kindref="compound">_BITMAPINFOHEADER</ref><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kindref="member">bmiHeader</ref>;<sp/><sp/><sp/><sp/></highlight><highlight class="comment">//位图信息头<sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="87" refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct___r_g_b_q_u_a_d" kindref="compound">_RGBQUAD</ref><sp/>bmiColors[256];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//调色板</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="88"><highlight class="normal">}<ref refid="struct___b_i_t_m_a_p_i_n_f_o" kindref="compound">_BITMAPINFO</ref>;</highlight></codeline>
|
||||
<codeline lineno="89"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>pack()</highlight></codeline>
|
||||
<codeline lineno="91"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="92"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>头文件</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="93"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="97" refid="classbsp___b_m_p" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classbsp___b_m_p" kindref="compound">bsp_BMP</ref><sp/>{</highlight></codeline>
|
||||
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p" kindref="compound">bsp_BMP</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>Width,<sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>Height);</highlight></codeline>
|
||||
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2" kindref="member">~bsp_BMP</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||||
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" kindref="member">pels</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>x,<sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>y);</highlight></codeline>
|
||||
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" kindref="member">giveData</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||||
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1abe5d545dea1090a228843f140650f573" kindref="member">delData</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||||
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" kindref="member">ColorsSet</ref>(<ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>R,<sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>G,<sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>B,<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>i);</highlight></codeline>
|
||||
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" kindref="member">sizeSet</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>x,<sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>y);</highlight></codeline>
|
||||
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="108" refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="struct___b_i_t_m_a_p_i_n_f_o" kindref="compound">_BITMAPINFO</ref><sp/><ref refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kindref="member">BITMAPINFO</ref>;<sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="109" refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" kindref="member">Size</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="110" refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref>*<sp/><ref refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kindref="member">dat</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||||
<codeline lineno="113"><highlight class="preprocessor">#endif</highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h"/>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
116
Doc/xml/bsp___calculus_8cpp.xml
Normal file
116
Doc/xml/bsp___calculus_8cpp.xml
Normal file
@@ -0,0 +1,116 @@
|
||||
<?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="bsp___calculus_8cpp" kind="file" language="C++">
|
||||
<compoundname>bsp_Calculus.cpp</compoundname>
|
||||
<includes refid="bsp___calculus_8h" local="yes">bsp_Calculus.h</includes>
|
||||
<incdepgraph>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp</label>
|
||||
<link refid="bsp___calculus_8cpp"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="2">
|
||||
<label>bsp_Calculus.h</label>
|
||||
<link refid="bsp___calculus_8h"/>
|
||||
<childnode refid="3" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="4" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="4">
|
||||
<label>varint.h</label>
|
||||
<link refid="varint_8h"/>
|
||||
<childnode refid="5" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="5">
|
||||
<label>stdint.h</label>
|
||||
</node>
|
||||
<node id="3">
|
||||
<label>stdlib.h</label>
|
||||
</node>
|
||||
</incdepgraph>
|
||||
<briefdescription>
|
||||
<para>离散微积分 </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="bsp___calculus_8h" kindref="compound">bsp_Calculus.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></codeline>
|
||||
<codeline lineno="46" refid="classbsp___differential_1a46536b15be29d856b09dd7d261a12ab1" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___differential_1a46536b15be29d856b09dd7d261a12ab1" kindref="member">bsp_Differential::Differential</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>var)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>old=var;</highlight></codeline>
|
||||
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>result=<sp/>(var<sp/>-<sp/>old)<sp/>/<sp/><ref refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" kindref="member">dt</ref>;</highlight></codeline>
|
||||
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/>old<sp/>=<sp/>var;</highlight></codeline>
|
||||
<codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>result;}</highlight></codeline>
|
||||
<codeline lineno="52"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="53"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>类函数</highlight></codeline>
|
||||
<codeline lineno="59" refid="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" kindref="member">bsp_Integral::Integral</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>var)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref><sp/>+=<sp/>var<sp/>*<sp/><ref refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kindref="member">dt</ref>;</highlight></codeline>
|
||||
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref>;}</highlight></codeline>
|
||||
<codeline lineno="62"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="67" refid="classbsp___integral_1aaf7474301ed76ca9ce2b1884ae870019" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1aaf7474301ed76ca9ce2b1884ae870019" kindref="member">bsp_Integral::Integral_set</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>results)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">bsp_Integral::results</ref><sp/>=<sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref>;}</highlight></codeline>
|
||||
<codeline lineno="69"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="75" refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" refkind="member"><highlight class="comment"></highlight><highlight class="normal"><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" kindref="member">bsp_Integral::Integral_makelist</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>len)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref><sp/>=<sp/>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal">*)malloc(</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal">)*<sp/>len);</highlight></codeline>
|
||||
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" kindref="member">result_len</ref><sp/>=<sp/>len;</highlight></codeline>
|
||||
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" kindref="member">Integral_clslist</ref>();</highlight></codeline>
|
||||
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref>)<ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>;}</highlight></codeline>
|
||||
<codeline lineno="80"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="86" refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" kindref="member">bsp_Integral::Integral_list</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>var)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>len=0;</highlight></codeline>
|
||||
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref><sp/>+=<sp/>var<sp/>*<sp/><ref refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kindref="member">dt</ref>;</highlight></codeline>
|
||||
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>保存历史</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>[len]<sp/>=<sp/>var<sp/>*<sp/><ref refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kindref="member">dt</ref>;</highlight></codeline>
|
||||
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>轮盘转</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/>++len;</highlight></codeline>
|
||||
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(len<sp/>==<sp/><ref refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" kindref="member">result_len</ref>)len<sp/>=<sp/>0;</highlight></codeline>
|
||||
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>去除尾值</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(len<sp/><<sp/><ref refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" kindref="member">result_len</ref><sp/>-<sp/>1)</highlight></codeline>
|
||||
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref><sp/>-=<sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>[len<sp/>+<sp/>1];</highlight></codeline>
|
||||
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref><sp/>-=<sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>[0];</highlight></codeline>
|
||||
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref>;}</highlight></codeline>
|
||||
<codeline lineno="101"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="105" refid="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" kindref="member">bsp_Integral::Integral_dellist</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/>free(<ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>);</highlight></codeline>
|
||||
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" kindref="member">result_len</ref><sp/>=<sp/>0;</highlight></codeline>
|
||||
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref><sp/>=<sp/>NULL;}</highlight></codeline>
|
||||
<codeline lineno="109"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="113" refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" kindref="member">bsp_Integral::Integral_clslist</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref><sp/>==<sp/>NULL)</highlight><highlight class="keywordflow">return</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>i<sp/>=<sp/>0;<sp/>i<sp/><<sp/><ref refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" kindref="member">result_len</ref>;<sp/>i++)</highlight></codeline>
|
||||
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>[i]<sp/>=<sp/>0;}</highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp"/>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
116
Doc/xml/bsp___calculus_8h.xml
Normal file
116
Doc/xml/bsp___calculus_8h.xml
Normal file
@@ -0,0 +1,116 @@
|
||||
<?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="bsp___calculus_8h" kind="file" language="C++">
|
||||
<compoundname>bsp_Calculus.h</compoundname>
|
||||
<includes local="no">stdlib.h</includes>
|
||||
<includes refid="varint_8h" local="yes">varint.h</includes>
|
||||
<includedby refid="bsp___calculus_8cpp" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp</includedby>
|
||||
<incdepgraph>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h</label>
|
||||
<link refid="bsp___calculus_8h"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="3" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="3">
|
||||
<label>varint.h</label>
|
||||
<link refid="varint_8h"/>
|
||||
<childnode refid="4" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="4">
|
||||
<label>stdint.h</label>
|
||||
</node>
|
||||
<node id="2">
|
||||
<label>stdlib.h</label>
|
||||
</node>
|
||||
</incdepgraph>
|
||||
<invincdepgraph>
|
||||
<node id="2">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp</label>
|
||||
<link refid="bsp___calculus_8cpp"/>
|
||||
</node>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h</label>
|
||||
<link refid="bsp___calculus_8h"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
</invincdepgraph>
|
||||
<innerclass refid="classbsp___differential" prot="public">bsp_Differential</innerclass>
|
||||
<innerclass refid="classbsp___integral" prot="public">bsp_Integral</innerclass>
|
||||
<briefdescription>
|
||||
<para>离散微积分 </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="33"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="35"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><stdlib.h></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="varint_8h" kindref="compound">varint.h</ref>"</highlight></codeline>
|
||||
<codeline lineno="38"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="39"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>类目</highlight></codeline>
|
||||
<codeline lineno="43" refid="classbsp___differential" refkind="compound"><highlight class="comment"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classbsp___differential" kindref="compound">bsp_Differential</ref>{</highlight></codeline>
|
||||
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="45" refid="classbsp___differential_1a16a19c803e2f1a3bbba98a2ef529206b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___differential_1a16a19c803e2f1a3bbba98a2ef529206b" kindref="member">bsp_Differential</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" kindref="member">dt</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" kindref="member">bsp_Differential::dt</ref><sp/>=<sp/><ref refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" kindref="member">dt</ref>;}</highlight></codeline>
|
||||
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___differential_1a46536b15be29d856b09dd7d261a12ab1" kindref="member">Differential</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>var);</highlight></codeline>
|
||||
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="50" refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" kindref="member">dt</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||||
<codeline lineno="52"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="59" refid="classbsp___integral" refkind="compound"><highlight class="comment"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classbsp___integral" kindref="compound">bsp_Integral</ref><sp/>{</highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="61" refid="classbsp___integral_1af274273b399f4da855646921f3ae31ba" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1af274273b399f4da855646921f3ae31ba" kindref="member">bsp_Integral</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kindref="member">dt</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">bsp_Integral::result_list</ref><sp/>=<sp/>NULL;</highlight></codeline>
|
||||
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kindref="member">bsp_Integral::dt</ref><sp/>=<sp/><ref refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kindref="member">dt</ref>;</highlight></codeline>
|
||||
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">bsp_Integral::results</ref><sp/>=<sp/>0;}</highlight></codeline>
|
||||
<codeline lineno="65" refid="classbsp___integral_1a3f190eb273b4d6492fb39e2573ec37a1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a3f190eb273b4d6492fb39e2573ec37a1" kindref="member">~bsp_Integral</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>free(<ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>);</highlight></codeline>
|
||||
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref><sp/>=<sp/>NULL;}</highlight></codeline>
|
||||
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" kindref="member">Integral</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>var);</highlight></codeline>
|
||||
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1aaf7474301ed76ca9ce2b1884ae870019" kindref="member">Integral_set</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref>);</highlight></codeline>
|
||||
<codeline lineno="71"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" kindref="member">Integral_list</ref>(</highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/>var);</highlight></codeline>
|
||||
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><ref refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" kindref="member">Integral_makelist</ref>(<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/>len);</highlight></codeline>
|
||||
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" kindref="member">Integral_dellist</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||||
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" kindref="member">Integral_clslist</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||||
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
||||
<codeline lineno="77" refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><sp/><sp/>*<ref refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kindref="member">result_list</ref>;<sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="78" refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref><sp/><sp/><sp/><sp/><sp/><ref refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" kindref="member">result_len</ref>;<sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="79" refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><sp/><sp/><ref refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kindref="member">results</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="80" refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><sp/><sp/><ref refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kindref="member">dt</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
|
||||
<codeline lineno="83"><highlight class="preprocessor">#endif</highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h"/>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
@@ -99,17 +99,17 @@
|
||||
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||||
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>HAL_GPIO_ReadPin(<ref refid="classbsp___i_i_c___s_t_m32_1a6258aaa53e12f5502333f4440cdba352" kindref="member">GPIOx_SCK</ref>,<sp/><ref refid="classbsp___i_i_c___s_t_m32_1a7a5b57552741573a65114014a146bd5e" kindref="member">GPIO_Pin_SCK</ref>);</highlight></codeline>
|
||||
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/>}}</highlight></codeline>
|
||||
<codeline lineno="89" refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" refkind="member"><highlight class="normal"><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/><ref refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" kindref="member">bsp_IIC_STM32::IIC_SDA</ref>(<ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>var)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(var<sp/>==<sp/><ref refid="bsp___i_i_c_8h_1adf764cbdea00d65edcd07bb9953ad2b7a048bbf954430bbc34fa11280165ed534" kindref="member">IIC_RESET</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>HAL_GPIO_WritePin(<ref refid="classbsp___i_i_c___s_t_m32_1aae22b18b9aa61649c4abd31f79fa7a82" kindref="member">GPIOx_SDA</ref>,<sp/><ref refid="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" kindref="member">GPIO_Pin_SDA</ref>,<sp/>GPIO_PIN_RESET);</highlight></codeline>
|
||||
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>2;}</highlight></codeline>
|
||||
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(var<sp/>==<sp/><ref refid="bsp___i_i_c_8h_1adf764cbdea00d65edcd07bb9953ad2b7a9e128b73c7beb33be6b4e953a7fddc66" kindref="member">IIC_SET</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>HAL_GPIO_WritePin(<ref refid="classbsp___i_i_c___s_t_m32_1aae22b18b9aa61649c4abd31f79fa7a82" kindref="member">GPIOx_SDA</ref>,<sp/><ref refid="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" kindref="member">GPIO_Pin_SDA</ref>,<sp/>GPIO_PIN_SET);</highlight></codeline>
|
||||
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>2;}</highlight></codeline>
|
||||
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||||
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>HAL_GPIO_ReadPin(<ref refid="classbsp___i_i_c___s_t_m32_1aae22b18b9aa61649c4abd31f79fa7a82" kindref="member">GPIOx_SDA</ref>,<sp/><ref refid="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" kindref="member">GPIO_Pin_SDA</ref>);</highlight></codeline>
|
||||
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}}</highlight></codeline>
|
||||
<codeline lineno="100"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="88" refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" refkind="member"><highlight class="normal"><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/><ref refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" kindref="member">bsp_IIC_STM32::IIC_SDA</ref>(<ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref><sp/>var)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(var<sp/>==<sp/><ref refid="bsp___i_i_c_8h_1adf764cbdea00d65edcd07bb9953ad2b7a048bbf954430bbc34fa11280165ed534" kindref="member">IIC_RESET</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>HAL_GPIO_WritePin(<ref refid="classbsp___i_i_c___s_t_m32_1aae22b18b9aa61649c4abd31f79fa7a82" kindref="member">GPIOx_SDA</ref>,<sp/><ref refid="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" kindref="member">GPIO_Pin_SDA</ref>,<sp/>GPIO_PIN_RESET);</highlight></codeline>
|
||||
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>2;}</highlight></codeline>
|
||||
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(var<sp/>==<sp/><ref refid="bsp___i_i_c_8h_1adf764cbdea00d65edcd07bb9953ad2b7a9e128b73c7beb33be6b4e953a7fddc66" kindref="member">IIC_SET</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>HAL_GPIO_WritePin(<ref refid="classbsp___i_i_c___s_t_m32_1aae22b18b9aa61649c4abd31f79fa7a82" kindref="member">GPIOx_SDA</ref>,<sp/><ref refid="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" kindref="member">GPIO_Pin_SDA</ref>,<sp/>GPIO_PIN_SET);</highlight></codeline>
|
||||
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>2;}</highlight></codeline>
|
||||
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
|
||||
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>HAL_GPIO_ReadPin(<ref refid="classbsp___i_i_c___s_t_m32_1aae22b18b9aa61649c4abd31f79fa7a82" kindref="member">GPIOx_SDA</ref>,<sp/><ref refid="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" kindref="member">GPIO_Pin_SDA</ref>);</highlight></codeline>
|
||||
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}}</highlight></codeline>
|
||||
<codeline lineno="99"><highlight class="normal"></highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.cpp"/>
|
||||
</compounddef>
|
||||
|
||||
@@ -501,6 +501,7 @@
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>操作SD卡的库 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
|
||||
254
Doc/xml/bsp__flash_8c.xml
Normal file
254
Doc/xml/bsp__flash_8c.xml
Normal file
@@ -0,0 +1,254 @@
|
||||
<?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="bsp__flash_8c" kind="file" language="C++">
|
||||
<compoundname>bsp_flash.c</compoundname>
|
||||
<includes local="yes">main.h</includes>
|
||||
<incdepgraph>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c</label>
|
||||
<link refid="bsp__flash_8c"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="2">
|
||||
<label>main.h</label>
|
||||
</node>
|
||||
</incdepgraph>
|
||||
<innerclass refid="structstruct__bsp___flash___pack" prot="public">struct_bsp_Flash_Pack</innerclass>
|
||||
<sectiondef kind="var">
|
||||
<memberdef kind="variable" id="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" prot="public" static="no" mutable="no">
|
||||
<type>uint32_t</type>
|
||||
<definition>uint32_t FlashAddr</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>FlashAddr</name>
|
||||
<initializer>= 0x08010000</initializer>
|
||||
<briefdescription>
|
||||
<para>读写Flash起始地址,跳过程序部分 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="36" column="10" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="36" bodyend="-1"/>
|
||||
<referencedby refid="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" compoundref="bsp__flash_8c" startline="75" endline="77">bsp_ReadFlash</referencedby>
|
||||
<referencedby refid="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" compoundref="bsp__flash_8c" startline="56" endline="67">bsp_WriteFlashOnePage</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8" prot="public" static="no" mutable="no">
|
||||
<type>struct <ref refid="structstruct__bsp___flash___pack" kindref="compound">struct_bsp_Flash_Pack</ref></type>
|
||||
<definition>struct struct_bsp_Flash_Pack bsp_Flash_Pack</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bsp_Flash_Pack</name>
|
||||
<initializer>={0,0,0}</initializer>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="47" column="15"/>
|
||||
<referencedby refid="bsp__flash_8c_1a45549058e1315d29263c0b26816bcffb" compoundref="bsp__flash_8c" startline="91" endline="93">bsp_ReadFlash_Pack</referencedby>
|
||||
<referencedby refid="bsp__flash_8c_1aa1a1ff74b284a19aa3872b6f3d6abd11" compoundref="bsp__flash_8c" startline="83" endline="85">bsp_WriteFlash_Pack</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="func">
|
||||
<memberdef kind="function" id="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>uint32_t</type>
|
||||
<definition>uint32_t bsp_WriteFlashOnePage</definition>
|
||||
<argsstring>(uint32_t *dat, uint32_t num)</argsstring>
|
||||
<name>bsp_WriteFlashOnePage</name>
|
||||
<param>
|
||||
<type>uint32_t *</type>
|
||||
<declname>dat</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type>uint32_t</type>
|
||||
<declname>num</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>写入一页Flash空间 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>*dat</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>要写入的数据 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>num</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>要写入的数量 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>返回0则成功 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="56" column="10" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="56" bodyend="67"/>
|
||||
<references refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" compoundref="bsp__flash_8c" startline="36">FlashAddr</references>
|
||||
<referencedby refid="bsp__flash_8c_1aa1a1ff74b284a19aa3872b6f3d6abd11" compoundref="bsp__flash_8c" startline="83" endline="85">bsp_WriteFlash_Pack</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_ReadFlash</definition>
|
||||
<argsstring>(uint32_t *dat, uint32_t num)</argsstring>
|
||||
<name>bsp_ReadFlash</name>
|
||||
<param>
|
||||
<type>uint32_t *</type>
|
||||
<declname>dat</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type>uint32_t</type>
|
||||
<declname>num</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>读取一页Flash空间 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>*dat</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>读取数据的缓冲区 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>num</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>读取数量 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>无返回 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="75" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="75" bodyend="77"/>
|
||||
<references refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" compoundref="bsp__flash_8c" startline="36">FlashAddr</references>
|
||||
<referencedby refid="bsp__flash_8c_1a45549058e1315d29263c0b26816bcffb" compoundref="bsp__flash_8c" startline="91" endline="93">bsp_ReadFlash_Pack</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="bsp__flash_8c_1aa1a1ff74b284a19aa3872b6f3d6abd11" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_WriteFlash_Pack</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>bsp_WriteFlash_Pack</name>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>将一包数据存入Flash </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="return"><para>无返回 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="83" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="83" bodyend="85"/>
|
||||
<references refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8">bsp_Flash_Pack</references>
|
||||
<references refid="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" compoundref="bsp__flash_8c" startline="56" endline="67">bsp_WriteFlashOnePage</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="bsp__flash_8c_1a45549058e1315d29263c0b26816bcffb" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_ReadFlash_Pack</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>bsp_ReadFlash_Pack</name>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>从Flash读取一包数据 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="return"><para>无返回 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="91" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="91" bodyend="93"/>
|
||||
<references refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8">bsp_Flash_Pack</references>
|
||||
<references refid="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" compoundref="bsp__flash_8c" startline="75" endline="77">bsp_ReadFlash</references>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>写STM32的Flash库 </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="normal"></highlight><highlight class="preprocessor">#include<sp/>"main.h"</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="36" refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" refkind="member"><highlight class="normal">uint32_t<sp/><ref refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" kindref="member">FlashAddr</ref><sp/>=<sp/>0x08010000;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="37"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>pack(4)</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="43" refid="structstruct__bsp___flash___pack" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structstruct__bsp___flash___pack" kindref="compound">struct_bsp_Flash_Pack</ref>{</highlight></codeline>
|
||||
<codeline lineno="44" refid="structstruct__bsp___flash___pack_1aea6e531775263f158f23d2295f759dd7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="structstruct__bsp___flash___pack_1aea6e531775263f158f23d2295f759dd7" kindref="member">Var0</ref>;</highlight></codeline>
|
||||
<codeline lineno="45" refid="structstruct__bsp___flash___pack_1aff73ebf1f2eaf5930d7187aa5f502075" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">short</highlight><highlight class="normal"><sp/><sp/><sp/><ref refid="structstruct__bsp___flash___pack_1aff73ebf1f2eaf5930d7187aa5f502075" kindref="member">Var1</ref>;</highlight></codeline>
|
||||
<codeline lineno="46" refid="structstruct__bsp___flash___pack_1adc2edcdadc2b2be3d18334cd196e049c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><ref refid="structstruct__bsp___flash___pack_1adc2edcdadc2b2be3d18334cd196e049c" kindref="member">Var2</ref>;</highlight></codeline>
|
||||
<codeline lineno="47" refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8" refkind="member"><highlight class="normal">}<ref refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8" kindref="member">bsp_Flash_Pack</ref>={0,0,0};</highlight></codeline>
|
||||
<codeline lineno="48"><highlight class="normal"></highlight><highlight class="preprocessor">#pragma<sp/>pack()</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="49"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="56" refid="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" refkind="member"><highlight class="comment"></highlight><highlight class="normal">uint32_t<sp/><ref refid="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" kindref="member">bsp_WriteFlashOnePage</ref>(uint32_t<sp/>*dat,uint32_t<sp/>num){</highlight></codeline>
|
||||
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/>FLASH_EraseInitTypeDef<sp/>f;</highlight></codeline>
|
||||
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/>uint32_t<sp/>PageError<sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//错误号7</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/>HAL_FLASH_Unlock();<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//解锁FLASH</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/>f.TypeErase<sp/>=<sp/>FLASH_TYPEERASE_PAGES;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Flash擦除</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/>f.PageAddress<sp/>=<sp/><ref refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" kindref="member">FlashAddr</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//擦除地址(起始页)</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/>f.NbPages<sp/>=<sp/>1;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//擦除1页</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/>HAL_FLASHEx_Erase(&f,&PageError);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//调用擦除函数</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0;i<num;i++)</highlight></codeline>
|
||||
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>HAL_FLASH_Program(TYPEPROGRAM_WORD,<ref refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" kindref="member">FlashAddr</ref>+i*4,dat[i]);<sp/><sp/><sp/></highlight><highlight class="comment">//对FLASH烧写</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/>HAL_FLASH_Lock();<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//锁住FLASH</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>PageError;}</highlight></codeline>
|
||||
<codeline lineno="68"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="75" refid="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" kindref="member">bsp_ReadFlash</ref>(uint32_t<sp/>*dat,uint32_t<sp/>num){<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//读入一串数据</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal">(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0;i<num;i++)</highlight></codeline>
|
||||
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>dat[i]=*(__IO<sp/>uint32_t*)(<ref refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" kindref="member">FlashAddr</ref>+i*4);}</highlight></codeline>
|
||||
<codeline lineno="78"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="83" refid="bsp__flash_8c_1aa1a1ff74b284a19aa3872b6f3d6abd11" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="bsp__flash_8c_1aa1a1ff74b284a19aa3872b6f3d6abd11" kindref="member">bsp_WriteFlash_Pack</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">){</highlight></codeline>
|
||||
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" kindref="member">bsp_WriteFlashOnePage</ref>((uint32_t*)(&<ref refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8" kindref="member">bsp_Flash_Pack</ref>),</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structstruct__bsp___flash___pack" kindref="compound">struct_bsp_Flash_Pack</ref>));</highlight></codeline>
|
||||
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">;}</highlight></codeline>
|
||||
<codeline lineno="86"><highlight class="normal"></highlight><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight></codeline>
|
||||
<codeline lineno="91" refid="bsp__flash_8c_1a45549058e1315d29263c0b26816bcffb" refkind="member"><highlight class="comment"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="bsp__flash_8c_1a45549058e1315d29263c0b26816bcffb" kindref="member">bsp_ReadFlash_Pack</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">){</highlight></codeline>
|
||||
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" kindref="member">bsp_ReadFlash</ref>((uint32_t*)(&<ref refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8" kindref="member">bsp_Flash_Pack</ref>),</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structstruct__bsp___flash___pack" kindref="compound">struct_bsp_Flash_Pack</ref>));</highlight></codeline>
|
||||
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">;}</highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c"/>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
194
Doc/xml/bsp__flash_8h.xml
Normal file
194
Doc/xml/bsp__flash_8h.xml
Normal file
@@ -0,0 +1,194 @@
|
||||
<?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="bsp__flash_8h" kind="file" language="C++">
|
||||
<compoundname>bsp_flash.h</compoundname>
|
||||
<includes local="yes">main.h</includes>
|
||||
<incdepgraph>
|
||||
<node id="1">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h</label>
|
||||
<link refid="bsp__flash_8h"/>
|
||||
<childnode refid="2" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="2">
|
||||
<label>main.h</label>
|
||||
</node>
|
||||
</incdepgraph>
|
||||
<sectiondef kind="func">
|
||||
<memberdef kind="function" id="bsp__flash_8h_1af1304997d797af3400074bdb68e5de1c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>uint32_t</type>
|
||||
<definition>uint32_t bsp_WriteFlashOnePage</definition>
|
||||
<argsstring>(uint32_t *dat, uint32_t num)</argsstring>
|
||||
<name>bsp_WriteFlashOnePage</name>
|
||||
<param>
|
||||
<type>uint32_t *</type>
|
||||
<declname>dat</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type>uint32_t</type>
|
||||
<declname>num</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>写入一页Flash空间 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>*dat</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>要写入的数据 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>num</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>要写入的数量 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>返回0则成功 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" line="41" column="10" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="56" bodyend="67" declfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" declline="41" declcolumn="10"/>
|
||||
<references refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" compoundref="bsp__flash_8c" startline="36">FlashAddr</references>
|
||||
<referencedby refid="bsp__flash_8c_1aa1a1ff74b284a19aa3872b6f3d6abd11" compoundref="bsp__flash_8c" startline="83" endline="85">bsp_WriteFlash_Pack</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="bsp__flash_8h_1a734a679e19a8af2c7ddfa86f4310a13d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_ReadFlash</definition>
|
||||
<argsstring>(uint32_t *dat, uint32_t num)</argsstring>
|
||||
<name>bsp_ReadFlash</name>
|
||||
<param>
|
||||
<type>uint32_t *</type>
|
||||
<declname>dat</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type>uint32_t</type>
|
||||
<declname>num</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>读取一页Flash空间 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>*dat</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>读取数据的缓冲区 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>num</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>读取数量 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>无返回 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" line="42" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="75" bodyend="77" declfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" declline="42" declcolumn="6"/>
|
||||
<references refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" compoundref="bsp__flash_8c" startline="36">FlashAddr</references>
|
||||
<referencedby refid="bsp__flash_8c_1a45549058e1315d29263c0b26816bcffb" compoundref="bsp__flash_8c" startline="91" endline="93">bsp_ReadFlash_Pack</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="bsp__flash_8h_1aa1a1ff74b284a19aa3872b6f3d6abd11" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_WriteFlash_Pack</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>bsp_WriteFlash_Pack</name>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>将一包数据存入Flash </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="return"><para>无返回 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" line="43" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="83" bodyend="85" declfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" declline="43" declcolumn="6"/>
|
||||
<references refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8">bsp_Flash_Pack</references>
|
||||
<references refid="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" compoundref="bsp__flash_8c" startline="56" endline="67">bsp_WriteFlashOnePage</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="bsp__flash_8h_1a45549058e1315d29263c0b26816bcffb" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_ReadFlash_Pack</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>bsp_ReadFlash_Pack</name>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>从Flash读取一包数据 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="return"><para>无返回 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" line="44" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="91" bodyend="93" declfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h" declline="44" declcolumn="6"/>
|
||||
<references refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8">bsp_Flash_Pack</references>
|
||||
<references refid="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" compoundref="bsp__flash_8c" startline="75" endline="77">bsp_ReadFlash</references>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>写STM32的Flash库 </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="34"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_XEROLYSKINNER_BSP_FLASH_H</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="35"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>_XEROLYSKINNER_BSP_FLASH_H</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"main.h"</highlight></codeline>
|
||||
<codeline lineno="38"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="39"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>程序</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">uint32_t<sp/><ref refid="bsp__flash_8h_1af1304997d797af3400074bdb68e5de1c" kindref="member">bsp_WriteFlashOnePage</ref>(uint32_t<sp/>*dat,uint32_t<sp/>num);</highlight></codeline>
|
||||
<codeline lineno="42"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="bsp__flash_8h_1a734a679e19a8af2c7ddfa86f4310a13d" kindref="member">bsp_ReadFlash</ref>(uint32_t<sp/>*dat,uint32_t<sp/>num);</highlight></codeline>
|
||||
<codeline lineno="43"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="bsp__flash_8h_1aa1a1ff74b284a19aa3872b6f3d6abd11" kindref="member">bsp_WriteFlash_Pack</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||||
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="bsp__flash_8h_1a45549058e1315d29263c0b26816bcffb" kindref="member">bsp_ReadFlash_Pack</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline>
|
||||
<codeline lineno="46"><highlight class="preprocessor">#endif</highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.h"/>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
408
Doc/xml/classbsp___b_m_p.xml
Normal file
408
Doc/xml/classbsp___b_m_p.xml
Normal file
@@ -0,0 +1,408 @@
|
||||
<?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="classbsp___b_m_p" kind="class" language="C++" prot="public">
|
||||
<compoundname>bsp_BMP</compoundname>
|
||||
<includes refid="bsp___b_m_p_8h" local="no">bsp_BMP.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="struct___b_i_t_m_a_p_i_n_f_o" kindref="compound">_BITMAPINFO</ref></type>
|
||||
<definition>_BITMAPINFO bsp_BMP::BITMAPINFO</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>BITMAPINFO</name>
|
||||
<qualifiedname>bsp_BMP::BITMAPINFO</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>文件头 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="108" column="13" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="108" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" compoundref="bsp___b_m_p_8cpp" startline="68" endline="72">ColorsSet</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" compoundref="bsp___b_m_p_8cpp" startline="45" endline="47">pels</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">sizeSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 bsp_BMP::Size</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>Size</name>
|
||||
<qualifiedname>bsp_BMP::Size</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>文件大小 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="109" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="109" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" compoundref="bsp___b_m_p_8cpp" startline="52" endline="55">giveData</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">sizeSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref> *</type>
|
||||
<definition>u8* bsp_BMP::dat</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>dat</name>
|
||||
<qualifiedname>bsp_BMP::dat</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>数据区 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="110" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="110" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1abe5d545dea1090a228843f140650f573" compoundref="bsp___b_m_p_8cpp" startline="59" endline="60">delData</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" compoundref="bsp___b_m_p_8cpp" startline="52" endline="55">giveData</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">sizeSet</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2" compoundref="bsp___b_m_p_8cpp" startline="121" endline="122">~bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="public-func">
|
||||
<memberdef kind="function" id="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>bsp_BMP::bsp_BMP</definition>
|
||||
<argsstring>(u32 Width, u32 Height)</argsstring>
|
||||
<name>bsp_BMP</name>
|
||||
<qualifiedname>bsp_BMP::bsp_BMP</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>Width</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>Height</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>构造BMP数据头 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>Width</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>图片宽度 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>Height</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>图片高度 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="99" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp" bodystart="97" bodyend="119"/>
|
||||
<references refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" compoundref="bsp___b_m_p_8h" startline="50">_BITMAPFILEHEADER::bfOffBits</references>
|
||||
<references refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a" compoundref="bsp___b_m_p_8h" startline="48">_BITMAPFILEHEADER::bfReserved1</references>
|
||||
<references refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50" compoundref="bsp___b_m_p_8h" startline="49">_BITMAPFILEHEADER::bfReserved2</references>
|
||||
<references refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" compoundref="bsp___b_m_p_8h" startline="47">_BITMAPFILEHEADER::bfSize</references>
|
||||
<references refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db" compoundref="bsp___b_m_p_8h" startline="46">_BITMAPFILEHEADER::bfType</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286" compoundref="bsp___b_m_p_8h" startline="60">_BITMAPINFOHEADER::biBitCount</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab" compoundref="bsp___b_m_p_8h" startline="70">_BITMAPINFOHEADER::biClrImportant</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7" compoundref="bsp___b_m_p_8h" startline="69">_BITMAPINFOHEADER::biClrUsed</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2" compoundref="bsp___b_m_p_8h" startline="61">_BITMAPINFOHEADER::biCompression</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" compoundref="bsp___b_m_p_8h" startline="58">_BITMAPINFOHEADER::biHeight</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd" compoundref="bsp___b_m_p_8h" startline="59">_BITMAPINFOHEADER::biPlanes</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf" compoundref="bsp___b_m_p_8h" startline="56">_BITMAPINFOHEADER::biSize</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e" compoundref="bsp___b_m_p_8h" startline="66">_BITMAPINFOHEADER::biSizeImage</references>
|
||||
<references refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" compoundref="bsp___b_m_p_8h" startline="108">BITMAPINFO</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" compoundref="bsp___b_m_p_8h" startline="57">_BITMAPINFOHEADER::biWidth</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" compoundref="bsp___b_m_p_8h" startline="67">_BITMAPINFOHEADER::biXPelsPerMeter</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" compoundref="bsp___b_m_p_8h" startline="68">_BITMAPINFOHEADER::biYPelsPerMeter</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" compoundref="bsp___b_m_p_8h" startline="85">_BITMAPINFO::bmfHeader</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" compoundref="bsp___b_m_p_8h" startline="86">_BITMAPINFO::bmiHeader</references>
|
||||
<references refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" compoundref="bsp___b_m_p_8h" startline="110">dat</references>
|
||||
<references refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" compoundref="bsp___b_m_p_8h" startline="109">Size</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>bsp_BMP::~bsp_BMP</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>~bsp_BMP</name>
|
||||
<qualifiedname>bsp_BMP::~bsp_BMP</qualifiedname>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="100" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp" bodystart="121" bodyend="122"/>
|
||||
<references refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" compoundref="bsp___b_m_p_8h" startline="110">dat</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_BMP::pels</definition>
|
||||
<argsstring>(u32 x, u32 y)</argsstring>
|
||||
<name>pels</name>
|
||||
<qualifiedname>bsp_BMP::pels</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>x</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>y</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>设置像素 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>x</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>x像素 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>y</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>y像素 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="102" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp" bodystart="45" bodyend="47"/>
|
||||
<references refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" compoundref="bsp___b_m_p_8h" startline="108">BITMAPINFO</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" compoundref="bsp___b_m_p_8h" startline="67">_BITMAPINFOHEADER::biXPelsPerMeter</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" compoundref="bsp___b_m_p_8h" startline="68">_BITMAPINFOHEADER::biYPelsPerMeter</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" compoundref="bsp___b_m_p_8h" startline="86">_BITMAPINFO::bmiHeader</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 bsp_BMP::giveData</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>giveData</name>
|
||||
<qualifiedname>bsp_BMP::giveData</qualifiedname>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>给予数据空间 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="return"><para>返回给与的数据头 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="103" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp" bodystart="52" bodyend="55"/>
|
||||
<references refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" compoundref="bsp___b_m_p_8h" startline="110">dat</references>
|
||||
<references refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" compoundref="bsp___b_m_p_8h" startline="109">Size</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___b_m_p_1abe5d545dea1090a228843f140650f573" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_BMP::delData</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>delData</name>
|
||||
<qualifiedname>bsp_BMP::delData</qualifiedname>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>释放数据空间 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="104" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp" bodystart="59" bodyend="60"/>
|
||||
<references refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" compoundref="bsp___b_m_p_8h" startline="110">dat</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_BMP::ColorsSet</definition>
|
||||
<argsstring>(u8 R, u8 G, u8 B, u32 i)</argsstring>
|
||||
<name>ColorsSet</name>
|
||||
<qualifiedname>bsp_BMP::ColorsSet</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||||
<declname>R</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||||
<declname>G</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||||
<declname>B</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>i</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>设置调色板 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>R</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>红色 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>G</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>绿色 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>B</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>蓝色 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>i</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>索引号 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="105" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp" bodystart="68" bodyend="72"/>
|
||||
<references refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" compoundref="bsp___b_m_p_8h" startline="108">BITMAPINFO</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" compoundref="bsp___b_m_p_8h" startline="87">_BITMAPINFO::bmiColors</references>
|
||||
<references refid="struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d" compoundref="bsp___b_m_p_8h" startline="76">_RGBQUAD::rgbBlue</references>
|
||||
<references refid="struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1" compoundref="bsp___b_m_p_8h" startline="77">_RGBQUAD::rgbGreen</references>
|
||||
<references refid="struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f" compoundref="bsp___b_m_p_8h" startline="78">_RGBQUAD::rgbRed</references>
|
||||
<references refid="struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924" compoundref="bsp___b_m_p_8h" startline="79">_RGBQUAD::rgbReserved</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_BMP::sizeSet</definition>
|
||||
<argsstring>(u32 x, u32 y)</argsstring>
|
||||
<name>sizeSet</name>
|
||||
<qualifiedname>bsp_BMP::sizeSet</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>x</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>y</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>设置图片大小 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>Width</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>图片宽度 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
<parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>Height</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>图片高度 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="106" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp" bodystart="78" bodyend="88"/>
|
||||
<references refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" compoundref="bsp___b_m_p_8h" startline="50">_BITMAPFILEHEADER::bfOffBits</references>
|
||||
<references refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" compoundref="bsp___b_m_p_8h" startline="47">_BITMAPFILEHEADER::bfSize</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" compoundref="bsp___b_m_p_8h" startline="58">_BITMAPINFOHEADER::biHeight</references>
|
||||
<references refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" compoundref="bsp___b_m_p_8h" startline="108">BITMAPINFO</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" compoundref="bsp___b_m_p_8h" startline="57">_BITMAPINFOHEADER::biWidth</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" compoundref="bsp___b_m_p_8h" startline="85">_BITMAPINFO::bmfHeader</references>
|
||||
<references refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" compoundref="bsp___b_m_p_8h" startline="86">_BITMAPINFO::bmiHeader</references>
|
||||
<references refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" compoundref="bsp___b_m_p_8h" startline="110">dat</references>
|
||||
<references refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" compoundref="bsp___b_m_p_8h" startline="109">Size</references>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>构建一个BMP类 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<collaborationgraph>
|
||||
<node id="3">
|
||||
<label>_BITMAPFILEHEADER</label>
|
||||
<link refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r"/>
|
||||
</node>
|
||||
<node id="2">
|
||||
<label>_BITMAPINFO</label>
|
||||
<link refid="struct___b_i_t_m_a_p_i_n_f_o"/>
|
||||
<childnode refid="3" relation="usage">
|
||||
<edgelabel>bmfHeader</edgelabel>
|
||||
</childnode>
|
||||
<childnode refid="4" relation="usage">
|
||||
<edgelabel>bmiHeader</edgelabel>
|
||||
</childnode>
|
||||
<childnode refid="5" relation="usage">
|
||||
<edgelabel>bmiColors</edgelabel>
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="4">
|
||||
<label>_BITMAPINFOHEADER</label>
|
||||
<link refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r"/>
|
||||
</node>
|
||||
<node id="5">
|
||||
<label>_RGBQUAD</label>
|
||||
<link refid="struct___r_g_b_q_u_a_d"/>
|
||||
</node>
|
||||
<node id="1">
|
||||
<label>bsp_BMP</label>
|
||||
<link refid="classbsp___b_m_p"/>
|
||||
<childnode refid="2" relation="usage">
|
||||
<edgelabel>BITMAPINFO</edgelabel>
|
||||
</childnode>
|
||||
</node>
|
||||
</collaborationgraph>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="97" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="97" bodyend="111"/>
|
||||
<listofallmembers>
|
||||
<member refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>BITMAPINFO</name></member>
|
||||
<member refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>bsp_BMP</name></member>
|
||||
<member refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>ColorsSet</name></member>
|
||||
<member refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>dat</name></member>
|
||||
<member refid="classbsp___b_m_p_1abe5d545dea1090a228843f140650f573" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>delData</name></member>
|
||||
<member refid="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>giveData</name></member>
|
||||
<member refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>pels</name></member>
|
||||
<member refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>Size</name></member>
|
||||
<member refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>sizeSet</name></member>
|
||||
<member refid="classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2" prot="public" virt="non-virtual"><scope>bsp_BMP</scope><name>~bsp_BMP</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
90
Doc/xml/classbsp___differential.xml
Normal file
90
Doc/xml/classbsp___differential.xml
Normal file
@@ -0,0 +1,90 @@
|
||||
<?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="classbsp___differential" kind="class" language="C++" prot="public">
|
||||
<compoundname>bsp_Differential</compoundname>
|
||||
<includes refid="bsp___calculus_8h" local="no">bsp_Calculus.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="classbsp___differential_1ab25588868059974b8356e975c6e96992" prot="public" static="no" mutable="no">
|
||||
<type>float</type>
|
||||
<definition>float bsp_Differential::dt</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>dt</name>
|
||||
<qualifiedname>bsp_Differential::dt</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>时间参数 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="50" column="7" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="50" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___differential_1a16a19c803e2f1a3bbba98a2ef529206b" compoundref="bsp___calculus_8h" startline="45" endline="46">bsp_Differential</referencedby>
|
||||
<referencedby refid="classbsp___differential_1a46536b15be29d856b09dd7d261a12ab1" compoundref="bsp___calculus_8cpp" startline="46" endline="50">Differential</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="public-func">
|
||||
<memberdef kind="function" id="classbsp___differential_1a16a19c803e2f1a3bbba98a2ef529206b" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>bsp_Differential::bsp_Differential</definition>
|
||||
<argsstring>(float dt)</argsstring>
|
||||
<name>bsp_Differential</name>
|
||||
<qualifiedname>bsp_Differential::bsp_Differential</qualifiedname>
|
||||
<param>
|
||||
<type>float</type>
|
||||
<declname>dt</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="45" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="45" bodyend="46"/>
|
||||
<references refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" compoundref="bsp___calculus_8h" startline="50">dt</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___differential_1a46536b15be29d856b09dd7d261a12ab1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>float</type>
|
||||
<definition>float bsp_Differential::Differential</definition>
|
||||
<argsstring>(float var)</argsstring>
|
||||
<name>Differential</name>
|
||||
<qualifiedname>bsp_Differential::Differential</qualifiedname>
|
||||
<param>
|
||||
<type>float</type>
|
||||
<declname>var</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>对数据微分 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>var</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>此处填入浮点数据 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>此时的微分值 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="48" column="7" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp" bodystart="46" bodyend="50"/>
|
||||
<references refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" compoundref="bsp___calculus_8h" startline="50">dt</references>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>一个微分对象 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="43" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="43" bodyend="51"/>
|
||||
<listofallmembers>
|
||||
<member refid="classbsp___differential_1a16a19c803e2f1a3bbba98a2ef529206b" prot="public" virt="non-virtual"><scope>bsp_Differential</scope><name>bsp_Differential</name></member>
|
||||
<member refid="classbsp___differential_1a46536b15be29d856b09dd7d261a12ab1" prot="public" virt="non-virtual"><scope>bsp_Differential</scope><name>Differential</name></member>
|
||||
<member refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" prot="public" virt="non-virtual"><scope>bsp_Differential</scope><name>dt</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
@@ -495,7 +495,7 @@
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>当var为IIC_READ时返回管脚状态 </para>
|
||||
</simplesect>
|
||||
<xrefsect id="todo_1_todo000001"><xreftitle>待办事项</xreftitle><xrefdescription><para>需要为其实现才可使用软件IIC </para>
|
||||
<xrefsect id="todo_1_todo000002"><xreftitle>待办事项</xreftitle><xrefdescription><para>需要为其实现才可使用软件IIC </para>
|
||||
</xrefdescription></xrefsect></para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
@@ -534,7 +534,7 @@
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>当var为IIC_READ时返回管脚状态 </para>
|
||||
</simplesect>
|
||||
<xrefsect id="todo_1_todo000002"><xreftitle>待办事项</xreftitle><xrefdescription><para>需要为其实现才可使用软件IIC </para>
|
||||
<xrefsect id="todo_1_todo000003"><xreftitle>待办事项</xreftitle><xrefdescription><para>需要为其实现才可使用软件IIC </para>
|
||||
</xrefdescription></xrefsect></para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
@@ -562,7 +562,7 @@
|
||||
<para>时序中的延时 在此处短暂延时 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><xrefsect id="todo_1_todo000003"><xreftitle>待办事项</xreftitle><xrefdescription><para>需要为其实现才可使用软件IIC </para>
|
||||
<para><xrefsect id="todo_1_todo000004"><xreftitle>待办事项</xreftitle><xrefdescription><para>需要为其实现才可使用软件IIC </para>
|
||||
</xrefdescription></xrefsect></para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h" line="65" column="13" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h" bodystart="65" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___i_i_c___s_t_m32_1a22566656cd2c5e8e1ab6b4c6aa32b63b" compoundref="bsp___i_i_c___s_t_m32_8cpp" startline="51" endline="55">bsp_IIC_STM32</referencedby>
|
||||
<referencedby refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" compoundref="bsp___i_i_c___s_t_m32_8cpp" startline="89" endline="98">IIC_SDA</referencedby>
|
||||
<referencedby refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" compoundref="bsp___i_i_c___s_t_m32_8cpp" startline="88" endline="97">IIC_SDA</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" prot="public" static="no" mutable="no">
|
||||
<type>uint16_t</type>
|
||||
@@ -69,7 +69,7 @@
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h" line="66" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h" bodystart="66" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___i_i_c___s_t_m32_1a22566656cd2c5e8e1ab6b4c6aa32b63b" compoundref="bsp___i_i_c___s_t_m32_8cpp" startline="51" endline="55">bsp_IIC_STM32</referencedby>
|
||||
<referencedby refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" compoundref="bsp___i_i_c___s_t_m32_8cpp" startline="89" endline="98">IIC_SDA</referencedby>
|
||||
<referencedby refid="classbsp___i_i_c___s_t_m32_1a8e703fab0f20578492ff23cb185b1a8d" compoundref="bsp___i_i_c___s_t_m32_8cpp" startline="88" endline="97">IIC_SDA</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="public-func">
|
||||
@@ -210,7 +210,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h" line="60" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.cpp" bodystart="89" bodyend="98"/>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h" line="60" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.cpp" bodystart="88" bodyend="97"/>
|
||||
<references refid="classbsp___i_i_c___s_t_m32_1a73c8aa1aef1ed9e4ff8d46e5c7755272" compoundref="bsp___i_i_c___s_t_m32_8h" startline="66">GPIO_Pin_SDA</references>
|
||||
<references refid="classbsp___i_i_c___s_t_m32_1aae22b18b9aa61649c4abd31f79fa7a82" compoundref="bsp___i_i_c___s_t_m32_8h" startline="65">GPIOx_SDA</references>
|
||||
<references refid="bsp___i_i_c_8h_1adf764cbdea00d65edcd07bb9953ad2b7a048bbf954430bbc34fa11280165ed534" compoundref="bsp___i_i_c_8h" startline="45">IIC_RESET</references>
|
||||
|
||||
327
Doc/xml/classbsp___integral.xml
Normal file
327
Doc/xml/classbsp___integral.xml
Normal file
@@ -0,0 +1,327 @@
|
||||
<?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="classbsp___integral" kind="class" language="C++" prot="public">
|
||||
<compoundname>bsp_Integral</compoundname>
|
||||
<includes refid="bsp___calculus_8h" local="no">bsp_Calculus.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" prot="public" static="no" mutable="no">
|
||||
<type>float *</type>
|
||||
<definition>float* bsp_Integral::result_list</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>result_list</name>
|
||||
<qualifiedname>bsp_Integral::result_list</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>数据历史 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="77" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="77" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___integral_1af274273b399f4da855646921f3ae31ba" compoundref="bsp___calculus_8h" startline="61" endline="64">bsp_Integral</referencedby>
|
||||
<referencedby refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" compoundref="bsp___calculus_8cpp" startline="113" endline="116">Integral_clslist</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" compoundref="bsp___calculus_8cpp" startline="105" endline="108">Integral_dellist</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" compoundref="bsp___calculus_8cpp" startline="86" endline="100">Integral_list</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" compoundref="bsp___calculus_8cpp" startline="75" endline="79">Integral_makelist</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a3f190eb273b4d6492fb39e2573ec37a1" compoundref="bsp___calculus_8h" startline="65" endline="67">~bsp_Integral</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 bsp_Integral::result_len</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>result_len</name>
|
||||
<qualifiedname>bsp_Integral::result_len</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>历史缓冲区长度 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="78" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="78" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" compoundref="bsp___calculus_8cpp" startline="113" endline="116">Integral_clslist</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" compoundref="bsp___calculus_8cpp" startline="105" endline="108">Integral_dellist</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" compoundref="bsp___calculus_8cpp" startline="86" endline="100">Integral_list</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" compoundref="bsp___calculus_8cpp" startline="75" endline="79">Integral_makelist</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" prot="public" static="no" mutable="no">
|
||||
<type>float</type>
|
||||
<definition>float bsp_Integral::results</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>results</name>
|
||||
<qualifiedname>bsp_Integral::results</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>积分缓存 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="79" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="79" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___integral_1af274273b399f4da855646921f3ae31ba" compoundref="bsp___calculus_8h" startline="61" endline="64">bsp_Integral</referencedby>
|
||||
<referencedby refid="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" compoundref="bsp___calculus_8cpp" startline="59" endline="61">Integral</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" compoundref="bsp___calculus_8cpp" startline="86" endline="100">Integral_list</referencedby>
|
||||
<referencedby refid="classbsp___integral_1aaf7474301ed76ca9ce2b1884ae870019" compoundref="bsp___calculus_8cpp" startline="67" endline="68">Integral_set</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" prot="public" static="no" mutable="no">
|
||||
<type>float</type>
|
||||
<definition>float bsp_Integral::dt</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>dt</name>
|
||||
<qualifiedname>bsp_Integral::dt</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>时间参数 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="80" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="80" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___integral_1af274273b399f4da855646921f3ae31ba" compoundref="bsp___calculus_8h" startline="61" endline="64">bsp_Integral</referencedby>
|
||||
<referencedby refid="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" compoundref="bsp___calculus_8cpp" startline="59" endline="61">Integral</referencedby>
|
||||
<referencedby refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" compoundref="bsp___calculus_8cpp" startline="86" endline="100">Integral_list</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="public-func">
|
||||
<memberdef kind="function" id="classbsp___integral_1af274273b399f4da855646921f3ae31ba" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>bsp_Integral::bsp_Integral</definition>
|
||||
<argsstring>(float dt)</argsstring>
|
||||
<name>bsp_Integral</name>
|
||||
<qualifiedname>bsp_Integral::bsp_Integral</qualifiedname>
|
||||
<param>
|
||||
<type>float</type>
|
||||
<declname>dt</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="61" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="61" bodyend="64"/>
|
||||
<references refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" compoundref="bsp___calculus_8h" startline="80">dt</references>
|
||||
<references refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" compoundref="bsp___calculus_8h" startline="77">result_list</references>
|
||||
<references refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" compoundref="bsp___calculus_8h" startline="79">results</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___integral_1a3f190eb273b4d6492fb39e2573ec37a1" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>bsp_Integral::~bsp_Integral</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>~bsp_Integral</name>
|
||||
<qualifiedname>bsp_Integral::~bsp_Integral</qualifiedname>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="65" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="65" bodyend="67"/>
|
||||
<references refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" compoundref="bsp___calculus_8h" startline="77">result_list</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>float</type>
|
||||
<definition>float bsp_Integral::Integral</definition>
|
||||
<argsstring>(float var)</argsstring>
|
||||
<name>Integral</name>
|
||||
<qualifiedname>bsp_Integral::Integral</qualifiedname>
|
||||
<param>
|
||||
<type>float</type>
|
||||
<declname>var</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>对数据积分 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>var</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>此处填入浮点数据 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>从开始到现在的总积分值 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="69" column="7" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp" bodystart="59" bodyend="61"/>
|
||||
<references refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" compoundref="bsp___calculus_8h" startline="80">dt</references>
|
||||
<references refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" compoundref="bsp___calculus_8h" startline="79">results</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___integral_1aaf7474301ed76ca9ce2b1884ae870019" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_Integral::Integral_set</definition>
|
||||
<argsstring>(float results)</argsstring>
|
||||
<name>Integral_set</name>
|
||||
<qualifiedname>bsp_Integral::Integral_set</qualifiedname>
|
||||
<param>
|
||||
<type>float</type>
|
||||
<declname>results</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>重设当前积分值 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>var</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>要设置的积分值 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="70" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp" bodystart="67" bodyend="68"/>
|
||||
<references refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" compoundref="bsp___calculus_8h" startline="79">results</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>float</type>
|
||||
<definition>float bsp_Integral::Integral_list</definition>
|
||||
<argsstring>(float var)</argsstring>
|
||||
<name>Integral_list</name>
|
||||
<qualifiedname>bsp_Integral::Integral_list</qualifiedname>
|
||||
<param>
|
||||
<type>float</type>
|
||||
<declname>var</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>进行带有缓冲区的积分 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>var</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>需要积分的数值 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>返回积分值 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="72" column="7" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp" bodystart="86" bodyend="100"/>
|
||||
<references refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" compoundref="bsp___calculus_8h" startline="80">dt</references>
|
||||
<references refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" compoundref="bsp___calculus_8h" startline="78">result_len</references>
|
||||
<references refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" compoundref="bsp___calculus_8h" startline="77">result_list</references>
|
||||
<references refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" compoundref="bsp___calculus_8h" startline="79">results</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 bsp_Integral::Integral_makelist</definition>
|
||||
<argsstring>(u32 len)</argsstring>
|
||||
<name>Integral_makelist</name>
|
||||
<qualifiedname>bsp_Integral::Integral_makelist</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<declname>len</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>赋予历史缓存长度 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>var</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>分配的缓存长度 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
<simplesect kind="return"><para>返回分配的内存位置,0为分配失败 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="73" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp" bodystart="75" bodyend="79"/>
|
||||
<references refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" compoundref="bsp___calculus_8cpp" startline="113" endline="116">Integral_clslist</references>
|
||||
<references refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" compoundref="bsp___calculus_8h" startline="78">result_len</references>
|
||||
<references refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" compoundref="bsp___calculus_8h" startline="77">result_list</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_Integral::Integral_dellist</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>Integral_dellist</name>
|
||||
<qualifiedname>bsp_Integral::Integral_dellist</qualifiedname>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>删除并释放历史缓冲区 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="74" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp" bodystart="105" bodyend="108"/>
|
||||
<references refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" compoundref="bsp___calculus_8h" startline="78">result_len</references>
|
||||
<references refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" compoundref="bsp___calculus_8h" startline="77">result_list</references>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void bsp_Integral::Integral_clslist</definition>
|
||||
<argsstring>(void)</argsstring>
|
||||
<name>Integral_clslist</name>
|
||||
<qualifiedname>bsp_Integral::Integral_clslist</qualifiedname>
|
||||
<param>
|
||||
<type>void</type>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>清空历史缓存区 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="75" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp" bodystart="113" bodyend="116"/>
|
||||
<references refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" compoundref="bsp___calculus_8h" startline="78">result_len</references>
|
||||
<references refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" compoundref="bsp___calculus_8h" startline="77">result_list</references>
|
||||
<referencedby refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" compoundref="bsp___calculus_8cpp" startline="75" endline="79">Integral_makelist</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>一个积分对象 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="note"><para>不应当混用Integral和Integral_list </para>
|
||||
</simplesect>
|
||||
<simplesect kind="note"><para>选定一种方式(带缓冲区或者不带)后,就不应该更改使用方式 </para>
|
||||
</simplesect>
|
||||
<simplesect kind="note"><para>虽然带缓冲区方式对算法时间影响不大,但是为了避免浪费空间,不建议使用过大的缓冲区 </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" line="59" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h" bodystart="59" bodyend="81"/>
|
||||
<listofallmembers>
|
||||
<member refid="classbsp___integral_1af274273b399f4da855646921f3ae31ba" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>bsp_Integral</name></member>
|
||||
<member refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>dt</name></member>
|
||||
<member refid="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>Integral</name></member>
|
||||
<member refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>Integral_clslist</name></member>
|
||||
<member refid="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>Integral_dellist</name></member>
|
||||
<member refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>Integral_list</name></member>
|
||||
<member refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>Integral_makelist</name></member>
|
||||
<member refid="classbsp___integral_1aaf7474301ed76ca9ce2b1884ae870019" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>Integral_set</name></member>
|
||||
<member refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>result_len</name></member>
|
||||
<member refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>result_list</name></member>
|
||||
<member refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>results</name></member>
|
||||
<member refid="classbsp___integral_1a3f190eb273b4d6492fb39e2573ec37a1" prot="public" virt="non-virtual"><scope>bsp_Integral</scope><name>~bsp_Integral</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
@@ -4,10 +4,16 @@
|
||||
<compoundname>D:/gitt/MicrochipFor32/bsp_Device</compoundname>
|
||||
<innerfile refid="bsp___a_t24_c00_8cpp">bsp_AT24C00.cpp</innerfile>
|
||||
<innerfile refid="bsp___a_t24_c00_8h">bsp_AT24C00.h</innerfile>
|
||||
<innerfile refid="bsp___b_m_p_8cpp">bsp_BMP.cpp</innerfile>
|
||||
<innerfile refid="bsp___b_m_p_8h">bsp_BMP.h</innerfile>
|
||||
<innerfile refid="bsp___calculus_8cpp">bsp_Calculus.cpp</innerfile>
|
||||
<innerfile refid="bsp___calculus_8h">bsp_Calculus.h</innerfile>
|
||||
<innerfile refid="bsp___c_r_c_8cpp">bsp_CRC.cpp</innerfile>
|
||||
<innerfile refid="bsp___c_r_c_8h">bsp_CRC.h</innerfile>
|
||||
<innerfile refid="bsp___digit_8cpp">bsp_Digit.cpp</innerfile>
|
||||
<innerfile refid="bsp___digit_8h">bsp_Digit.h</innerfile>
|
||||
<innerfile refid="bsp__flash_8c">bsp_flash.c</innerfile>
|
||||
<innerfile refid="bsp__flash_8h">bsp_flash.h</innerfile>
|
||||
<innerfile refid="bsp___i_i_c_8cpp">bsp_IIC.cpp</innerfile>
|
||||
<innerfile refid="bsp___i_i_c_8h">bsp_IIC.h</innerfile>
|
||||
<innerfile refid="bsp___i_i_c___s_t_m32_8cpp">bsp_IIC_STM32.cpp</innerfile>
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<doxygenindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="index.xsd" version="1.9.5" xml:lang="zh">
|
||||
<compound refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r" kind="struct"><name>_BITMAPFILEHEADER</name>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db" kind="variable"><name>bfType</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" kind="variable"><name>bfSize</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a" kind="variable"><name>bfReserved1</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50" kind="variable"><name>bfReserved2</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" kind="variable"><name>bfOffBits</name></member>
|
||||
</compound>
|
||||
<compound refid="struct___b_i_t_m_a_p_i_n_f_o" kind="struct"><name>_BITMAPINFO</name>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" kind="variable"><name>bmfHeader</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" kind="variable"><name>bmiHeader</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" kind="variable"><name>bmiColors</name></member>
|
||||
</compound>
|
||||
<compound refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r" kind="struct"><name>_BITMAPINFOHEADER</name>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf" kind="variable"><name>biSize</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" kind="variable"><name>biWidth</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" kind="variable"><name>biHeight</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd" kind="variable"><name>biPlanes</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286" kind="variable"><name>biBitCount</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2" kind="variable"><name>biCompression</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e" kind="variable"><name>biSizeImage</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" kind="variable"><name>biXPelsPerMeter</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" kind="variable"><name>biYPelsPerMeter</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7" kind="variable"><name>biClrUsed</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab" kind="variable"><name>biClrImportant</name></member>
|
||||
</compound>
|
||||
<compound refid="struct__l_queue" kind="struct"><name>_lQueue</name>
|
||||
<member refid="struct__l_queue_1a3be42777ab564c447ca2b0978e04ef68" kind="variable"><name>back</name></member>
|
||||
<member refid="struct__l_queue_1acc0ce814c36fdba1027d1639236c14cb" kind="variable"><name>dat</name></member>
|
||||
@@ -10,6 +35,29 @@
|
||||
<member refid="struct__l_stack_1a560ebf00b475d44dc7a96c9c15d91bc8" kind="variable"><name>dat</name></member>
|
||||
<member refid="struct__l_stack_1a6bdae5ac1294a8f08f4b5b8a809e4f32" kind="variable"><name>size</name></member>
|
||||
</compound>
|
||||
<compound refid="struct___r_g_b_q_u_a_d" kind="struct"><name>_RGBQUAD</name>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d" kind="variable"><name>rgbBlue</name></member>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1" kind="variable"><name>rgbGreen</name></member>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f" kind="variable"><name>rgbRed</name></member>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924" kind="variable"><name>rgbReserved</name></member>
|
||||
</compound>
|
||||
<compound refid="classbsp___b_m_p" kind="class"><name>bsp_BMP</name>
|
||||
<member refid="classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335" kind="variable"><name>BITMAPINFO</name></member>
|
||||
<member refid="classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83" kind="variable"><name>Size</name></member>
|
||||
<member refid="classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca" kind="variable"><name>dat</name></member>
|
||||
<member refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" kind="function"><name>bsp_BMP</name></member>
|
||||
<member refid="classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2" kind="function"><name>~bsp_BMP</name></member>
|
||||
<member refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" kind="function"><name>pels</name></member>
|
||||
<member refid="classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c" kind="function"><name>giveData</name></member>
|
||||
<member refid="classbsp___b_m_p_1abe5d545dea1090a228843f140650f573" kind="function"><name>delData</name></member>
|
||||
<member refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" kind="function"><name>ColorsSet</name></member>
|
||||
<member refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" kind="function"><name>sizeSet</name></member>
|
||||
</compound>
|
||||
<compound refid="classbsp___differential" kind="class"><name>bsp_Differential</name>
|
||||
<member refid="classbsp___differential_1ab25588868059974b8356e975c6e96992" kind="variable"><name>dt</name></member>
|
||||
<member refid="classbsp___differential_1a16a19c803e2f1a3bbba98a2ef529206b" kind="function"><name>bsp_Differential</name></member>
|
||||
<member refid="classbsp___differential_1a46536b15be29d856b09dd7d261a12ab1" kind="function"><name>Differential</name></member>
|
||||
</compound>
|
||||
<compound refid="classbsp___digit" kind="class"><name>bsp_Digit</name>
|
||||
<member refid="classbsp___digit_1a26571e190c198e068d6aa92af584352d" kind="variable"><name>division</name></member>
|
||||
<member refid="classbsp___digit_1af87156a3cca1c199e469b0ce7b8ce7f9" kind="variable"><name>Polarity</name></member>
|
||||
@@ -69,6 +117,20 @@
|
||||
<member refid="classbsp___increment___p_i_d_1aa1cab8492ec6a289debfc215689d9b38" kind="function"><name>clean</name></member>
|
||||
<member refid="classbsp___increment___p_i_d_1aeddd6d60b615571d390653e9a958b2b4" kind="function"><name>set</name></member>
|
||||
</compound>
|
||||
<compound refid="classbsp___integral" kind="class"><name>bsp_Integral</name>
|
||||
<member refid="classbsp___integral_1a656d90c5a713abf0665f1dcbf1a5101a" kind="variable"><name>result_list</name></member>
|
||||
<member refid="classbsp___integral_1a662c735b9432a46e48a642ebb9c0e8fa" kind="variable"><name>result_len</name></member>
|
||||
<member refid="classbsp___integral_1a910f1f3faa2b4963e00718472b8389bc" kind="variable"><name>results</name></member>
|
||||
<member refid="classbsp___integral_1a4494cf9fc2873d457ed3bf8618b68045" kind="variable"><name>dt</name></member>
|
||||
<member refid="classbsp___integral_1af274273b399f4da855646921f3ae31ba" kind="function"><name>bsp_Integral</name></member>
|
||||
<member refid="classbsp___integral_1a3f190eb273b4d6492fb39e2573ec37a1" kind="function"><name>~bsp_Integral</name></member>
|
||||
<member refid="classbsp___integral_1ade46f89bfdc6dd778c045a51c76c1839" kind="function"><name>Integral</name></member>
|
||||
<member refid="classbsp___integral_1aaf7474301ed76ca9ce2b1884ae870019" kind="function"><name>Integral_set</name></member>
|
||||
<member refid="classbsp___integral_1a80693e18b9b9509bdec0ebfd72f84072" kind="function"><name>Integral_list</name></member>
|
||||
<member refid="classbsp___integral_1a86d9e02d1146744fe80ebab69070abb4" kind="function"><name>Integral_makelist</name></member>
|
||||
<member refid="classbsp___integral_1a47307ddf418d2686245b118dcf61a199" kind="function"><name>Integral_dellist</name></member>
|
||||
<member refid="classbsp___integral_1aae2b6143ca39861a83b77befc131bf5e" kind="function"><name>Integral_clslist</name></member>
|
||||
</compound>
|
||||
<compound refid="classbsp___m_a_x6675" kind="class"><name>bsp_MAX6675</name>
|
||||
<member refid="classbsp___m_a_x6675_1a6b4e52e8861a88b7201c1bb5e70aa40a" kind="variable"><name>hspi</name></member>
|
||||
<member refid="classbsp___m_a_x6675_1a546cf5ce462d8bee441b66ca7e6c270a" kind="variable"><name>GPIOx_CS</name></member>
|
||||
@@ -312,10 +374,23 @@
|
||||
<member refid="class_s_t_l__r_stack_1ad64450c2168e2551ed8fad637a8b9c99" kind="function"><name>poptop32</name></member>
|
||||
<member refid="class_s_t_l__r_stack_1a4287e70b3adaf5e2a3a941299a085b09" kind="function"><name>pushfun</name></member>
|
||||
</compound>
|
||||
<compound refid="structstruct__bsp___flash___pack" kind="struct"><name>struct_bsp_Flash_Pack</name>
|
||||
<member refid="structstruct__bsp___flash___pack_1aea6e531775263f158f23d2295f759dd7" kind="variable"><name>Var0</name></member>
|
||||
<member refid="structstruct__bsp___flash___pack_1aff73ebf1f2eaf5930d7187aa5f502075" kind="variable"><name>Var1</name></member>
|
||||
<member refid="structstruct__bsp___flash___pack_1adc2edcdadc2b2be3d18334cd196e049c" kind="variable"><name>Var2</name></member>
|
||||
</compound>
|
||||
<compound refid="bsp___a_t24_c00_8cpp" kind="file"><name>bsp_AT24C00.cpp</name>
|
||||
</compound>
|
||||
<compound refid="bsp___a_t24_c00_8h" kind="file"><name>bsp_AT24C00.h</name>
|
||||
</compound>
|
||||
<compound refid="bsp___b_m_p_8cpp" kind="file"><name>bsp_BMP.cpp</name>
|
||||
</compound>
|
||||
<compound refid="bsp___b_m_p_8h" kind="file"><name>bsp_BMP.h</name>
|
||||
</compound>
|
||||
<compound refid="bsp___calculus_8cpp" kind="file"><name>bsp_Calculus.cpp</name>
|
||||
</compound>
|
||||
<compound refid="bsp___calculus_8h" kind="file"><name>bsp_Calculus.h</name>
|
||||
</compound>
|
||||
<compound refid="bsp___c_r_c_8cpp" kind="file"><name>bsp_CRC.cpp</name>
|
||||
<member refid="bsp___c_r_c_8cpp_1a7a737378eb1c2e4d7d493764c6e7647f" kind="variable"><name>aucCRCHi</name></member>
|
||||
<member refid="bsp___c_r_c_8cpp_1a1ec224bcb81fbefe6d11364dcd71e5a0" kind="variable"><name>aucCRCLo</name></member>
|
||||
@@ -332,6 +407,20 @@
|
||||
<member refid="bsp___digit_8h_1a06fc87d81c62e9abb8790b6e5713c55ba5802523c5519b4792ac2433404f6de26" kind="enumvalue"><name>cathode</name></member>
|
||||
<member refid="bsp___digit_8h_1a9c1f3d665aa750ca904e9e547a2c98f8" kind="variable"><name>digit_ca</name></member>
|
||||
</compound>
|
||||
<compound refid="bsp__flash_8c" kind="file"><name>bsp_flash.c</name>
|
||||
<member refid="bsp__flash_8c_1a37cd1b57193a374f9a86b6cf1277cd0a" kind="variable"><name>FlashAddr</name></member>
|
||||
<member refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8" kind="variable"><name>bsp_Flash_Pack</name></member>
|
||||
<member refid="bsp__flash_8c_1af1304997d797af3400074bdb68e5de1c" kind="function"><name>bsp_WriteFlashOnePage</name></member>
|
||||
<member refid="bsp__flash_8c_1a734a679e19a8af2c7ddfa86f4310a13d" kind="function"><name>bsp_ReadFlash</name></member>
|
||||
<member refid="bsp__flash_8c_1aa1a1ff74b284a19aa3872b6f3d6abd11" kind="function"><name>bsp_WriteFlash_Pack</name></member>
|
||||
<member refid="bsp__flash_8c_1a45549058e1315d29263c0b26816bcffb" kind="function"><name>bsp_ReadFlash_Pack</name></member>
|
||||
</compound>
|
||||
<compound refid="bsp__flash_8h" kind="file"><name>bsp_flash.h</name>
|
||||
<member refid="bsp__flash_8h_1af1304997d797af3400074bdb68e5de1c" kind="function"><name>bsp_WriteFlashOnePage</name></member>
|
||||
<member refid="bsp__flash_8h_1a734a679e19a8af2c7ddfa86f4310a13d" kind="function"><name>bsp_ReadFlash</name></member>
|
||||
<member refid="bsp__flash_8h_1aa1a1ff74b284a19aa3872b6f3d6abd11" kind="function"><name>bsp_WriteFlash_Pack</name></member>
|
||||
<member refid="bsp__flash_8h_1a45549058e1315d29263c0b26816bcffb" kind="function"><name>bsp_ReadFlash_Pack</name></member>
|
||||
</compound>
|
||||
<compound refid="bsp___i_i_c_8cpp" kind="file"><name>bsp_IIC.cpp</name>
|
||||
</compound>
|
||||
<compound refid="bsp___i_i_c_8h" kind="file"><name>bsp_IIC.h</name>
|
||||
@@ -422,6 +511,24 @@
|
||||
<member refid="bsp___s_d_8h_1a2c85a6a257358283b46ba829ae0c2dba" kind="variable"><name>SD0_CardInfo</name></member>
|
||||
</compound>
|
||||
<compound refid="varint_8h" kind="file"><name>varint.h</name>
|
||||
<member refid="varint_8h_1ad35af1fbc60fcc217f7e3c6bae2ba656" kind="define"><name>P8</name></member>
|
||||
<member refid="varint_8h_1a71e9586b24447c7ca7bc353aa86da852" kind="define"><name>Pn8</name></member>
|
||||
<member refid="varint_8h_1a90e13f6172ebc6d6b8df6ed9a443491f" kind="define"><name>P16</name></member>
|
||||
<member refid="varint_8h_1aff980abb3664242448c35e7c94df9457" kind="define"><name>Pn16</name></member>
|
||||
<member refid="varint_8h_1a495d48b6b1b59a2ad797b10d9da431ff" kind="define"><name>P32</name></member>
|
||||
<member refid="varint_8h_1adc92d7430c7b945896332c2e2540a52a" kind="define"><name>Pn32</name></member>
|
||||
<member refid="varint_8h_1ada574ddd6b3c52cf691b29e6efc7a817" kind="define"><name>DelLb</name></member>
|
||||
<member refid="varint_8h_1a4130fb740c8bd3c4986b2fe496c74d78" kind="define"><name>qDelLb</name></member>
|
||||
<member refid="varint_8h_1a338f1c6d28b8ee314ea8b33df5c6052e" kind="define"><name>toBool</name></member>
|
||||
<member refid="varint_8h_1af88c9f4171df59e6e0aa2db71bf9f250" kind="define"><name>uBit</name></member>
|
||||
<member refid="varint_8h_1ac123183daf1150b8b675c96cfeae4314" kind="define"><name>tBit</name></member>
|
||||
<member refid="varint_8h_1aa1b4c6a5140aae5adbc14792ed9cbaf5" kind="define"><name>sBit</name></member>
|
||||
<member refid="varint_8h_1a6c0c97a8768383af5f921a0496bb7e6c" kind="define"><name>rBit</name></member>
|
||||
<member refid="varint_8h_1a5cce0b9aa61d54efc42512f4c7796455" kind="define"><name>mBit</name></member>
|
||||
<member refid="varint_8h_1a7ae6889c9eb9c27afb4395ef1d06eec7" kind="define"><name>LpAdd</name></member>
|
||||
<member refid="varint_8h_1af8c84f28a4c47bc30bbecb56d1469fd2" kind="define"><name>LpDec</name></member>
|
||||
<member refid="varint_8h_1ac5268cd1ab382ef2574c21c40590d6bc" kind="define"><name>qLpAdd</name></member>
|
||||
<member refid="varint_8h_1a6d3d574f28028e4705bcd10ecfdadeaa" kind="define"><name>qLpDec</name></member>
|
||||
<member refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kind="typedef"><name>u8</name></member>
|
||||
<member refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kind="typedef"><name>u16</name></member>
|
||||
<member refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kind="typedef"><name>u32</name></member>
|
||||
|
||||
99
Doc/xml/struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r.xml
Normal file
99
Doc/xml/struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r.xml
Normal file
@@ -0,0 +1,99 @@
|
||||
<?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="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r" kind="struct" language="C++" prot="public">
|
||||
<compoundname>_BITMAPFILEHEADER</compoundname>
|
||||
<includes refid="bsp___b_m_p_8h" local="no">bsp_BMP.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref></type>
|
||||
<definition>u16 _BITMAPFILEHEADER::bfType</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bfType</name>
|
||||
<qualifiedname>_BITMAPFILEHEADER::bfType</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="46" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="46" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPFILEHEADER::bfSize</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bfSize</name>
|
||||
<qualifiedname>_BITMAPFILEHEADER::bfSize</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="47" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="47" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">bsp_BMP::sizeSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref></type>
|
||||
<definition>u16 _BITMAPFILEHEADER::bfReserved1</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bfReserved1</name>
|
||||
<qualifiedname>_BITMAPFILEHEADER::bfReserved1</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="48" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="48" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref></type>
|
||||
<definition>u16 _BITMAPFILEHEADER::bfReserved2</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bfReserved2</name>
|
||||
<qualifiedname>_BITMAPFILEHEADER::bfReserved2</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="49" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="49" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPFILEHEADER::bfOffBits</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bfOffBits</name>
|
||||
<qualifiedname>_BITMAPFILEHEADER::bfOffBits</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="50" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="50" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">bsp_BMP::sizeSet</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>位图文件头 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="44" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="45" bodyend="51"/>
|
||||
<listofallmembers>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1af53728df68db96b9decc5100bc1bf7e0" prot="public" virt="non-virtual"><scope>_BITMAPFILEHEADER</scope><name>bfOffBits</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a71c78132cda5e8b032fb4f549ec9a14a" prot="public" virt="non-virtual"><scope>_BITMAPFILEHEADER</scope><name>bfReserved1</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a3f69e4551c8fee241e5a4cd224c64f50" prot="public" virt="non-virtual"><scope>_BITMAPFILEHEADER</scope><name>bfReserved2</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a1bd9726a58f87d278efa58d6d7c70a81" prot="public" virt="non-virtual"><scope>_BITMAPFILEHEADER</scope><name>bfSize</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_1a6810e258839bc4345e2036af20e607db" prot="public" virt="non-virtual"><scope>_BITMAPFILEHEADER</scope><name>bfType</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
95
Doc/xml/struct___b_i_t_m_a_p_i_n_f_o.xml
Normal file
95
Doc/xml/struct___b_i_t_m_a_p_i_n_f_o.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?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="struct___b_i_t_m_a_p_i_n_f_o" kind="struct" language="C++" prot="public">
|
||||
<compoundname>_BITMAPINFO</compoundname>
|
||||
<includes refid="bsp___b_m_p_8h" local="no">bsp_BMP.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r" kindref="compound">_BITMAPFILEHEADER</ref></type>
|
||||
<definition>_BITMAPFILEHEADER _BITMAPINFO::bmfHeader</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bmfHeader</name>
|
||||
<qualifiedname>_BITMAPINFO::bmfHeader</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="85" column="19" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="85" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">bsp_BMP::sizeSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r" kindref="compound">_BITMAPINFOHEADER</ref></type>
|
||||
<definition>_BITMAPINFOHEADER _BITMAPINFO::bmiHeader</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bmiHeader</name>
|
||||
<qualifiedname>_BITMAPINFO::bmiHeader</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="86" column="19" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="86" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" compoundref="bsp___b_m_p_8cpp" startline="45" endline="47">bsp_BMP::pels</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">bsp_BMP::sizeSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="struct___r_g_b_q_u_a_d" kindref="compound">_RGBQUAD</ref></type>
|
||||
<definition>_RGBQUAD _BITMAPINFO::bmiColors[256]</definition>
|
||||
<argsstring>[256]</argsstring>
|
||||
<name>bmiColors</name>
|
||||
<qualifiedname>_BITMAPINFO::bmiColors</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="87" column="10" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="87" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" compoundref="bsp___b_m_p_8cpp" startline="68" endline="72">bsp_BMP::ColorsSet</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>BMP文件头 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<collaborationgraph>
|
||||
<node id="2">
|
||||
<label>_BITMAPFILEHEADER</label>
|
||||
<link refid="struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r"/>
|
||||
</node>
|
||||
<node id="1">
|
||||
<label>_BITMAPINFO</label>
|
||||
<link refid="struct___b_i_t_m_a_p_i_n_f_o"/>
|
||||
<childnode refid="2" relation="usage">
|
||||
<edgelabel>bmfHeader</edgelabel>
|
||||
</childnode>
|
||||
<childnode refid="3" relation="usage">
|
||||
<edgelabel>bmiHeader</edgelabel>
|
||||
</childnode>
|
||||
<childnode refid="4" relation="usage">
|
||||
<edgelabel>bmiColors</edgelabel>
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="3">
|
||||
<label>_BITMAPINFOHEADER</label>
|
||||
<link refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r"/>
|
||||
</node>
|
||||
<node id="4">
|
||||
<label>_RGBQUAD</label>
|
||||
<link refid="struct___r_g_b_q_u_a_d"/>
|
||||
</node>
|
||||
</collaborationgraph>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="84" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="84" bodyend="88"/>
|
||||
<listofallmembers>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_1a3356c2aeed730cf31d05fd09244ecbce" prot="public" virt="non-virtual"><scope>_BITMAPINFO</scope><name>bmfHeader</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_1ab5fe5744a8fe46833743bc6b5cf72a49" prot="public" virt="non-virtual"><scope>_BITMAPINFO</scope><name>bmiColors</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_1a7d9eafe9a3374cd06dc22fda1af98b6d" prot="public" virt="non-virtual"><scope>_BITMAPINFO</scope><name>bmiHeader</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
197
Doc/xml/struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r.xml
Normal file
197
Doc/xml/struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r.xml
Normal file
@@ -0,0 +1,197 @@
|
||||
<?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="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r" kind="struct" language="C++" prot="public">
|
||||
<compoundname>_BITMAPINFOHEADER</compoundname>
|
||||
<includes refid="bsp___b_m_p_8h" local="no">bsp_BMP.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biSize</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biSize</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biSize</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="56" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="56" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biWidth</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biWidth</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biWidth</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="57" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="57" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">bsp_BMP::sizeSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biHeight</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biHeight</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biHeight</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="58" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="58" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51" compoundref="bsp___b_m_p_8cpp" startline="78" endline="88">bsp_BMP::sizeSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref></type>
|
||||
<definition>u16 _BITMAPINFOHEADER::biPlanes</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biPlanes</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biPlanes</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="59" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="59" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref></type>
|
||||
<definition>u16 _BITMAPINFOHEADER::biBitCount</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biBitCount</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biBitCount</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="60" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="60" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biCompression</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biCompression</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biCompression</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="61" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="61" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biSizeImage</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biSizeImage</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biSizeImage</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="66" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="66" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biXPelsPerMeter</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biXPelsPerMeter</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biXPelsPerMeter</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="67" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="67" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" compoundref="bsp___b_m_p_8cpp" startline="45" endline="47">bsp_BMP::pels</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biYPelsPerMeter</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biYPelsPerMeter</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biYPelsPerMeter</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="68" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="68" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
<referencedby refid="classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e" compoundref="bsp___b_m_p_8cpp" startline="45" endline="47">bsp_BMP::pels</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biClrUsed</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biClrUsed</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biClrUsed</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="69" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="69" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref></type>
|
||||
<definition>u32 _BITMAPINFOHEADER::biClrImportant</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>biClrImportant</name>
|
||||
<qualifiedname>_BITMAPINFOHEADER::biClrImportant</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="70" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="70" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a27d05488822dc9548e0783d46808a1db" compoundref="bsp___b_m_p_8cpp" startline="97" endline="119">bsp_BMP::bsp_BMP</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>位图信息头 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="55" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="55" bodyend="71"/>
|
||||
<listofallmembers>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a98f05ea6cc8388d3ca701a834b04a286" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biBitCount</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a4ee52fd1ab5c173a6e54444d1ec61dab" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biClrImportant</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a1bb27f668cbed1ce6523e7042962a0e7" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biClrUsed</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1aef77b295d3a4b6540873c9e0d2ef53d2" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biCompression</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a9f6c38749a3b5f8b261be7a6556cf97a" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biHeight</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a42d10de030492301ff4a3d5cfb91c2dd" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biPlanes</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a750a301fb5962c5fc2b7fac173d96bdf" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biSize</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0fa85188799eb931e2a03c887751a89e" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biSizeImage</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a28dd4e1f56936b64f6e01db9b2d171f2" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biWidth</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a6a7eb9da9dfb7790486523dac6c4b6c2" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biXPelsPerMeter</name></member>
|
||||
<member refid="struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_1a0c830c96c45441edc35a5397bc86ace0" prot="public" virt="non-virtual"><scope>_BITMAPINFOHEADER</scope><name>biYPelsPerMeter</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
81
Doc/xml/struct___r_g_b_q_u_a_d.xml
Normal file
81
Doc/xml/struct___r_g_b_q_u_a_d.xml
Normal file
@@ -0,0 +1,81 @@
|
||||
<?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="struct___r_g_b_q_u_a_d" kind="struct" language="C++" prot="public">
|
||||
<compoundname>_RGBQUAD</compoundname>
|
||||
<includes refid="bsp___b_m_p_8h" local="no">bsp_BMP.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||||
<definition>u8 _RGBQUAD::rgbBlue</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>rgbBlue</name>
|
||||
<qualifiedname>_RGBQUAD::rgbBlue</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="76" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="76" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" compoundref="bsp___b_m_p_8cpp" startline="68" endline="72">bsp_BMP::ColorsSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||||
<definition>u8 _RGBQUAD::rgbGreen</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>rgbGreen</name>
|
||||
<qualifiedname>_RGBQUAD::rgbGreen</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="77" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="77" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" compoundref="bsp___b_m_p_8cpp" startline="68" endline="72">bsp_BMP::ColorsSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||||
<definition>u8 _RGBQUAD::rgbRed</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>rgbRed</name>
|
||||
<qualifiedname>_RGBQUAD::rgbRed</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="78" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="78" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" compoundref="bsp___b_m_p_8cpp" startline="68" endline="72">bsp_BMP::ColorsSet</referencedby>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||||
<definition>u8 _RGBQUAD::rgbReserved</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>rgbReserved</name>
|
||||
<qualifiedname>_RGBQUAD::rgbReserved</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="79" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="79" bodyend="-1"/>
|
||||
<referencedby refid="classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57" compoundref="bsp___b_m_p_8cpp" startline="68" endline="72">bsp_BMP::ColorsSet</referencedby>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>调色板 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" line="75" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h" bodystart="75" bodyend="80"/>
|
||||
<listofallmembers>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1ad26ba005b107e31a81b9e3e981ca9f1d" prot="public" virt="non-virtual"><scope>_RGBQUAD</scope><name>rgbBlue</name></member>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1a2e445545aae97ebab36603942d3780d1" prot="public" virt="non-virtual"><scope>_RGBQUAD</scope><name>rgbGreen</name></member>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1a9756faed264a45ead4f89567e807247f" prot="public" virt="non-virtual"><scope>_RGBQUAD</scope><name>rgbRed</name></member>
|
||||
<member refid="struct___r_g_b_q_u_a_d_1a742c7421feef58afb68308d3643bd924" prot="public" virt="non-virtual"><scope>_RGBQUAD</scope><name>rgbReserved</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
63
Doc/xml/structstruct__bsp___flash___pack.xml
Normal file
63
Doc/xml/structstruct__bsp___flash___pack.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?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="structstruct__bsp___flash___pack" kind="struct" language="C++" prot="public">
|
||||
<compoundname>struct_bsp_Flash_Pack</compoundname>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="structstruct__bsp___flash___pack_1aea6e531775263f158f23d2295f759dd7" prot="public" static="no" mutable="no">
|
||||
<type>char</type>
|
||||
<definition>char struct_bsp_Flash_Pack::Var0</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>Var0</name>
|
||||
<qualifiedname>struct_bsp_Flash_Pack::Var0</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="44" column="5" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="44" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="structstruct__bsp___flash___pack_1aff73ebf1f2eaf5930d7187aa5f502075" prot="public" static="no" mutable="no">
|
||||
<type>short</type>
|
||||
<definition>short struct_bsp_Flash_Pack::Var1</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>Var1</name>
|
||||
<qualifiedname>struct_bsp_Flash_Pack::Var1</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="45" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="45" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="structstruct__bsp___flash___pack_1adc2edcdadc2b2be3d18334cd196e049c" prot="public" static="no" mutable="no">
|
||||
<type>int</type>
|
||||
<definition>int struct_bsp_Flash_Pack::Var2</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>Var2</name>
|
||||
<qualifiedname>struct_bsp_Flash_Pack::Var2</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="46" column="4" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="46" bodyend="-1"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>一包数据的内容 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><xrefsect id="todo_1_todo000001"><xreftitle>待办事项</xreftitle><xrefdescription><para>随意更改内部内容方便读取 </para>
|
||||
</xrefdescription></xrefsect></para>
|
||||
</detaileddescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" line="43" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_flash.c" bodystart="43" bodyend="47"/>
|
||||
<listofallmembers>
|
||||
<member refid="structstruct__bsp___flash___pack_1aea6e531775263f158f23d2295f759dd7" prot="public" virt="non-virtual"><scope>struct_bsp_Flash_Pack</scope><name>Var0</name></member>
|
||||
<member refid="structstruct__bsp___flash___pack_1aff73ebf1f2eaf5930d7187aa5f502075" prot="public" virt="non-virtual"><scope>struct_bsp_Flash_Pack</scope><name>Var1</name></member>
|
||||
<member refid="structstruct__bsp___flash___pack_1adc2edcdadc2b2be3d18334cd196e049c" prot="public" virt="non-virtual"><scope>struct_bsp_Flash_Pack</scope><name>Var2</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
@@ -7,20 +7,23 @@
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><variablelist>
|
||||
<varlistentry><term>成员 <ref refid="bsp__flash_8c_1a2c0639c4d50bba3762a4295a56a06af8" kindref="member">bsp_Flash_Pack</ref> </term></varlistentry>
|
||||
<listitem><para><anchor id="todo_1_todo000001"/>随意更改内部内容方便读取 </para>
|
||||
</listitem>
|
||||
<varlistentry><term>成员 <ref refid="classbsp___i_i_c_1ad3d17035a8d19842ccabbf743a4405f4" kindref="member">bsp_IIC::IIC_Delay</ref> (void)=0</term></varlistentry>
|
||||
<listitem><para><anchor id="todo_1_todo000003"/>需要为其实现才可使用软件IIC </para>
|
||||
<listitem><para><anchor id="todo_1_todo000004"/>需要为其实现才可使用软件IIC </para>
|
||||
</listitem>
|
||||
<varlistentry><term>成员 <ref refid="classbsp___i_i_c_1a9c71db14d666983ab15621f119bdc171" kindref="member">bsp_IIC::IIC_SCK</ref> (u8 var)=0</term></varlistentry>
|
||||
<listitem><para><anchor id="todo_1_todo000001"/>需要为其实现才可使用软件IIC </para>
|
||||
</listitem>
|
||||
<varlistentry><term>成员 <ref refid="classbsp___i_i_c_1adf1ba1196ef163ab1958747744dd8a14" kindref="member">bsp_IIC::IIC_SDA</ref> (u8 var)=0</term></varlistentry>
|
||||
<listitem><para><anchor id="todo_1_todo000002"/>需要为其实现才可使用软件IIC </para>
|
||||
</listitem>
|
||||
<varlistentry><term>成员 <ref refid="classbsp___i_i_c_1adf1ba1196ef163ab1958747744dd8a14" kindref="member">bsp_IIC::IIC_SDA</ref> (u8 var)=0</term></varlistentry>
|
||||
<listitem><para><anchor id="todo_1_todo000003"/>需要为其实现才可使用软件IIC </para>
|
||||
</listitem>
|
||||
<varlistentry><term>成员 <ref refid="vartable_8h_1a848c96750b960675b1bd032c1c2725e5" kindref="member">MainInit</ref> (void)</term></varlistentry>
|
||||
<listitem><para><anchor id="todo_1_todo000004"/>在此处填写初始化程序 </para>
|
||||
<listitem><para><anchor id="todo_1_todo000005"/>在此处填写初始化程序 </para>
|
||||
</listitem>
|
||||
<varlistentry><term>成员 <ref refid="vartable_8h_1af89e02f2d993332a8dea8fef6b78a7bc" kindref="member">MainSystem</ref> (void)</term></varlistentry>
|
||||
<listitem><para><anchor id="todo_1_todo000005"/>在此处填写主进程程序 </para>
|
||||
<listitem><para><anchor id="todo_1_todo000006"/>在此处填写主进程程序 </para>
|
||||
</listitem>
|
||||
</variablelist>
|
||||
</para>
|
||||
|
||||
@@ -7,7 +7,9 @@
|
||||
<includedby refid="_s_t_l___stack_8h" local="yes">D:/gitt/MicrochipFor32/STL_Device/STL_Stack.h</includedby>
|
||||
<includedby refid="bsp___a_t24_c00_8cpp" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_AT24C00.cpp</includedby>
|
||||
<includedby refid="bsp___a_t24_c00_8h" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_AT24C00.h</includedby>
|
||||
<includedby refid="bsp___b_m_p_8h" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h</includedby>
|
||||
<includedby refid="bsp___c_r_c_8h" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_CRC.h</includedby>
|
||||
<includedby refid="bsp___calculus_8h" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h</includedby>
|
||||
<includedby refid="bsp___digit_8h" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_Digit.h</includedby>
|
||||
<includedby refid="bsp___i_i_c_8h" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC.h</includedby>
|
||||
<includedby refid="bsp___i_i_c___s_t_m32_8h" local="yes">D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h</includedby>
|
||||
@@ -62,115 +64,135 @@
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="9">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.cpp</label>
|
||||
<link refid="bsp___b_m_p_8cpp"/>
|
||||
</node>
|
||||
<node id="8">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_BMP.h</label>
|
||||
<link refid="bsp___b_m_p_8h"/>
|
||||
<childnode refid="9" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="11">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_CRC.cpp</label>
|
||||
<link refid="bsp___c_r_c_8cpp"/>
|
||||
</node>
|
||||
<node id="8">
|
||||
<node id="10">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_CRC.h</label>
|
||||
<link refid="bsp___c_r_c_8h"/>
|
||||
<childnode refid="9" relation="include">
|
||||
<childnode refid="11" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="10" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="12">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Digit.cpp</label>
|
||||
<link refid="bsp___digit_8cpp"/>
|
||||
</node>
|
||||
<node id="11">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Digit.h</label>
|
||||
<link refid="bsp___digit_8h"/>
|
||||
<childnode refid="12" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="14">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC.cpp</label>
|
||||
<link refid="bsp___i_i_c_8cpp"/>
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.cpp</label>
|
||||
<link refid="bsp___calculus_8cpp"/>
|
||||
</node>
|
||||
<node id="13">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC.h</label>
|
||||
<link refid="bsp___i_i_c_8h"/>
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Calculus.h</label>
|
||||
<link refid="bsp___calculus_8h"/>
|
||||
<childnode refid="14" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="15" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="16">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Digit.cpp</label>
|
||||
<link refid="bsp___digit_8cpp"/>
|
||||
</node>
|
||||
<node id="15">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_Digit.h</label>
|
||||
<link refid="bsp___digit_8h"/>
|
||||
<childnode refid="16" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="18">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC.cpp</label>
|
||||
<link refid="bsp___i_i_c_8cpp"/>
|
||||
</node>
|
||||
<node id="17">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC.h</label>
|
||||
<link refid="bsp___i_i_c_8h"/>
|
||||
<childnode refid="18" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="19" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="20">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.cpp</label>
|
||||
<link refid="bsp___i_i_c___s_t_m32_8cpp"/>
|
||||
</node>
|
||||
<node id="15">
|
||||
<node id="19">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_IIC_STM32.h</label>
|
||||
<link refid="bsp___i_i_c___s_t_m32_8h"/>
|
||||
<childnode refid="7" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="16" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="17" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="18" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="20">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_MAX6675.cpp</label>
|
||||
<link refid="bsp___m_a_x6675_8cpp"/>
|
||||
</node>
|
||||
<node id="19">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_MAX6675.h</label>
|
||||
<link refid="bsp___m_a_x6675_8h"/>
|
||||
<childnode refid="20" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="10">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus.cpp</label>
|
||||
<link refid="bsp___mod_bus_8cpp"/>
|
||||
</node>
|
||||
<node id="21">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus.h</label>
|
||||
<link refid="bsp___mod_bus_8h"/>
|
||||
<childnode refid="10" relation="include">
|
||||
<childnode refid="21" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="22" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="24">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_MAX6675.cpp</label>
|
||||
<link refid="bsp___m_a_x6675_8cpp"/>
|
||||
</node>
|
||||
<node id="23">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.cpp</label>
|
||||
<link refid="bsp___mod_bus___s_t_m32_8cpp"/>
|
||||
</node>
|
||||
<node id="22">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h</label>
|
||||
<link refid="bsp___mod_bus___s_t_m32_8h"/>
|
||||
<childnode refid="23" relation="include">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_MAX6675.h</label>
|
||||
<link refid="bsp___m_a_x6675_8h"/>
|
||||
<childnode refid="24" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="17">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_OLED_STM32.cpp</label>
|
||||
<link refid="bsp___o_l_e_d___s_t_m32_8cpp"/>
|
||||
</node>
|
||||
<node id="18">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_OLED_STM32.h</label>
|
||||
<link refid="bsp___o_l_e_d___s_t_m32_8h"/>
|
||||
<childnode refid="17" relation="include">
|
||||
</childnode>
|
||||
<node id="12">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus.cpp</label>
|
||||
<link refid="bsp___mod_bus_8cpp"/>
|
||||
</node>
|
||||
<node id="25">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_PID.cpp</label>
|
||||
<link refid="bsp___p_i_d_8cpp"/>
|
||||
</node>
|
||||
<node id="24">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_PID.h</label>
|
||||
<link refid="bsp___p_i_d_8h"/>
|
||||
<childnode refid="25" relation="include">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus.h</label>
|
||||
<link refid="bsp___mod_bus_8h"/>
|
||||
<childnode refid="12" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="26" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="27">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.cpp</label>
|
||||
<link refid="bsp___mod_bus___s_t_m32_8cpp"/>
|
||||
</node>
|
||||
<node id="26">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h</label>
|
||||
<link refid="bsp___mod_bus___s_t_m32_8h"/>
|
||||
<childnode refid="27" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="21">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_OLED_STM32.cpp</label>
|
||||
<link refid="bsp___o_l_e_d___s_t_m32_8cpp"/>
|
||||
</node>
|
||||
<node id="22">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_OLED_STM32.h</label>
|
||||
<link refid="bsp___o_l_e_d___s_t_m32_8h"/>
|
||||
<childnode refid="21" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="29">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_PID.cpp</label>
|
||||
<link refid="bsp___p_i_d_8cpp"/>
|
||||
</node>
|
||||
<node id="28">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_PID.h</label>
|
||||
<link refid="bsp___p_i_d_8h"/>
|
||||
<childnode refid="29" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="31">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_SD.cpp</label>
|
||||
<link refid="bsp___s_d_8cpp"/>
|
||||
</node>
|
||||
<node id="26">
|
||||
<node id="30">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_Device/bsp_SD.h</label>
|
||||
<link refid="bsp___s_d_8h"/>
|
||||
<childnode refid="27" relation="include">
|
||||
<childnode refid="31" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="1">
|
||||
@@ -186,62 +208,315 @@
|
||||
</childnode>
|
||||
<childnode refid="8" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="11" relation="include">
|
||||
<childnode refid="10" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="13" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="15" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="17" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="19" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="21" relation="include">
|
||||
<childnode refid="23" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="22" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="18" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="24" relation="include">
|
||||
<childnode refid="25" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="26" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="22" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="28" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="30" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="32" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="34" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="29">
|
||||
<node id="33">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_MPU6050/mpu6050.cpp</label>
|
||||
<link refid="mpu6050_8cpp"/>
|
||||
</node>
|
||||
<node id="28">
|
||||
<node id="32">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_MPU6050/mpu6050.h</label>
|
||||
<link refid="mpu6050_8h"/>
|
||||
<childnode refid="29" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="31">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/Callback.cpp</label>
|
||||
<link refid="_callback_8cpp"/>
|
||||
</node>
|
||||
<node id="32">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp</label>
|
||||
<link refid="_main_system_8cpp"/>
|
||||
</node>
|
||||
<node id="33">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/vartable.cpp</label>
|
||||
<link refid="vartable_8cpp"/>
|
||||
</node>
|
||||
<node id="30">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/vartable.h</label>
|
||||
<link refid="vartable_8h"/>
|
||||
<childnode refid="31" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="32" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="33" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
<node id="35">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/Callback.cpp</label>
|
||||
<link refid="_callback_8cpp"/>
|
||||
</node>
|
||||
<node id="36">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp</label>
|
||||
<link refid="_main_system_8cpp"/>
|
||||
</node>
|
||||
<node id="37">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/vartable.cpp</label>
|
||||
<link refid="vartable_8cpp"/>
|
||||
</node>
|
||||
<node id="34">
|
||||
<label>D:/gitt/MicrochipFor32/bsp_System/vartable.h</label>
|
||||
<link refid="vartable_8h"/>
|
||||
<childnode refid="35" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="36" relation="include">
|
||||
</childnode>
|
||||
<childnode refid="37" relation="include">
|
||||
</childnode>
|
||||
</node>
|
||||
</invincdepgraph>
|
||||
<sectiondef kind="define">
|
||||
<memberdef kind="define" id="varint_8h_1ad35af1fbc60fcc217f7e3c6bae2ba656" prot="public" static="no">
|
||||
<name>P8</name>
|
||||
<param><defname>x</defname></param>
|
||||
<initializer>((<ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref>*)(&(x)))</initializer>
|
||||
<briefdescription>
|
||||
<para>强制转换变成u8的指针 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="62" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="62" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a71e9586b24447c7ca7bc353aa86da852" prot="public" static="no">
|
||||
<name>Pn8</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(((<ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref>*)(&(x)))[y])</initializer>
|
||||
<briefdescription>
|
||||
<para>强制转换变成u8的数组 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="63" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="63" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a90e13f6172ebc6d6b8df6ed9a443491f" prot="public" static="no">
|
||||
<name>P16</name>
|
||||
<param><defname>x</defname></param>
|
||||
<initializer>((<ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref>*)(&(x)))</initializer>
|
||||
<briefdescription>
|
||||
<para>强制转换变成u16的指针 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="64" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="64" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1aff980abb3664242448c35e7c94df9457" prot="public" static="no">
|
||||
<name>Pn16</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(((<ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref>*)(&(x)))[y])</initializer>
|
||||
<briefdescription>
|
||||
<para>强制转换变成u16的数组 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="65" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="65" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a495d48b6b1b59a2ad797b10d9da431ff" prot="public" static="no">
|
||||
<name>P32</name>
|
||||
<param><defname>x</defname></param>
|
||||
<initializer>((<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref>*)(&(x)))</initializer>
|
||||
<briefdescription>
|
||||
<para>强制转换变成u32的指针 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="66" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="66" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1adc92d7430c7b945896332c2e2540a52a" prot="public" static="no">
|
||||
<name>Pn32</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(((<ref refid="varint_8h_1afaa62991928fb9fb18ff0db62a040aba" kindref="member">u32</ref>*)(&(x)))[y])</initializer>
|
||||
<briefdescription>
|
||||
<para>强制转换变成u32的数组 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="67" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="67" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1ada574ddd6b3c52cf691b29e6efc7a817" prot="public" static="no">
|
||||
<name>DelLb</name>
|
||||
<param><defname>x</defname></param>
|
||||
<initializer>(x & (x - 1))</initializer>
|
||||
<briefdescription>
|
||||
<para>移除最低位的1 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="69" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="69" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a4130fb740c8bd3c4986b2fe496c74d78" prot="public" static="no">
|
||||
<name>qDelLb</name>
|
||||
<param><defname>x</defname></param>
|
||||
<initializer>(x=(x & (x - 1)))</initializer>
|
||||
<briefdescription>
|
||||
<para>移除并保存最低位的1 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="70" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="70" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a338f1c6d28b8ee314ea8b33df5c6052e" prot="public" static="no">
|
||||
<name>toBool</name>
|
||||
<param><defname>x</defname></param>
|
||||
<initializer>(x!=0)</initializer>
|
||||
<briefdescription>
|
||||
<para>数布尔化 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="72" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="72" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1af88c9f4171df59e6e0aa2db71bf9f250" prot="public" static="no">
|
||||
<name>uBit</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(x&(1<<y))</initializer>
|
||||
<briefdescription>
|
||||
<para>挑选某一位 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="73" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="73" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1ac123183daf1150b8b675c96cfeae4314" prot="public" static="no">
|
||||
<name>tBit</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(<ref refid="varint_8h_1a338f1c6d28b8ee314ea8b33df5c6052e" kindref="member">toBool</ref>(<ref refid="varint_8h_1af88c9f4171df59e6e0aa2db71bf9f250" kindref="member">uBit</ref>(x,y)))</initializer>
|
||||
<briefdescription>
|
||||
<para>挑选某一位并且布尔化 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="74" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="74" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1aa1b4c6a5140aae5adbc14792ed9cbaf5" prot="public" static="no">
|
||||
<name>sBit</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(x|(1<<y))</initializer>
|
||||
<briefdescription>
|
||||
<para>置高某一位 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="76" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="76" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a6c0c97a8768383af5f921a0496bb7e6c" prot="public" static="no">
|
||||
<name>rBit</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(x&(~(1<<y)))</initializer>
|
||||
<briefdescription>
|
||||
<para>拉低某一位 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="77" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="77" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a5cce0b9aa61d54efc42512f4c7796455" prot="public" static="no">
|
||||
<name>mBit</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<param><defname>z</defname></param>
|
||||
<initializer>((z)?<ref refid="varint_8h_1aa1b4c6a5140aae5adbc14792ed9cbaf5" kindref="member">sBit</ref>(x,y):<ref refid="varint_8h_1a6c0c97a8768383af5f921a0496bb7e6c" kindref="member">rBit</ref>(x,y))</initializer>
|
||||
<briefdescription>
|
||||
<para>选择性拉高拉低某一位 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="78" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="78" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a7ae6889c9eb9c27afb4395ef1d06eec7" prot="public" static="no">
|
||||
<name>LpAdd</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>((x+1)<y?x+1:0)</initializer>
|
||||
<briefdescription>
|
||||
<para>带最高限制的加法 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="80" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="80" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1af8c84f28a4c47bc30bbecb56d1469fd2" prot="public" static="no">
|
||||
<name>LpDec</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(x>0?x-1:y-1)</initializer>
|
||||
<briefdescription>
|
||||
<para>带最低限制的减法 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="81" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="81" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1ac5268cd1ab382ef2574c21c40590d6bc" prot="public" static="no">
|
||||
<name>qLpAdd</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(x=(x+1)<y?x+1:0)</initializer>
|
||||
<briefdescription>
|
||||
<para>带最高限制的自增 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="82" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="82" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="define" id="varint_8h_1a6d3d574f28028e4705bcd10ecfdadeaa" prot="public" static="no">
|
||||
<name>qLpDec</name>
|
||||
<param><defname>x</defname></param>
|
||||
<param><defname>y</defname></param>
|
||||
<initializer>(x=x>0?x-1:y-1)</initializer>
|
||||
<briefdescription>
|
||||
<para>带最低限制的自减 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h" line="83" column="9" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/varint.h" bodystart="83" bodyend="-1"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="typedef">
|
||||
<memberdef kind="typedef" id="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" prot="public" static="no">
|
||||
<type>uint8_t</type>
|
||||
@@ -469,6 +744,7 @@
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>全局共用的标准类型表 </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
@@ -520,7 +796,31 @@
|
||||
<codeline lineno="56" refid="varint_8h_1ab1725f18a2ec2964f4bc0499527e4c5d" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">volatile</highlight><highlight class="normal"><sp/><ref refid="varint_8h_1ad309dbcaeea13aa602d686964156ea0b" kindref="member">i16</ref><sp/><sp/><sp/><sp/><ref refid="varint_8h_1ab1725f18a2ec2964f4bc0499527e4c5d" kindref="member">vi16</ref>;<sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="57" refid="varint_8h_1a8b81ac6660e74bec836c0a4e0a0b6450" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">volatile</highlight><highlight class="normal"><sp/><ref refid="varint_8h_1a48d6cd8e4135fb2ff7e7f2dac84089ec" kindref="member">i32</ref><sp/><sp/><sp/><sp/><ref refid="varint_8h_1a8b81ac6660e74bec836c0a4e0a0b6450" kindref="member">vi32</ref>;<sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="58" refid="varint_8h_1aeffd8dafd889cdd80398ffcbb37cd7ef" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">volatile</highlight><highlight class="normal"><sp/><ref refid="varint_8h_1a85cb35fbe5bf2961d7ad5f26814a91a2" kindref="member">i64</ref><sp/><sp/><sp/><sp/><ref refid="varint_8h_1aeffd8dafd889cdd80398ffcbb37cd7ef" kindref="member">vi64</ref>;<sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="comment">//----------------------------------------------------------------------------------------------------</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="61"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>位宏</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="62" refid="varint_8h_1ad35af1fbc60fcc217f7e3c6bae2ba656" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>P8(x)<sp/><sp/><sp/><sp/><sp/><sp/><sp/>((u8*)(&(x)))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="63" refid="varint_8h_1a71e9586b24447c7ca7bc353aa86da852" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Pn8(x,y)<sp/><sp/><sp/><sp/>(((u8*)(&(x)))[y])<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="64" refid="varint_8h_1a90e13f6172ebc6d6b8df6ed9a443491f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>P16(x)<sp/><sp/><sp/><sp/><sp/><sp/>((u16*)(&(x)))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="65" refid="varint_8h_1aff980abb3664242448c35e7c94df9457" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Pn16(x,y)<sp/><sp/><sp/>(((u16*)(&(x)))[y])<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="66" refid="varint_8h_1a495d48b6b1b59a2ad797b10d9da431ff" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>P32(x)<sp/><sp/><sp/><sp/><sp/><sp/>((u32*)(&(x)))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="67" refid="varint_8h_1adc92d7430c7b945896332c2e2540a52a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>Pn32(x,y)<sp/><sp/><sp/>(((u32*)(&(x)))[y])<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="68"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="69" refid="varint_8h_1ada574ddd6b3c52cf691b29e6efc7a817" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DelLb(x)<sp/><sp/><sp/><sp/>(x<sp/>&<sp/>(x<sp/>-<sp/>1))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="70" refid="varint_8h_1a4130fb740c8bd3c4986b2fe496c74d78" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>qDelLb(x)<sp/><sp/><sp/>(x=(x<sp/>&<sp/>(x<sp/>-<sp/>1)))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="71"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="72" refid="varint_8h_1a338f1c6d28b8ee314ea8b33df5c6052e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>toBool(x)<sp/><sp/><sp/>(x!=0)<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="73" refid="varint_8h_1af88c9f4171df59e6e0aa2db71bf9f250" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>uBit(x,y)<sp/><sp/><sp/>(x&(1<<y))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="74" refid="varint_8h_1ac123183daf1150b8b675c96cfeae4314" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>tBit(x,y)<sp/><sp/><sp/>(toBool(uBit(x,y)))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="75"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="76" refid="varint_8h_1aa1b4c6a5140aae5adbc14792ed9cbaf5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>sBit(x,y)<sp/><sp/><sp/>(x|(1<<y))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="77" refid="varint_8h_1a6c0c97a8768383af5f921a0496bb7e6c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>rBit(x,y)<sp/><sp/><sp/>(x&(~(1<<y)))<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="78" refid="varint_8h_1a5cce0b9aa61d54efc42512f4c7796455" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>mBit(x,y,z)<sp/>((z)?sBit(x,y):rBit(x,y))<sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="79"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="80" refid="varint_8h_1a7ae6889c9eb9c27afb4395ef1d06eec7" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LpAdd(x,y)<sp/><sp/>((x+1)<y?x+1:0)<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="81" refid="varint_8h_1af8c84f28a4c47bc30bbecb56d1469fd2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LpDec(x,y)<sp/><sp/>(x>0?x-1:y-1)<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="82" refid="varint_8h_1ac5268cd1ab382ef2574c21c40590d6bc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>qLpAdd(x,y)<sp/>(x=(x+1)<y?x+1:0)<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="83"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>qLpDec(x,y)<sp/>(x=x>0?x-1:y-1)<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
|
||||
<codeline lineno="85"><highlight class="normal"></highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_Device/varint.h"/>
|
||||
</compounddef>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
<para><xrefsect id="todo_1_todo000004"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写初始化程序 </para>
|
||||
<para><xrefsect id="todo_1_todo000005"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写初始化程序 </para>
|
||||
</xrefdescription></xrefsect></para>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_System/vartable.h" line="54" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp" bodystart="47" bodyend="49" declfile="D:/gitt/MicrochipFor32/bsp_System/vartable.h" declline="54" declcolumn="6"/>
|
||||
@@ -119,7 +119,7 @@
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
<para><xrefsect id="todo_1_todo000005"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写主进程程序 </para>
|
||||
<para><xrefsect id="todo_1_todo000006"><xreftitle>待办事项</xreftitle><xrefdescription><para>在此处填写主进程程序 </para>
|
||||
</xrefdescription></xrefsect></para>
|
||||
</inbodydescription>
|
||||
<location file="D:/gitt/MicrochipFor32/bsp_System/vartable.h" line="55" column="6" bodyfile="D:/gitt/MicrochipFor32/bsp_System/MainSystem.cpp" bodystart="56" bodyend="60" declfile="D:/gitt/MicrochipFor32/bsp_System/vartable.h" declline="55" declcolumn="6"/>
|
||||
|
||||
Reference in New Issue
Block a user