加入BMP库,加入常见位操作

This commit is contained in:
XerolySkinner
2022-11-24 23:56:57 +08:00
parent f6b6ac1329
commit 01324e987e
709 changed files with 17019 additions and 2341 deletions

View File

@@ -1 +1 @@
e7b7448de58aa8208e7960fb60ae7b2e
5bab8e68f70fe52778862a603056e696

View File

@@ -46,7 +46,7 @@ void \mbox{\hyperlink{_main_system_8cpp_af89e02f2d993332a8dea8fef6b78a7bc}{Main\
\+MX生成的main中,进入循环前放置本函数
\end{DoxyNote}
\begin{DoxyRefDesc}{待办事项}
\item[\mbox{\hyperlink{todo__todo000004}{待办事项}}]在此处填写初始化程序 \end{DoxyRefDesc}
\item[\mbox{\hyperlink{todo__todo000005}{待办事项}}]在此处填写初始化程序 \end{DoxyRefDesc}
在文件 \mbox{\hyperlink{_main_system_8cpp_source}{Main\+System.\+cpp}}\mbox{\hyperlink{_main_system_8cpp_source_l00047}{47}} 行定义.
@@ -65,7 +65,7 @@ void \mbox{\hyperlink{_main_system_8cpp_af89e02f2d993332a8dea8fef6b78a7bc}{Main\
\+MX生成的main中,进入循环后放置本函数
\end{DoxyNote}
\begin{DoxyRefDesc}{待办事项}
\item[\mbox{\hyperlink{todo__todo000005}{待办事项}}]在此处填写主进程程序 \end{DoxyRefDesc}
\item[\mbox{\hyperlink{todo__todo000006}{待办事项}}]在此处填写主进程程序 \end{DoxyRefDesc}
在文件 \mbox{\hyperlink{_main_system_8cpp_source}{Main\+System.\+cpp}}\mbox{\hyperlink{_main_system_8cpp_source_l00056}{56}} 行定义.

View File

@@ -1 +1 @@
67d0e1b885952c083a9768e4b37b1985
f25aa9f7b8ab9d88a2fc41212e3aa10d

View File

@@ -1 +1 @@
90af04557dc9c56e2f6a6cc134d1cec3
7805f3714805f8d591903a61a333fb2b

View File

@@ -1 +1 @@
6334a3d6ac3689685a982fa2c33b6afc
7b91003566bc6c92539fcff6b97182e8

View File

@@ -1 +1 @@
025cc28edebf45961573d7ca05741fae
1a58c98eea298b03785002ed51d8cb9f

View File

@@ -1 +1 @@
51bfe6773d4708df113f1d8bc5c490a3
1b18a3f52c5dfd8576e55b5632f8ab5c

View File

@@ -1,11 +1,18 @@
\doxysection{类列表}
这里列出了所有类、结构、联合以及接口定义等,并附带简要说明\+:\begin{DoxyCompactList}
\item\contentsline{section}{\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{\+\_\+\+BITMAPFILEHEADER}} \\*位图文件头 }{\pageref{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}}{}
\item\contentsline{section}{\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\+\_\+\+BITMAPINFO}} \\*BMP文件头 }{\pageref{struct___b_i_t_m_a_p_i_n_f_o}}{}
\item\contentsline{section}{\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}{\+\_\+\+BITMAPINFOHEADER}} \\*位图信息头 }{\pageref{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}}{}
\item\contentsline{section}{\mbox{\hyperlink{struct__l_queue}{\+\_\+l\+Queue}} \\*链表方式队列的节点 }{\pageref{struct__l_queue}}{}
\item\contentsline{section}{\mbox{\hyperlink{struct__l_stack}{\+\_\+l\+Stack}} \\*链表方式栈的节点 }{\pageref{struct__l_stack}}{}
\item\contentsline{section}{\mbox{\hyperlink{struct___r_g_b_q_u_a_d}{\+\_\+\+RGBQUAD}} \\*调色板 }{\pageref{struct___r_g_b_q_u_a_d}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___b_m_p}{bsp\+\_\+\+BMP}} \\*构建一个\+BMP类 }{\pageref{classbsp___b_m_p}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___differential}{bsp\+\_\+\+Differential}} \\*一个微分对象 }{\pageref{classbsp___differential}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___digit}{bsp\+\_\+\+Digit}} \\*一个面向数码管的类,使用级联的\+HC595 }{\pageref{classbsp___digit}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___i_i_c}{bsp\+\_\+\+IIC}} \\*IIC的基础实现方法 留下三个保护性接口需要实现,分别是控制时钟,控制数据,延时函数 }{\pageref{classbsp___i_i_c}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___i_i_c___s_t_m32}{bsp\+\_\+\+IIC\+\_\+\+STM32}} \\*STM32版本的软件\+IIC 需要使用构造函数初始化 }{\pageref{classbsp___i_i_c___s_t_m32}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___increment___p_i_d}{bsp\+\_\+\+Increment\+\_\+\+PID}} \\*增量法为基础的\+PID算法 }{\pageref{classbsp___increment___p_i_d}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___integral}{bsp\+\_\+\+Integral}} \\*一个积分对象 }{\pageref{classbsp___integral}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___m_a_x6675}{bsp\+\_\+\+MAX6675}} \\*MAX6675的一个对象类 }{\pageref{classbsp___m_a_x6675}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___mod_bus___rx}{bsp\+\_\+\+Mod\+Bus\+\_\+\+Rx}} \\*Mod\+Bus协议分析器 }{\pageref{classbsp___mod_bus___rx}}{}
\item\contentsline{section}{\mbox{\hyperlink{classbsp___mod_bus___s_t_m32}{bsp\+\_\+\+Mod\+Bus\+\_\+\+STM32}} \\*STM32用串口的\+Mod\+Bus发送器 }{\pageref{classbsp___mod_bus___s_t_m32}}{}
@@ -21,4 +28,5 @@
\item\contentsline{section}{\mbox{\hyperlink{class_s_t_l__l_stack}{STL\+\_\+l\+Stack}} \\*一个栈的类 }{\pageref{class_s_t_l__l_stack}}{}
\item\contentsline{section}{\mbox{\hyperlink{class_s_t_l__r_queue}{STL\+\_\+r\+Queue}} \\*一个队列的类 }{\pageref{class_s_t_l__r_queue}}{}
\item\contentsline{section}{\mbox{\hyperlink{class_s_t_l__r_stack}{STL\+\_\+r\+Stack}} \\*一个栈的类 }{\pageref{class_s_t_l__r_stack}}{}
\item\contentsline{section}{\mbox{\hyperlink{structstruct__bsp___flash___pack}{struct\+\_\+bsp\+\_\+\+Flash\+\_\+\+Pack}} \\*一包数据的内容 }{\pageref{structstruct__bsp___flash___pack}}{}
\end{DoxyCompactList}

View File

@@ -1 +1 @@
d61ffd2905d340d645e707b5a5ccb2ab
fa6d9bad0974502bf315402daec889e6

View File

@@ -1 +1 @@
4ccbfa877159501e44b1eb20e3802283
d507a468f35921a28d8c0eab99251a9e

View File

@@ -0,0 +1,25 @@
\hypertarget{bsp___b_m_p_8cpp}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/bsp\+\_\+\+BMP.cpp 文件参考}
\label{bsp___b_m_p_8cpp}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.cpp@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.cpp}}
用来构造\+BMP图片
{\ttfamily \#include \char`\"{}bsp\+\_\+\+BMP.\+h\char`\"{}}\newline
bsp\+\_\+\+BMP.\+cpp 的引用(Include)关系图\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{bsp___b_m_p_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection{详细描述}
用来构造\+BMP图片
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}} 中定义.

View File

@@ -0,0 +1 @@
062ea6b48affc70ad7d3050fce0d2429

Binary file not shown.

View File

@@ -0,0 +1,87 @@
\hypertarget{bsp___b_m_p_8cpp_source}{}\doxysection{bsp\+\_\+\+BMP.\+cpp}
\label{bsp___b_m_p_8cpp_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.cpp@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.cpp}}
\mbox{\hyperlink{bsp___b_m_p_8cpp}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00034}00034 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00035}00035 \textcolor{comment}{// 头文件}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{bsp___b_m_p_8h}{bsp\_BMP.h}}"{}}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00038}00038 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00039}00039 \textcolor{comment}{// 类函数}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00045}\mbox{\hyperlink{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}{00045}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}{bsp\_BMP::pels}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00046}00046 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{bsp\_BMP::BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a6a7eb9da9dfb7790486523dac6c4b6c2}{biXPelsPerMeter}} = x;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00047}00047 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{bsp\_BMP::BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0c830c96c45441edc35a5397bc86ace0}{biYPelsPerMeter}} = y;\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00052}\mbox{\hyperlink{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}{00052}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}{bsp\_BMP::giveData}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00053}00053 free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00054}00054 \mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}} = (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)malloc(\mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{Size}});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00055}00055 \textcolor{keywordflow}{return} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}})\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}};\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00059}\mbox{\hyperlink{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}{00059}} \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}{bsp\_BMP::delData}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00060}00060 free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00068}\mbox{\hyperlink{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}{00068}} \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}{bsp\_BMP::ColorsSet}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} R, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} G, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} B,\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} i) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00069}00069 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_ad26ba005b107e31a81b9e3e981ca9f1d}{rgbBlue}} = B;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00070}00070 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a2e445545aae97ebab36603942d3780d1}{rgbGreen}} = G;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00071}00071 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a9756faed264a45ead4f89567e807247f}{rgbRed}} = R;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00072}00072 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmiColors}}[i].\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a742c7421feef58afb68308d3643bd924}{rgbReserved}} = 0;\}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00078}\mbox{\hyperlink{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}{00078}} \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}{bsp\_BMP::sizeSet}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00079}00079 free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00080}00080 \mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{Size}} = x * y;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00081}00081 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a28dd4e1f56936b64f6e01db9b2d171f2}{biWidth}} = x; \textcolor{comment}{// 色彩宽度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00082}00082 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a9f6c38749a3b5f8b261be7a6556cf97a}{biHeight}} = y; \textcolor{comment}{// 色彩高度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00083}00083 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}} =}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00084}00084 \textcolor{keyword}{sizeof}(\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\_BITMAPINFO}}); \textcolor{comment}{// 位图数据偏倚}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00085}00085 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}{bfSize}} =}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00086}00086 x * y +}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00087}00087 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}}; \textcolor{comment}{// 文件大小}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00088}00088 \}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00090}00090 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00091}00091 \textcolor{comment}{// 构造函数}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00097}\mbox{\hyperlink{classbsp___b_m_p_a27d05488822dc9548e0783d46808a1db}{00097}} \textcolor{comment}{}\mbox{\hyperlink{classbsp___b_m_p_a27d05488822dc9548e0783d46808a1db}{bsp\_BMP::bsp\_BMP}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Width, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Height) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00098}00098 \mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{bsp\_BMP::dat}} = NULL;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00099}00099 \mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{bsp\_BMP::Size}} = Width * Height;}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00100}00100 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a28dd4e1f56936b64f6e01db9b2d171f2}{biWidth}} = Width; \textcolor{comment}{// 色彩宽度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00101}00101 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a9f6c38749a3b5f8b261be7a6556cf97a}{biHeight}} = Height; \textcolor{comment}{// 色彩高度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00102}00102 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a6810e258839bc4345e2036af20e607db}{bfType}} = 0x4D42; \textcolor{comment}{// 恒为保护字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00103}00103 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a71c78132cda5e8b032fb4f549ec9a14a}{bfReserved1}} = 0; \textcolor{comment}{// 保留字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00104}00104 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a3f69e4551c8fee241e5a4cd224c64f50}{bfReserved2}} = 0; \textcolor{comment}{// 保留字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00105}00105 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_aef77b295d3a4b6540873c9e0d2ef53d2}{biCompression}} = 0; \textcolor{comment}{// 无压缩}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00106}00106 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0fa85188799eb931e2a03c887751a89e}{biSizeImage}} = 0; \textcolor{comment}{// 无压缩下为0}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00107}00107 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a42d10de030492301ff4a3d5cfb91c2dd}{biPlanes}} = 1; \textcolor{comment}{// 恒为保护字}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00108}00108 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a1bb27f668cbed1ce6523e7042962a0e7}{biClrUsed}} = 0; \textcolor{comment}{// 使用全部颜色}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00109}00109 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a4ee52fd1ab5c173a6e54444d1ec61dab}{biClrImportant}} = 0; \textcolor{comment}{// 全部颜色都重要}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00110}00110 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a6a7eb9da9dfb7790486523dac6c4b6c2}{biXPelsPerMeter}} = 0; \textcolor{comment}{// 像素-\/不太重要}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00111}00111 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0c830c96c45441edc35a5397bc86ace0}{biYPelsPerMeter}} = 0; \textcolor{comment}{// 像素-\/不太重要}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00112}00112 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a750a301fb5962c5fc2b7fac173d96bdf}{biSize}} = 40; \textcolor{comment}{// 信息头大小}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00113}00113 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}} = }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00114}00114 \textcolor{keyword}{sizeof}(\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\_BITMAPINFO}}); \textcolor{comment}{// 位图数据偏倚}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00115}00115 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}{bfSize}} = }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00116}00116 Width * Height+ }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00117}00117 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}}; \textcolor{comment}{// 文件大小}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00118}00118 \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}.\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a98f05ea6cc8388d3ca701a834b04a286}{biBitCount}} = 8; \textcolor{comment}{// 色彩深度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00119}00119 \}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00120}00120 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00121}\mbox{\hyperlink{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}{00121}} \mbox{\hyperlink{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}{bsp\_BMP::\string~bsp\_BMP}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8cpp_source_l00122}00122 free(\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}});\}}
\end{DoxyCode}

View File

@@ -0,0 +1,47 @@
\hypertarget{bsp___b_m_p_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/bsp\+\_\+\+BMP.h 文件参考}
\label{bsp___b_m_p_8h}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.h}}
用来构造\+BMP图片
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
bsp\+\_\+\+BMP.\+h 的引用(Include)关系图\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=203pt]{bsp___b_m_p_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{bsp___b_m_p_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{}
\begin{DoxyCompactItemize}
\item
struct \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{\+\_\+\+BITMAPFILEHEADER}}
\begin{DoxyCompactList}\small\item\em 位图文件头 \end{DoxyCompactList}\item
struct \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}{\+\_\+\+BITMAPINFOHEADER}}
\begin{DoxyCompactList}\small\item\em 位图信息头 \end{DoxyCompactList}\item
struct \mbox{\hyperlink{struct___r_g_b_q_u_a_d}{\+\_\+\+RGBQUAD}}
\begin{DoxyCompactList}\small\item\em 调色板 \end{DoxyCompactList}\item
struct \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\+\_\+\+BITMAPINFO}}
\begin{DoxyCompactList}\small\item\em BMP文件头 \end{DoxyCompactList}\item
class \mbox{\hyperlink{classbsp___b_m_p}{bsp\+\_\+\+BMP}}
\begin{DoxyCompactList}\small\item\em 构建一个\+BMP类 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{详细描述}
用来构造\+BMP图片
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}} 中定义.

View File

@@ -0,0 +1 @@
076f3757130d37bc7a9e16d5c2a0ac69

Binary file not shown.

View File

@@ -0,0 +1 @@
ba2603077eea24df840880690636543c

Binary file not shown.

View File

@@ -0,0 +1,92 @@
\hypertarget{bsp___b_m_p_8h_source}{}\doxysection{bsp\+\_\+\+BMP.\+h}
\label{bsp___b_m_p_8h_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_BMP.h}}
\mbox{\hyperlink{bsp___b_m_p_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00033}00033 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00035}00035 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{varint_8h}{varint.h}}"{}}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00036}00036 \textcolor{preprocessor}{\#include <stdlib.h>}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00038}00038 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00039}00039 \textcolor{comment}{// 文件头}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00040}00040 \textcolor{preprocessor}{\#pragma pack(1)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00044}\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{00044}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00045}00045 \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00046}\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a6810e258839bc4345e2036af20e607db}{00046}} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a6810e258839bc4345e2036af20e607db}{bfType}}; \textcolor{comment}{//文件标志.固定为'BM',用来识别BMP位图类型}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00047}\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}{00047}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}{bfSize}}; \textcolor{comment}{//文件大小,占四个字节}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00048}\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a71c78132cda5e8b032fb4f549ec9a14a}{00048}} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a71c78132cda5e8b032fb4f549ec9a14a}{bfReserved1}}; \textcolor{comment}{//保留总为0}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00049}\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a3f69e4551c8fee241e5a4cd224c64f50}{00049}} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a3f69e4551c8fee241e5a4cd224c64f50}{bfReserved2}}; \textcolor{comment}{//保留总为0}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00050}\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{00050}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bfOffBits}}; \textcolor{comment}{//从文件开始到位图数据(bitmap data)开始之间的的偏移量}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00051}00051 \}\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{\_BITMAPFILEHEADER}};}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00055}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}{00055}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00056}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a750a301fb5962c5fc2b7fac173d96bdf}{00056}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a750a301fb5962c5fc2b7fac173d96bdf}{biSize}}; \textcolor{comment}{//BITMAPINFOHEADER结构所需要的字数。}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00057}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a28dd4e1f56936b64f6e01db9b2d171f2}{00057}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a28dd4e1f56936b64f6e01db9b2d171f2}{biWidth}}; \textcolor{comment}{//图象的宽度,以象素为单位 }}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00058}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a9f6c38749a3b5f8b261be7a6556cf97a}{00058}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a9f6c38749a3b5f8b261be7a6556cf97a}{biHeight}}; \textcolor{comment}{//图象的高度,以象素为单位 }}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00059}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a42d10de030492301ff4a3d5cfb91c2dd}{00059}} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a42d10de030492301ff4a3d5cfb91c2dd}{biPlanes}}; \textcolor{comment}{//为目标设备说明位面数其值将总是被设为1 }}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00060}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a98f05ea6cc8388d3ca701a834b04a286}{00060}} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a98f05ea6cc8388d3ca701a834b04a286}{biBitCount}}; \textcolor{comment}{//比特数/象素其值为1、4、8、16、24、或32}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00061}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_aef77b295d3a4b6540873c9e0d2ef53d2}{00061}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_aef77b295d3a4b6540873c9e0d2ef53d2}{biCompression}}; \textcolor{comment}{//图象数据压缩的类型。其值可以是下述值之一:}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00062}00062 \textcolor{comment}{//BI\_RGB没有压缩}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00063}00063 \textcolor{comment}{//BI\_RLE8每个象素8比特的RLE压缩编码压缩格式由2字节组成(重复象素计数和颜色索引)}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00064}00064 \textcolor{comment}{//BI\_RLE4每个象素4比特的RLE压缩编码压缩格式由2字节组成}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00065}00065 \textcolor{comment}{//BI\_BITFIELDS每个象素的比特由指定的掩码决定。}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00066}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0fa85188799eb931e2a03c887751a89e}{00066}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0fa85188799eb931e2a03c887751a89e}{biSizeImage}}; \textcolor{comment}{//图象的大小以字节为单位。当用BI\_RGB格式时可设置为0}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00067}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a6a7eb9da9dfb7790486523dac6c4b6c2}{00067}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a6a7eb9da9dfb7790486523dac6c4b6c2}{biXPelsPerMeter}}; \textcolor{comment}{//水平分辨率,用象素/米表示}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00068}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0c830c96c45441edc35a5397bc86ace0}{00068}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a0c830c96c45441edc35a5397bc86ace0}{biYPelsPerMeter}}; \textcolor{comment}{//垂直分辨率,用象素/米表示}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00069}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a1bb27f668cbed1ce6523e7042962a0e7}{00069}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a1bb27f668cbed1ce6523e7042962a0e7}{biClrUsed}}; \textcolor{comment}{//位图实际使用的彩色表中的颜色索引数}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00070}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a4ee52fd1ab5c173a6e54444d1ec61dab}{00070}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r_a4ee52fd1ab5c173a6e54444d1ec61dab}{biClrImportant}}; \textcolor{comment}{//对图象显示有重要影响的颜色索引的数目如果是0表示都重要。}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00071}00071 \}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}{\_BITMAPINFOHEADER}};}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00075}\mbox{\hyperlink{struct___r_g_b_q_u_a_d}{00075}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct}\{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00076}\mbox{\hyperlink{struct___r_g_b_q_u_a_d_ad26ba005b107e31a81b9e3e981ca9f1d}{00076}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{struct___r_g_b_q_u_a_d_ad26ba005b107e31a81b9e3e981ca9f1d}{rgbBlue}}; \textcolor{comment}{//指定蓝色强度}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00077}\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a2e445545aae97ebab36603942d3780d1}{00077}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{struct___r_g_b_q_u_a_d_a2e445545aae97ebab36603942d3780d1}{rgbGreen}}; \textcolor{comment}{//指定绿色强度 }}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00078}\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a9756faed264a45ead4f89567e807247f}{00078}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{struct___r_g_b_q_u_a_d_a9756faed264a45ead4f89567e807247f}{rgbRed}}; \textcolor{comment}{//指定红色强度 }}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00079}\mbox{\hyperlink{struct___r_g_b_q_u_a_d_a742c7421feef58afb68308d3643bd924}{00079}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{struct___r_g_b_q_u_a_d_a742c7421feef58afb68308d3643bd924}{rgbReserved}}; \textcolor{comment}{//保留设置为0 }}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00080}00080 \}\mbox{\hyperlink{struct___r_g_b_q_u_a_d}{\_RGBQUAD}};}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00084}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{00084}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct}\{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00085}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{00085}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{\_BITMAPFILEHEADER}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmfHeader}}; \textcolor{comment}{//位图文件头}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00086}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{00086}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}{\_BITMAPINFOHEADER}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmiHeader}}; \textcolor{comment}{//位图信息头 }}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00087}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{00087}} \mbox{\hyperlink{struct___r_g_b_q_u_a_d}{\_RGBQUAD}} bmiColors[256]; \textcolor{comment}{//调色板}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00088}00088 \}\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\_BITMAPINFO}};}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00089}00089 \textcolor{preprocessor}{\#pragma pack()}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00091}00091 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00092}00092 \textcolor{comment}{// 头文件}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00093}00093 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00097}\mbox{\hyperlink{classbsp___b_m_p}{00097}} \textcolor{keyword}{class }\mbox{\hyperlink{classbsp___b_m_p}{bsp\_BMP}} \{}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00098}00098 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00099}00099 \mbox{\hyperlink{classbsp___b_m_p}{bsp\_BMP}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Width, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Height);}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00100}00100 \mbox{\hyperlink{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}{\string~bsp\_BMP}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00101}00101 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00102}00102 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}{pels}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y);}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00103}00103 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}{giveData}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00104}00104 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}{delData}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00105}00105 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}{ColorsSet}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} R, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} G, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} B,\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} i);}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00106}00106 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}{sizeSet}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y);}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00107}00107 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00108}\mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{00108}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\_BITMAPINFO}} \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}; }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00109}\mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{00109}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{Size}}; }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00110}\mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{00110}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* \mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}}; }
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00111}00111 \};}
\DoxyCodeLine{\Hypertarget{bsp___b_m_p_8h_source_l00113}00113 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}

View File

@@ -1 +1 @@
1c13e627ea18cebdeca90e28952b2549
378a5be4b791bf720a7460767abe1117

View File

@@ -1 +1 @@
9bca80e74187dabc56e9d2ac38ab4110
aee28dc06f0158f8d6b147aafe8bb9a1

View File

@@ -0,0 +1,24 @@
\hypertarget{bsp___calculus_8cpp}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/bsp\+\_\+\+Calculus.cpp 文件参考}
\label{bsp___calculus_8cpp}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.cpp@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.cpp}}
离散微积分
{\ttfamily \#include \char`\"{}bsp\+\_\+\+Calculus.\+h\char`\"{}}\newline
bsp\+\_\+\+Calculus.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=229pt]{bsp___calculus_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection{详细描述}
离散微积分
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}} 中定义.

View File

@@ -0,0 +1 @@
55d6117803837208a63d5e074f58ac23

Binary file not shown.

View File

@@ -0,0 +1,79 @@
\hypertarget{bsp___calculus_8cpp_source}{}\doxysection{bsp\+\_\+\+Calculus.\+cpp}
\label{bsp___calculus_8cpp_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.cpp@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.cpp}}
\mbox{\hyperlink{bsp___calculus_8cpp}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00035}00035 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00036}00036 \textcolor{comment}{// 头文件}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00037}00037 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{bsp___calculus_8h}{bsp\_Calculus.h}}"{}}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00040}00040 \textcolor{comment}{// 类函数}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00046}\mbox{\hyperlink{classbsp___differential_a46536b15be29d856b09dd7d261a12ab1}{00046}} \textcolor{comment}{}\textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___differential_a46536b15be29d856b09dd7d261a12ab1}{bsp\_Differential::Differential}}(\textcolor{keywordtype}{float} var) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00047}00047 \textcolor{keyword}{static} \textcolor{keywordtype}{float} old=var;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00048}00048 \textcolor{keywordtype}{float} result= (var -\/ old) / \mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{dt}};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00049}00049 old = var;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00050}00050 \textcolor{keywordflow}{return} result;\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00052}00052 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00053}00053 \textcolor{comment}{// 类函数}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00059}\mbox{\hyperlink{classbsp___integral_ade46f89bfdc6dd778c045a51c76c1839}{00059}} \textcolor{comment}{}\textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_ade46f89bfdc6dd778c045a51c76c1839}{bsp\_Integral::Integral}}(\textcolor{keywordtype}{float} var) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00060}00060 \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}} += var * \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00061}00061 \textcolor{keywordflow}{return} \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}};\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00062}00062 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00067}\mbox{\hyperlink{classbsp___integral_aaf7474301ed76ca9ce2b1884ae870019}{00067}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___integral_aaf7474301ed76ca9ce2b1884ae870019}{bsp\_Integral::Integral\_set}}(\textcolor{keywordtype}{float} results) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00068}00068 \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{bsp\_Integral::results}} = \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}};\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00069}00069 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00075}\mbox{\hyperlink{classbsp___integral_a86d9e02d1146744fe80ebab69070abb4}{00075}} \textcolor{comment}{}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___integral_a86d9e02d1146744fe80ebab69070abb4}{bsp\_Integral::Integral\_makelist}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} len) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00076}00076 \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}} = (\textcolor{keywordtype}{float}*)malloc(\textcolor{keyword}{sizeof}(\textcolor{keywordtype}{float})* len);}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00077}00077 \mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{result\_len}} = len;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00078}00078 \mbox{\hyperlink{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e}{Integral\_clslist}}();}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00079}00079 \textcolor{keywordflow}{return} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}})\mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}};\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00080}00080 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00086}\mbox{\hyperlink{classbsp___integral_a80693e18b9b9509bdec0ebfd72f84072}{00086}} \textcolor{comment}{}\textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_a80693e18b9b9509bdec0ebfd72f84072}{bsp\_Integral::Integral\_list}}(\textcolor{keywordtype}{float} var) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00087}00087 \textcolor{keyword}{static} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} len=0;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00088}00088 \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}} += var * \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00089}00089 \textcolor{comment}{// 保存历史}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00090}00090 \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}}[len] = var * \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00091}00091 \textcolor{comment}{// 轮盘转}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00092}00092 ++len;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00093}00093 \textcolor{keywordflow}{if} (len == \mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{result\_len}})len = 0;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00094}00094 \textcolor{comment}{// 去除尾值}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00095}00095 \textcolor{keywordflow}{if} (len < \mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{result\_len}} -\/ 1)}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00096}00096 \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}} -\/= \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}}[len + 1];}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00097}00097 \textcolor{keywordflow}{else}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00098}00098 \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}} -\/= \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}}[0];}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00099}00099 \textcolor{comment}{// }}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00100}00100 \textcolor{keywordflow}{return} \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}};\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00101}00101 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00105}\mbox{\hyperlink{classbsp___integral_a47307ddf418d2686245b118dcf61a199}{00105}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___integral_a47307ddf418d2686245b118dcf61a199}{bsp\_Integral::Integral\_dellist}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00106}00106 free(\mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}});}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00107}00107 \mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{result\_len}} = 0;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00108}00108 \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}} = NULL;\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00109}00109 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00113}\mbox{\hyperlink{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e}{00113}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e}{bsp\_Integral::Integral\_clslist}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00114}00114 \textcolor{keywordflow}{if} (\mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}} == NULL)\textcolor{keywordflow}{return};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00115}00115 \textcolor{keywordflow}{for} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} i = 0; i < \mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{result\_len}}; i++)}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8cpp_source_l00116}00116 \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}}[i] = 0;\}}
\end{DoxyCode}

View File

@@ -0,0 +1,39 @@
\hypertarget{bsp___calculus_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/bsp\+\_\+\+Calculus.h 文件参考}
\label{bsp___calculus_8h}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.h}}
离散微积分
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
bsp\+\_\+\+Calculus.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=219pt]{bsp___calculus_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=229pt]{bsp___calculus_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{}
\begin{DoxyCompactItemize}
\item
class \mbox{\hyperlink{classbsp___differential}{bsp\+\_\+\+Differential}}
\begin{DoxyCompactList}\small\item\em 一个微分对象 \end{DoxyCompactList}\item
class \mbox{\hyperlink{classbsp___integral}{bsp\+\_\+\+Integral}}
\begin{DoxyCompactList}\small\item\em 一个积分对象 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{详细描述}
离散微积分
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}} 中定义.

View File

@@ -0,0 +1 @@
3595893eb2f98cb9b95a064c9c342fb5

Binary file not shown.

View File

@@ -0,0 +1 @@
701e6fece90a228d26b32443744f7b56

Binary file not shown.

View File

@@ -0,0 +1,69 @@
\hypertarget{bsp___calculus_8h_source}{}\doxysection{bsp\+\_\+\+Calculus.\+h}
\label{bsp___calculus_8h_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_Calculus.h}}
\mbox{\hyperlink{bsp___calculus_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00033}00033 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00035}00035 \textcolor{preprocessor}{\#include <stdlib.h>}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{varint_8h}{varint.h}}"{}}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00038}00038 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00039}00039 \textcolor{comment}{// 类目}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00043}\mbox{\hyperlink{classbsp___differential}{00043}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{classbsp___differential}{bsp\_Differential}}\{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00044}00044 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00045}\mbox{\hyperlink{classbsp___differential_a16a19c803e2f1a3bbba98a2ef529206b}{00045}} \mbox{\hyperlink{classbsp___differential_a16a19c803e2f1a3bbba98a2ef529206b}{bsp\_Differential}}(\textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{dt}}) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00046}00046 \mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{bsp\_Differential::dt}} = \mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{dt}};\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00047}00047 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00048}00048 \textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___differential_a46536b15be29d856b09dd7d261a12ab1}{Differential}}(\textcolor{keywordtype}{float} var);}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00049}00049 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00050}\mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{00050}} \textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{dt}}; }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00051}00051 \};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00052}00052 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00059}\mbox{\hyperlink{classbsp___integral}{00059}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{classbsp___integral}{bsp\_Integral}} \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00060}00060 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00061}\mbox{\hyperlink{classbsp___integral_af274273b399f4da855646921f3ae31ba}{00061}} \mbox{\hyperlink{classbsp___integral_af274273b399f4da855646921f3ae31ba}{bsp\_Integral}}(\textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}}) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00062}00062 \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{bsp\_Integral::result\_list}} = NULL;}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00063}00063 \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{bsp\_Integral::dt}} = \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00064}00064 \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{bsp\_Integral::results}} = 0;\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00065}\mbox{\hyperlink{classbsp___integral_a3f190eb273b4d6492fb39e2573ec37a1}{00065}} \mbox{\hyperlink{classbsp___integral_a3f190eb273b4d6492fb39e2573ec37a1}{\string~bsp\_Integral}}(\textcolor{keywordtype}{void}) \{}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00066}00066 free(\mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}});}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00067}00067 \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}} = NULL;\}}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00068}00068 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00069}00069 \textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_ade46f89bfdc6dd778c045a51c76c1839}{Integral}}(\textcolor{keywordtype}{float} var);}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00070}00070 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___integral_aaf7474301ed76ca9ce2b1884ae870019}{Integral\_set}}(\textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}});}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00071}00071 }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00072}00072 \textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_a80693e18b9b9509bdec0ebfd72f84072}{Integral\_list}}(\textcolor{keywordtype}{float} var);}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00073}00073 \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___integral_a86d9e02d1146744fe80ebab69070abb4}{Integral\_makelist}}(\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} len);}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00074}00074 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___integral_a47307ddf418d2686245b118dcf61a199}{Integral\_dellist}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00075}00075 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e}{Integral\_clslist}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00076}00076 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00077}\mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{00077}} \textcolor{keywordtype}{float} *\mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\_list}}; }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00078}\mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{00078}} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{result\_len}}; }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00079}\mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{00079}} \textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}}; }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00080}\mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{00080}} \textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}}; }
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00081}00081 \};}
\DoxyCodeLine{\Hypertarget{bsp___calculus_8h_source_l00083}00083 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}

View File

@@ -1 +1 @@
042549b4c70be9512963c51b667a26c0
77705ff73775d9305def5b688629e2bf

View File

@@ -1 +1 @@
20ec23eb07beb642f39e5abcdfcd6068
5a2dd6c40815bfe731cf1667f129a274

View File

@@ -1 +1 @@
7a6a93f355491cd0f137e8e3f87c9c83
4cfab8bdd4e849699970e4e09d30f5b4

View File

@@ -1 +1 @@
610e9a8f2c0ec7b8e152d816a0343cac
972b83dc156c6576e84f65cfba424ab7

View File

@@ -1 +1 @@
a32b121090453bd1ba787e9592915435
99ec78978e193eea555b179de975dcae

View File

@@ -53,16 +53,16 @@
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00080}00080 \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00081}00081 \textcolor{keywordflow}{return} HAL\_GPIO\_ReadPin(\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a6258aaa53e12f5502333f4440cdba352}{GPIOx\_SCK}}, \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a7a5b57552741573a65114014a146bd5e}{GPIO\_Pin\_SCK}});}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00082}00082 \}\}}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00089}\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a8e703fab0f20578492ff23cb185b1a8d}{00089}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a8e703fab0f20578492ff23cb185b1a8d}{bsp\_IIC\_STM32::IIC\_SDA}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var) \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00090}00090 \textcolor{keywordflow}{if} (var == \mbox{\hyperlink{bsp___i_i_c_8h_adf764cbdea00d65edcd07bb9953ad2b7a048bbf954430bbc34fa11280165ed534}{IIC\_RESET}}) \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00091}00091 HAL\_GPIO\_WritePin(\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_aae22b18b9aa61649c4abd31f79fa7a82}{GPIOx\_SDA}}, \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a73c8aa1aef1ed9e4ff8d46e5c7755272}{GPIO\_Pin\_SDA}}, GPIO\_PIN\_RESET);}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00092}00092 \textcolor{keywordflow}{return} 2;\}}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00093}00093 \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (var == \mbox{\hyperlink{bsp___i_i_c_8h_adf764cbdea00d65edcd07bb9953ad2b7a9e128b73c7beb33be6b4e953a7fddc66}{IIC\_SET}}) \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00094}00094 HAL\_GPIO\_WritePin(\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_aae22b18b9aa61649c4abd31f79fa7a82}{GPIOx\_SDA}}, \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a73c8aa1aef1ed9e4ff8d46e5c7755272}{GPIO\_Pin\_SDA}}, GPIO\_PIN\_SET);}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00095}00095 \textcolor{keywordflow}{return} 2;\}}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00096}00096 \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00097}00097 \textcolor{keywordflow}{return} HAL\_GPIO\_ReadPin(\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_aae22b18b9aa61649c4abd31f79fa7a82}{GPIOx\_SDA}}, \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a73c8aa1aef1ed9e4ff8d46e5c7755272}{GPIO\_Pin\_SDA}});}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00098}00098 \}\}}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00100}00100 }
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00088}\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a8e703fab0f20578492ff23cb185b1a8d}{00088}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a8e703fab0f20578492ff23cb185b1a8d}{bsp\_IIC\_STM32::IIC\_SDA}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} var) \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00089}00089 \textcolor{keywordflow}{if} (var == \mbox{\hyperlink{bsp___i_i_c_8h_adf764cbdea00d65edcd07bb9953ad2b7a048bbf954430bbc34fa11280165ed534}{IIC\_RESET}}) \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00090}00090 HAL\_GPIO\_WritePin(\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_aae22b18b9aa61649c4abd31f79fa7a82}{GPIOx\_SDA}}, \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a73c8aa1aef1ed9e4ff8d46e5c7755272}{GPIO\_Pin\_SDA}}, GPIO\_PIN\_RESET);}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00091}00091 \textcolor{keywordflow}{return} 2;\}}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00092}00092 \textcolor{keywordflow}{else} \textcolor{keywordflow}{if} (var == \mbox{\hyperlink{bsp___i_i_c_8h_adf764cbdea00d65edcd07bb9953ad2b7a9e128b73c7beb33be6b4e953a7fddc66}{IIC\_SET}}) \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00093}00093 HAL\_GPIO\_WritePin(\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_aae22b18b9aa61649c4abd31f79fa7a82}{GPIOx\_SDA}}, \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a73c8aa1aef1ed9e4ff8d46e5c7755272}{GPIO\_Pin\_SDA}}, GPIO\_PIN\_SET);}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00094}00094 \textcolor{keywordflow}{return} 2;\}}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00095}00095 \textcolor{keywordflow}{else} \{}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00096}00096 \textcolor{keywordflow}{return} HAL\_GPIO\_ReadPin(\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_aae22b18b9aa61649c4abd31f79fa7a82}{GPIOx\_SDA}}, \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a73c8aa1aef1ed9e4ff8d46e5c7755272}{GPIO\_Pin\_SDA}});}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00097}00097 \}\}}
\DoxyCodeLine{\Hypertarget{bsp___i_i_c___s_t_m32_8cpp_source_l00099}00099 }
\end{DoxyCode}

View File

@@ -1 +1 @@
434d1ac463c09204629681b9859e90e5
d93573a6061a468cee600bcb26da56c0

View File

@@ -1 +1 @@
c3412ba50491fb15b2e98d622a058257
edece428a1865e9468bf81418d1c614d

View File

@@ -1 +1 @@
c7878948260ba41829bba5fa91f57c35
e94bd0298a4a163f1850dfb7bc77d139

View File

@@ -1 +1 @@
7e507556509e9083d59516b0ca7d0e53
95ef4392359a3ed19f5792653ca66da9

View File

@@ -1 +1 @@
ed0f49f916ae094198ae0f7fe42942c7
87f408f1a881a8f9ffc46b5873fa5e1f

View File

@@ -1 +1 @@
25ce0e9308f678af72fe2e4cd7bac92d
62ce250af195cf0621767371adf7a71a

View File

@@ -1 +1 @@
6a8961a100923169530083bf0b917641
c6f39345e90191cd2ff70821a6ad15ba

View File

@@ -1 +1 @@
27ea151070e5815d5c45816e67ed464b
284238da4c9efdbbbde5e601ed6bcb96

View File

@@ -1 +1 @@
ea1261db9a114170f97b9ede4db83279
ebc85e246f2da1d131078b4684307bbe

View File

@@ -1 +1 @@
5c3df41c0e696701837b806e77c69d98
2ab85af796eaf36eee108f8cccd60e15

View File

@@ -1 +1 @@
0963e028120e6ec1f2f7050575e37c26
cf82af814320311898cbfce219375707

View File

@@ -6,8 +6,7 @@
{\ttfamily \#include \char`\"{}bsp\+\_\+\+SD.\+h\char`\"{}}\newline
bsp\+\_\+\+SD.\+cpp 的引用(Include)关系图\+:
\nopagebreak
bsp\+\_\+\+SD.\+cpp 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -1 +1 @@
ba83b3acb6835f6281fb9befa8f81c7d
d276001320b370d74ffd90fc9d28f0d0

View File

@@ -1,17 +1,20 @@
\hypertarget{bsp___s_d_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/bsp\+\_\+\+SD.h 文件参考}
\label{bsp___s_d_8h}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_SD.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_SD.h}}
操作\+SD卡的库
{\ttfamily \#include \char`\"{}spi.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
bsp\+\_\+\+SD.\+h 的引用(Include)关系图\+:
\nopagebreak
bsp\+\_\+\+SD.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=195pt]{bsp___s_d_8h__incl}
\end{center}
\end{figure}
此图展示该文件直接或间接的被哪些文件引用了\+:
\nopagebreak
此图展示该文件直接或间接的被哪些文件引用了\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -123,6 +126,15 @@ enum \mbox{\hyperlink{bsp___s_d_8h_a81ab6678d52bfaa2c2dc9048f5215cf9}{\+\_\+\+CD
\end{DoxyCompactItemize}
\doxysubsection{详细描述}
操作\+SD卡的库
在文件 \mbox{\hyperlink{bsp___s_d_8h_source}{bsp\+\_\+\+SD.\+h}} 中定义.
\doxysubsection{宏定义说明}
\mbox{\Hypertarget{bsp___s_d_8h_a938c1466755f12fb04ac0d1b775584d1}\label{bsp___s_d_8h_a938c1466755f12fb04ac0d1b775584d1}}
\index{bsp\_SD.h@{bsp\_SD.h}!CMD0@{CMD0}}

View File

@@ -1 +1 @@
a352825c2443e2cffaad52cb43e5ed6c
38f535b42a8225f3b3512882fc587218

View File

@@ -1 +1 @@
2d80c37534916ebc9695572cc5b08873
2942098228a949bc0cbeb671e9019831

183
Doc/latex/bsp__flash_8c.tex Normal file
View File

@@ -0,0 +1,183 @@
\hypertarget{bsp__flash_8c}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/bsp\+\_\+flash.c 文件参考}
\label{bsp__flash_8c}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.c@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.c}}
\+STM32的\+Flash库
{\ttfamily \#include \char`\"{}main.\+h\char`\"{}}\newline
bsp\+\_\+flash.\+c 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=202pt]{bsp__flash_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{}
\begin{DoxyCompactItemize}
\item
struct \mbox{\hyperlink{structstruct__bsp___flash___pack}{struct\+\_\+bsp\+\_\+\+Flash\+\_\+\+Pack}}
\begin{DoxyCompactList}\small\item\em 一包数据的内容 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{函数}
\begin{DoxyCompactItemize}
\item
uint32\+\_\+t \mbox{\hyperlink{bsp__flash_8c_af1304997d797af3400074bdb68e5de1c}{bsp\+\_\+\+Write\+Flash\+One\+Page}} (uint32\+\_\+t $\ast$dat, uint32\+\_\+t num)
\begin{DoxyCompactList}\small\item\em 写入一页\+Flash空间 \end{DoxyCompactList}\item
void \mbox{\hyperlink{bsp__flash_8c_a734a679e19a8af2c7ddfa86f4310a13d}{bsp\+\_\+\+Read\+Flash}} (uint32\+\_\+t $\ast$dat, uint32\+\_\+t num)
\begin{DoxyCompactList}\small\item\em 读取一页\+Flash空间 \end{DoxyCompactList}\item
void \mbox{\hyperlink{bsp__flash_8c_aa1a1ff74b284a19aa3872b6f3d6abd11}{bsp\+\_\+\+Write\+Flash\+\_\+\+Pack}} (void)
\begin{DoxyCompactList}\small\item\em 将一包数据存入\+Flash \end{DoxyCompactList}\item
void \mbox{\hyperlink{bsp__flash_8c_a45549058e1315d29263c0b26816bcffb}{bsp\+\_\+\+Read\+Flash\+\_\+\+Pack}} (void)
\begin{DoxyCompactList}\small\item\em\+Flash读取一包数据 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{变量}
\begin{DoxyCompactItemize}
\item
uint32\+\_\+t \mbox{\hyperlink{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}{Flash\+Addr}} = 0x08010000
\begin{DoxyCompactList}\small\item\em 读写\+Flash起始地址,跳过程序部分 \end{DoxyCompactList}\item
struct \mbox{\hyperlink{structstruct__bsp___flash___pack}{struct\+\_\+bsp\+\_\+\+Flash\+\_\+\+Pack}} \mbox{\hyperlink{bsp__flash_8c_a2c0639c4d50bba3762a4295a56a06af8}{bsp\+\_\+\+Flash\+\_\+\+Pack}} =\{0,0,0\}
\end{DoxyCompactItemize}
\doxysubsection{详细描述}
\+STM32的\+Flash库
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}} 中定义.
\doxysubsection{函数说明}
\mbox{\Hypertarget{bsp__flash_8c_a734a679e19a8af2c7ddfa86f4310a13d}\label{bsp__flash_8c_a734a679e19a8af2c7ddfa86f4310a13d}}
\index{bsp\_flash.c@{bsp\_flash.c}!bsp\_ReadFlash@{bsp\_ReadFlash}}
\index{bsp\_ReadFlash@{bsp\_ReadFlash}!bsp\_flash.c@{bsp\_flash.c}}
\doxysubsubsection{\texorpdfstring{bsp\_ReadFlash()}{bsp\_ReadFlash()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Read\+Flash (\begin{DoxyParamCaption}\item[{uint32\+\_\+t $\ast$}]{dat, }\item[{uint32\+\_\+t}]{num }\end{DoxyParamCaption})}
读取一页\+Flash空间
\begin{DoxyParams}{参数}
{\em $\ast$dat} & 读取数据的缓冲区 \\
\hline
{\em num} & 读取数量 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
无返回
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00075}{75}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{bsp__flash_8c_a734a679e19a8af2c7ddfa86f4310a13d_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{bsp__flash_8c_a45549058e1315d29263c0b26816bcffb}\label{bsp__flash_8c_a45549058e1315d29263c0b26816bcffb}}
\index{bsp\_flash.c@{bsp\_flash.c}!bsp\_ReadFlash\_Pack@{bsp\_ReadFlash\_Pack}}
\index{bsp\_ReadFlash\_Pack@{bsp\_ReadFlash\_Pack}!bsp\_flash.c@{bsp\_flash.c}}
\doxysubsubsection{\texorpdfstring{bsp\_ReadFlash\_Pack()}{bsp\_ReadFlash\_Pack()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Read\+Flash\+\_\+\+Pack (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
\+Flash读取一包数据
\begin{DoxyReturn}{返回}
无返回
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00091}{91}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{bsp__flash_8c_a45549058e1315d29263c0b26816bcffb_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{bsp__flash_8c_aa1a1ff74b284a19aa3872b6f3d6abd11}\label{bsp__flash_8c_aa1a1ff74b284a19aa3872b6f3d6abd11}}
\index{bsp\_flash.c@{bsp\_flash.c}!bsp\_WriteFlash\_Pack@{bsp\_WriteFlash\_Pack}}
\index{bsp\_WriteFlash\_Pack@{bsp\_WriteFlash\_Pack}!bsp\_flash.c@{bsp\_flash.c}}
\doxysubsubsection{\texorpdfstring{bsp\_WriteFlash\_Pack()}{bsp\_WriteFlash\_Pack()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Write\+Flash\+\_\+\+Pack (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
将一包数据存入\+Flash
\begin{DoxyReturn}{返回}
无返回
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00083}{83}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{bsp__flash_8c_aa1a1ff74b284a19aa3872b6f3d6abd11_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{bsp__flash_8c_af1304997d797af3400074bdb68e5de1c}\label{bsp__flash_8c_af1304997d797af3400074bdb68e5de1c}}
\index{bsp\_flash.c@{bsp\_flash.c}!bsp\_WriteFlashOnePage@{bsp\_WriteFlashOnePage}}
\index{bsp\_WriteFlashOnePage@{bsp\_WriteFlashOnePage}!bsp\_flash.c@{bsp\_flash.c}}
\doxysubsubsection{\texorpdfstring{bsp\_WriteFlashOnePage()}{bsp\_WriteFlashOnePage()}}
{\footnotesize\ttfamily uint32\+\_\+t bsp\+\_\+\+Write\+Flash\+One\+Page (\begin{DoxyParamCaption}\item[{uint32\+\_\+t $\ast$}]{dat, }\item[{uint32\+\_\+t}]{num }\end{DoxyParamCaption})}
写入一页\+Flash空间
\begin{DoxyParams}{参数}
{\em $\ast$dat} & 要写入的数据 \\
\hline
{\em num} & 要写入的数量 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回0则成功
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00056}{56}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{bsp__flash_8c_af1304997d797af3400074bdb68e5de1c_icgraph}
\end{center}
\end{figure}
\doxysubsection{变量说明}
\mbox{\Hypertarget{bsp__flash_8c_a2c0639c4d50bba3762a4295a56a06af8}\label{bsp__flash_8c_a2c0639c4d50bba3762a4295a56a06af8}}
\index{bsp\_flash.c@{bsp\_flash.c}!bsp\_Flash\_Pack@{bsp\_Flash\_Pack}}
\index{bsp\_Flash\_Pack@{bsp\_Flash\_Pack}!bsp\_flash.c@{bsp\_flash.c}}
\doxysubsubsection{\texorpdfstring{bsp\_Flash\_Pack}{bsp\_Flash\_Pack}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structstruct__bsp___flash___pack}{struct\+\_\+bsp\+\_\+\+Flash\+\_\+\+Pack}} bsp\+\_\+\+Flash\+\_\+\+Pack =\{0,0,0\}}
\mbox{\Hypertarget{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}\label{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}}
\index{bsp\_flash.c@{bsp\_flash.c}!FlashAddr@{FlashAddr}}
\index{FlashAddr@{FlashAddr}!bsp\_flash.c@{bsp\_flash.c}}
\doxysubsubsection{\texorpdfstring{FlashAddr}{FlashAddr}}
{\footnotesize\ttfamily uint32\+\_\+t Flash\+Addr = 0x08010000}
读写\+Flash起始地址,跳过程序部分
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00036}{36}} 行定义.

View File

@@ -0,0 +1 @@
fb2ed090a154415f6c01daed1e15d25d

Binary file not shown.

View File

@@ -0,0 +1 @@
ab5ff94308626c322cbbe1936391c29b

View File

@@ -0,0 +1 @@
b0ff8295d0b038b5ca8bf7e04a6b7c30

View File

@@ -0,0 +1 @@
0abb31e8446137b0899ce5b453a691cc

View File

@@ -0,0 +1 @@
54426b90b818acb7f5333a62b45c8205

View File

@@ -0,0 +1,64 @@
\hypertarget{bsp__flash_8c_source}{}\doxysection{bsp\+\_\+flash.\+c}
\label{bsp__flash_8c_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.c@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.c}}
\mbox{\hyperlink{bsp__flash_8c}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00035}00035 \textcolor{preprocessor}{\#include "{}main.h"{}}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00036}\mbox{\hyperlink{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}{00036}} uint32\_t \mbox{\hyperlink{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}{FlashAddr}} = 0x08010000; }
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00037}00037 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00038}00038 \textcolor{preprocessor}{\#pragma pack(4)}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00043}\mbox{\hyperlink{structstruct__bsp___flash___pack}{00043}} \textcolor{keyword}{struct }\mbox{\hyperlink{structstruct__bsp___flash___pack}{struct\_bsp\_Flash\_Pack}}\{}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00044}\mbox{\hyperlink{structstruct__bsp___flash___pack_aea6e531775263f158f23d2295f759dd7}{00044}} \textcolor{keywordtype}{char} \mbox{\hyperlink{structstruct__bsp___flash___pack_aea6e531775263f158f23d2295f759dd7}{Var0}};}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00045}\mbox{\hyperlink{structstruct__bsp___flash___pack_aff73ebf1f2eaf5930d7187aa5f502075}{00045}} \textcolor{keywordtype}{short} \mbox{\hyperlink{structstruct__bsp___flash___pack_aff73ebf1f2eaf5930d7187aa5f502075}{Var1}};}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00046}\mbox{\hyperlink{structstruct__bsp___flash___pack_adc2edcdadc2b2be3d18334cd196e049c}{00046}} \textcolor{keywordtype}{int} \mbox{\hyperlink{structstruct__bsp___flash___pack_adc2edcdadc2b2be3d18334cd196e049c}{Var2}};}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00047}\mbox{\hyperlink{bsp__flash_8c_a2c0639c4d50bba3762a4295a56a06af8}{00047}} \}\mbox{\hyperlink{bsp__flash_8c_a2c0639c4d50bba3762a4295a56a06af8}{bsp\_Flash\_Pack}}=\{0,0,0\};}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00048}00048 \textcolor{preprocessor}{\#pragma pack()}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00049}00049 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00056}\mbox{\hyperlink{bsp__flash_8c_af1304997d797af3400074bdb68e5de1c}{00056}} \textcolor{comment}{}uint32\_t \mbox{\hyperlink{bsp__flash_8c_af1304997d797af3400074bdb68e5de1c}{bsp\_WriteFlashOnePage}}(uint32\_t *dat,uint32\_t num)\{}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00057}00057 FLASH\_EraseInitTypeDef f;}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00058}00058 uint32\_t PageError = 0; \textcolor{comment}{//错误号7}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00059}00059 HAL\_FLASH\_Unlock(); \textcolor{comment}{//解锁FLASH}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00060}00060 f.TypeErase = FLASH\_TYPEERASE\_PAGES; \textcolor{comment}{//Flash擦除}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00061}00061 f.PageAddress = \mbox{\hyperlink{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}{FlashAddr}}; \textcolor{comment}{//擦除地址(起始页)}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00062}00062 f.NbPages = 1; \textcolor{comment}{//擦除1页}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00063}00063 HAL\_FLASHEx\_Erase(\&f,\&PageError); \textcolor{comment}{//调用擦除函数}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00064}00064 \textcolor{keywordflow}{for}(\textcolor{keywordtype}{int} i=0;i<num;i++)}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00065}00065 HAL\_FLASH\_Program(TYPEPROGRAM\_WORD,\mbox{\hyperlink{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}{FlashAddr}}+i*4,dat[i]); \textcolor{comment}{//对FLASH烧写}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00066}00066 HAL\_FLASH\_Lock(); \textcolor{comment}{//锁住FLASH}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00067}00067 \textcolor{keywordflow}{return} PageError;\}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00068}00068 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00075}\mbox{\hyperlink{bsp__flash_8c_a734a679e19a8af2c7ddfa86f4310a13d}{00075}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{bsp__flash_8c_a734a679e19a8af2c7ddfa86f4310a13d}{bsp\_ReadFlash}}(uint32\_t *dat,uint32\_t num)\{ \textcolor{comment}{//读入一串数据}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00076}00076 \textcolor{keywordflow}{for}(\textcolor{keywordtype}{int} i=0;i<num;i++)}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00077}00077 dat[i]=*(\_\_IO uint32\_t*)(\mbox{\hyperlink{bsp__flash_8c_a37cd1b57193a374f9a86b6cf1277cd0a}{FlashAddr}}+i*4);\}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00078}00078 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00083}\mbox{\hyperlink{bsp__flash_8c_aa1a1ff74b284a19aa3872b6f3d6abd11}{00083}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{bsp__flash_8c_aa1a1ff74b284a19aa3872b6f3d6abd11}{bsp\_WriteFlash\_Pack}}(\textcolor{keywordtype}{void})\{}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00084}00084 \mbox{\hyperlink{bsp__flash_8c_af1304997d797af3400074bdb68e5de1c}{bsp\_WriteFlashOnePage}}((uint32\_t*)(\&\mbox{\hyperlink{bsp__flash_8c_a2c0639c4d50bba3762a4295a56a06af8}{bsp\_Flash\_Pack}}),\textcolor{keyword}{sizeof}(\textcolor{keyword}{struct} \mbox{\hyperlink{structstruct__bsp___flash___pack}{struct\_bsp\_Flash\_Pack}}));}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00085}00085 \textcolor{keywordflow}{return};\}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00086}00086 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00091}\mbox{\hyperlink{bsp__flash_8c_a45549058e1315d29263c0b26816bcffb}{00091}} \textcolor{comment}{}\textcolor{keywordtype}{void} \mbox{\hyperlink{bsp__flash_8c_a45549058e1315d29263c0b26816bcffb}{bsp\_ReadFlash\_Pack}}(\textcolor{keywordtype}{void})\{}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00092}00092 \mbox{\hyperlink{bsp__flash_8c_a734a679e19a8af2c7ddfa86f4310a13d}{bsp\_ReadFlash}}((uint32\_t*)(\&\mbox{\hyperlink{bsp__flash_8c_a2c0639c4d50bba3762a4295a56a06af8}{bsp\_Flash\_Pack}}),\textcolor{keyword}{sizeof}(\textcolor{keyword}{struct} \mbox{\hyperlink{structstruct__bsp___flash___pack}{struct\_bsp\_Flash\_Pack}}));}
\DoxyCodeLine{\Hypertarget{bsp__flash_8c_source_l00093}00093 \textcolor{keywordflow}{return};\}}
\end{DoxyCode}

148
Doc/latex/bsp__flash_8h.tex Normal file
View File

@@ -0,0 +1,148 @@
\hypertarget{bsp__flash_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/bsp\+\_\+flash.h 文件参考}
\label{bsp__flash_8h}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.h}}
\+STM32的\+Flash库
{\ttfamily \#include \char`\"{}main.\+h\char`\"{}}\newline
bsp\+\_\+flash.\+h 的引用(Include)关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=202pt]{bsp__flash_8h__incl}
\end{center}
\end{figure}
\doxysubsection*{函数}
\begin{DoxyCompactItemize}
\item
uint32\+\_\+t \mbox{\hyperlink{bsp__flash_8h_af1304997d797af3400074bdb68e5de1c}{bsp\+\_\+\+Write\+Flash\+One\+Page}} (uint32\+\_\+t $\ast$dat, uint32\+\_\+t num)
\begin{DoxyCompactList}\small\item\em 写入一页\+Flash空间 \end{DoxyCompactList}\item
void \mbox{\hyperlink{bsp__flash_8h_a734a679e19a8af2c7ddfa86f4310a13d}{bsp\+\_\+\+Read\+Flash}} (uint32\+\_\+t $\ast$dat, uint32\+\_\+t num)
\begin{DoxyCompactList}\small\item\em 读取一页\+Flash空间 \end{DoxyCompactList}\item
void \mbox{\hyperlink{bsp__flash_8h_aa1a1ff74b284a19aa3872b6f3d6abd11}{bsp\+\_\+\+Write\+Flash\+\_\+\+Pack}} (void)
\begin{DoxyCompactList}\small\item\em 将一包数据存入\+Flash \end{DoxyCompactList}\item
void \mbox{\hyperlink{bsp__flash_8h_a45549058e1315d29263c0b26816bcffb}{bsp\+\_\+\+Read\+Flash\+\_\+\+Pack}} (void)
\begin{DoxyCompactList}\small\item\em\+Flash读取一包数据 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{详细描述}
\+STM32的\+Flash库
在文件 \mbox{\hyperlink{bsp__flash_8h_source}{bsp\+\_\+flash.\+h}} 中定义.
\doxysubsection{函数说明}
\mbox{\Hypertarget{bsp__flash_8h_a734a679e19a8af2c7ddfa86f4310a13d}\label{bsp__flash_8h_a734a679e19a8af2c7ddfa86f4310a13d}}
\index{bsp\_flash.h@{bsp\_flash.h}!bsp\_ReadFlash@{bsp\_ReadFlash}}
\index{bsp\_ReadFlash@{bsp\_ReadFlash}!bsp\_flash.h@{bsp\_flash.h}}
\doxysubsubsection{\texorpdfstring{bsp\_ReadFlash()}{bsp\_ReadFlash()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Read\+Flash (\begin{DoxyParamCaption}\item[{uint32\+\_\+t $\ast$}]{dat, }\item[{uint32\+\_\+t}]{num }\end{DoxyParamCaption})}
读取一页\+Flash空间
\begin{DoxyParams}{参数}
{\em $\ast$dat} & 读取数据的缓冲区 \\
\hline
{\em num} & 读取数量 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
无返回
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00075}{75}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{bsp__flash_8h_a734a679e19a8af2c7ddfa86f4310a13d_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{bsp__flash_8h_a45549058e1315d29263c0b26816bcffb}\label{bsp__flash_8h_a45549058e1315d29263c0b26816bcffb}}
\index{bsp\_flash.h@{bsp\_flash.h}!bsp\_ReadFlash\_Pack@{bsp\_ReadFlash\_Pack}}
\index{bsp\_ReadFlash\_Pack@{bsp\_ReadFlash\_Pack}!bsp\_flash.h@{bsp\_flash.h}}
\doxysubsubsection{\texorpdfstring{bsp\_ReadFlash\_Pack()}{bsp\_ReadFlash\_Pack()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Read\+Flash\+\_\+\+Pack (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
\+Flash读取一包数据
\begin{DoxyReturn}{返回}
无返回
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00091}{91}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{bsp__flash_8h_a45549058e1315d29263c0b26816bcffb_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{bsp__flash_8h_aa1a1ff74b284a19aa3872b6f3d6abd11}\label{bsp__flash_8h_aa1a1ff74b284a19aa3872b6f3d6abd11}}
\index{bsp\_flash.h@{bsp\_flash.h}!bsp\_WriteFlash\_Pack@{bsp\_WriteFlash\_Pack}}
\index{bsp\_WriteFlash\_Pack@{bsp\_WriteFlash\_Pack}!bsp\_flash.h@{bsp\_flash.h}}
\doxysubsubsection{\texorpdfstring{bsp\_WriteFlash\_Pack()}{bsp\_WriteFlash\_Pack()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Write\+Flash\+\_\+\+Pack (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
将一包数据存入\+Flash
\begin{DoxyReturn}{返回}
无返回
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00083}{83}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{bsp__flash_8h_aa1a1ff74b284a19aa3872b6f3d6abd11_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{bsp__flash_8h_af1304997d797af3400074bdb68e5de1c}\label{bsp__flash_8h_af1304997d797af3400074bdb68e5de1c}}
\index{bsp\_flash.h@{bsp\_flash.h}!bsp\_WriteFlashOnePage@{bsp\_WriteFlashOnePage}}
\index{bsp\_WriteFlashOnePage@{bsp\_WriteFlashOnePage}!bsp\_flash.h@{bsp\_flash.h}}
\doxysubsubsection{\texorpdfstring{bsp\_WriteFlashOnePage()}{bsp\_WriteFlashOnePage()}}
{\footnotesize\ttfamily uint32\+\_\+t bsp\+\_\+\+Write\+Flash\+One\+Page (\begin{DoxyParamCaption}\item[{uint32\+\_\+t $\ast$}]{dat, }\item[{uint32\+\_\+t}]{num }\end{DoxyParamCaption})}
写入一页\+Flash空间
\begin{DoxyParams}{参数}
{\em $\ast$dat} & 要写入的数据 \\
\hline
{\em num} & 要写入的数量 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回0则成功
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp__flash_8c_source}{bsp\+\_\+flash.\+c}}\mbox{\hyperlink{bsp__flash_8c_source_l00056}{56}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{bsp__flash_8h_af1304997d797af3400074bdb68e5de1c_icgraph}
\end{center}
\end{figure}

View File

@@ -0,0 +1 @@
f0a077ada558d3a1a1bb4c3258509cbb

Binary file not shown.

View File

@@ -0,0 +1 @@
ab5ff94308626c322cbbe1936391c29b

View File

@@ -0,0 +1 @@
b0ff8295d0b038b5ca8bf7e04a6b7c30

View File

@@ -0,0 +1 @@
0abb31e8446137b0899ce5b453a691cc

View File

@@ -0,0 +1 @@
54426b90b818acb7f5333a62b45c8205

View File

@@ -0,0 +1,40 @@
\hypertarget{bsp__flash_8h_source}{}\doxysection{bsp\+\_\+flash.\+h}
\label{bsp__flash_8h_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_flash.h}}
\mbox{\hyperlink{bsp__flash_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifndef \_XEROLYSKINNER\_BSP\_FLASH\_H}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00035}00035 \textcolor{preprocessor}{\#define \_XEROLYSKINNER\_BSP\_FLASH\_H}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00036}00036 \textcolor{preprocessor}{\#include "{}main.h"{}}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00038}00038 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00039}00039 \textcolor{comment}{// 程序}}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00040}00040 \textcolor{comment}{// }}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00041}00041 uint32\_t \mbox{\hyperlink{bsp__flash_8h_af1304997d797af3400074bdb68e5de1c}{bsp\_WriteFlashOnePage}}(uint32\_t *dat,uint32\_t num);}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00042}00042 \textcolor{keywordtype}{void} \mbox{\hyperlink{bsp__flash_8h_a734a679e19a8af2c7ddfa86f4310a13d}{bsp\_ReadFlash}}(uint32\_t *dat,uint32\_t num);}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00043}00043 \textcolor{keywordtype}{void} \mbox{\hyperlink{bsp__flash_8h_aa1a1ff74b284a19aa3872b6f3d6abd11}{bsp\_WriteFlash\_Pack}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00044}00044 \textcolor{keywordtype}{void} \mbox{\hyperlink{bsp__flash_8h_a45549058e1315d29263c0b26816bcffb}{bsp\_ReadFlash\_Pack}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp__flash_8h_source_l00046}00046 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}

View File

@@ -0,0 +1,239 @@
\hypertarget{classbsp___b_m_p}{}\doxysection{bsp\+\_\+\+BMP类 参考}
\label{classbsp___b_m_p}\index{bsp\_BMP@{bsp\_BMP}}
构建一个\+BMP类
{\ttfamily \#include $<$bsp\+\_\+\+BMP.\+h$>$}
bsp\+\_\+\+BMP 的协作图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classbsp___b_m_p__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{classbsp___b_m_p_a27d05488822dc9548e0783d46808a1db}{bsp\+\_\+\+BMP}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Width, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} Height)
\begin{DoxyCompactList}\small\item\em 构造\+BMP数据头 \end{DoxyCompactList}\item
\mbox{\hyperlink{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}{$\sim$bsp\+\_\+\+BMP}} (void)
\item
void \mbox{\hyperlink{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}{pels}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y)
\begin{DoxyCompactList}\small\item\em 设置像素 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}{give\+Data}} (void)
\begin{DoxyCompactList}\small\item\em 给予数据空间 \end{DoxyCompactList}\item
void \mbox{\hyperlink{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}{del\+Data}} (void)
\begin{DoxyCompactList}\small\item\em 释放数据空间 \end{DoxyCompactList}\item
void \mbox{\hyperlink{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}{Colors\+Set}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} R, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} G, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} B, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} i)
\begin{DoxyCompactList}\small\item\em 设置调色板 \end{DoxyCompactList}\item
void \mbox{\hyperlink{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}{size\+Set}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} x, \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} y)
\begin{DoxyCompactList}\small\item\em 设置图片大小 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public 属性}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\+\_\+\+BITMAPINFO}} \mbox{\hyperlink{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}{BITMAPINFO}}
\begin{DoxyCompactList}\small\item\em 文件头 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}{Size}}
\begin{DoxyCompactList}\small\item\em 文件大小 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} $\ast$ \mbox{\hyperlink{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}{dat}}
\begin{DoxyCompactList}\small\item\em 数据区 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{详细描述}
构建一个\+BMP类
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00097}{97}} 行定义.
\doxysubsection{构造及析构函数说明}
\mbox{\Hypertarget{classbsp___b_m_p_a27d05488822dc9548e0783d46808a1db}\label{classbsp___b_m_p_a27d05488822dc9548e0783d46808a1db}}
\index{bsp\_BMP@{bsp\_BMP}!bsp\_BMP@{bsp\_BMP}}
\index{bsp\_BMP@{bsp\_BMP}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{bsp\_BMP()}{bsp\_BMP()}}
{\footnotesize\ttfamily bsp\+\_\+\+BMP\+::bsp\+\_\+\+BMP (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{Width, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{Height }\end{DoxyParamCaption})}
构造\+BMP数据头
\begin{DoxyParams}{参数}
{\em Width} & 图片宽度 \\
\hline
{\em Height} & 图片高度 \\
\hline
\end{DoxyParams}
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}}\mbox{\hyperlink{bsp___b_m_p_8cpp_source_l00097}{97}} 行定义.
\mbox{\Hypertarget{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}\label{classbsp___b_m_p_a604d7e5683da37be890672aa690c2ff2}}
\index{bsp\_BMP@{bsp\_BMP}!````~bsp\_BMP@{$\sim$bsp\_BMP}}
\index{````~bsp\_BMP@{$\sim$bsp\_BMP}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{$\sim$bsp\_BMP()}{~bsp\_BMP()}}
{\footnotesize\ttfamily bsp\+\_\+\+BMP\+::$\sim$bsp\+\_\+\+BMP (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}}\mbox{\hyperlink{bsp___b_m_p_8cpp_source_l00121}{121}} 行定义.
\doxysubsection{成员函数说明}
\mbox{\Hypertarget{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}\label{classbsp___b_m_p_a17c0c014ef6ce7d09a5dd81c5d2c5d57}}
\index{bsp\_BMP@{bsp\_BMP}!ColorsSet@{ColorsSet}}
\index{ColorsSet@{ColorsSet}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{ColorsSet()}{ColorsSet()}}
{\footnotesize\ttfamily void bsp\+\_\+\+BMP\+::\+Colors\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{R, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{G, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{B, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{i }\end{DoxyParamCaption})}
设置调色板
\begin{DoxyParams}{参数}
{\em R} & 红色 \\
\hline
{\em G} & 绿色 \\
\hline
{\em B} & 蓝色 \\
\hline
{\em i} & 索引号 \\
\hline
\end{DoxyParams}
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}}\mbox{\hyperlink{bsp___b_m_p_8cpp_source_l00068}{68}} 行定义.
\mbox{\Hypertarget{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}\label{classbsp___b_m_p_abe5d545dea1090a228843f140650f573}}
\index{bsp\_BMP@{bsp\_BMP}!delData@{delData}}
\index{delData@{delData}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{delData()}{delData()}}
{\footnotesize\ttfamily void bsp\+\_\+\+BMP\+::del\+Data (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
释放数据空间
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}}\mbox{\hyperlink{bsp___b_m_p_8cpp_source_l00059}{59}} 行定义.
\mbox{\Hypertarget{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}\label{classbsp___b_m_p_ae0e2551a06b8ad966a86b2c8324da25c}}
\index{bsp\_BMP@{bsp\_BMP}!giveData@{giveData}}
\index{giveData@{giveData}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{giveData()}{giveData()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} bsp\+\_\+\+BMP\+::give\+Data (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
给予数据空间
\begin{DoxyReturn}{返回}
返回给与的数据头
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}}\mbox{\hyperlink{bsp___b_m_p_8cpp_source_l00052}{52}} 行定义.
\mbox{\Hypertarget{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}\label{classbsp___b_m_p_a4aaa5a2ea2f5b3c07c8e16009984766e}}
\index{bsp\_BMP@{bsp\_BMP}!pels@{pels}}
\index{pels@{pels}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{pels()}{pels()}}
{\footnotesize\ttfamily void bsp\+\_\+\+BMP\+::pels (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{x, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{y }\end{DoxyParamCaption})}
设置像素
\begin{DoxyParams}{参数}
{\em x} & x像素 \\
\hline
{\em y} & y像素 \\
\hline
\end{DoxyParams}
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}}\mbox{\hyperlink{bsp___b_m_p_8cpp_source_l00045}{45}} 行定义.
\mbox{\Hypertarget{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}\label{classbsp___b_m_p_a535cd9bfe5e49ba97ff9c4a1dd8ebb51}}
\index{bsp\_BMP@{bsp\_BMP}!sizeSet@{sizeSet}}
\index{sizeSet@{sizeSet}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{sizeSet()}{sizeSet()}}
{\footnotesize\ttfamily void bsp\+\_\+\+BMP\+::size\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{x, }\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{y }\end{DoxyParamCaption})}
设置图片大小
\begin{DoxyParams}{参数}
{\em Width} & 图片宽度 \\
\hline
{\em Height} & 图片高度 \\
\hline
\end{DoxyParams}
在文件 \mbox{\hyperlink{bsp___b_m_p_8cpp_source}{bsp\+\_\+\+BMP.\+cpp}}\mbox{\hyperlink{bsp___b_m_p_8cpp_source_l00078}{78}} 行定义.
\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}\label{classbsp___b_m_p_a64dcf31f5722327336d87794b873a335}}
\index{bsp\_BMP@{bsp\_BMP}!BITMAPINFO@{BITMAPINFO}}
\index{BITMAPINFO@{BITMAPINFO}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{BITMAPINFO}{BITMAPINFO}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o}{\+\_\+\+BITMAPINFO}} bsp\+\_\+\+BMP\+::\+BITMAPINFO}
文件头
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00108}{108}} 行定义.
\mbox{\Hypertarget{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}\label{classbsp___b_m_p_a2023aceaef140268a12bc61b81d410ca}}
\index{bsp\_BMP@{bsp\_BMP}!dat@{dat}}
\index{dat@{dat}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{dat}{dat}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}$\ast$ bsp\+\_\+\+BMP\+::dat}
数据区
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00110}{110}} 行定义.
\mbox{\Hypertarget{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}\label{classbsp___b_m_p_a8a1c31ee70ed4061ad8bea4254959b83}}
\index{bsp\_BMP@{bsp\_BMP}!Size@{Size}}
\index{Size@{Size}!bsp\_BMP@{bsp\_BMP}}
\doxysubsubsection{\texorpdfstring{Size}{Size}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} bsp\+\_\+\+BMP\+::\+Size}
文件大小
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00109}{109}} 行定义.
该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___b_m_p_8h}{bsp\+\_\+\+BMP.\+h}}\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___b_m_p_8cpp}{bsp\+\_\+\+BMP.\+cpp}}\end{DoxyCompactItemize}

View File

@@ -0,0 +1 @@
803dda831830d00e8c7fcd4d37f8b7f3

Binary file not shown.

View File

@@ -0,0 +1,91 @@
\hypertarget{classbsp___differential}{}\doxysection{bsp\+\_\+\+Differential类 参考}
\label{classbsp___differential}\index{bsp\_Differential@{bsp\_Differential}}
一个微分对象
{\ttfamily \#include $<$bsp\+\_\+\+Calculus.\+h$>$}
\doxysubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{classbsp___differential_a16a19c803e2f1a3bbba98a2ef529206b}{bsp\+\_\+\+Differential}} (float \mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{dt}})
\item
float \mbox{\hyperlink{classbsp___differential_a46536b15be29d856b09dd7d261a12ab1}{Differential}} (float var)
\begin{DoxyCompactList}\small\item\em 对数据微分 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public 属性}
\begin{DoxyCompactItemize}
\item
float \mbox{\hyperlink{classbsp___differential_ab25588868059974b8356e975c6e96992}{dt}}
\begin{DoxyCompactList}\small\item\em 时间参数 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{详细描述}
一个微分对象
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00043}{43}} 行定义.
\doxysubsection{构造及析构函数说明}
\mbox{\Hypertarget{classbsp___differential_a16a19c803e2f1a3bbba98a2ef529206b}\label{classbsp___differential_a16a19c803e2f1a3bbba98a2ef529206b}}
\index{bsp\_Differential@{bsp\_Differential}!bsp\_Differential@{bsp\_Differential}}
\index{bsp\_Differential@{bsp\_Differential}!bsp\_Differential@{bsp\_Differential}}
\doxysubsubsection{\texorpdfstring{bsp\_Differential()}{bsp\_Differential()}}
{\footnotesize\ttfamily bsp\+\_\+\+Differential\+::bsp\+\_\+\+Differential (\begin{DoxyParamCaption}\item[{float}]{dt }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00045}{45}} 行定义.
\doxysubsection{成员函数说明}
\mbox{\Hypertarget{classbsp___differential_a46536b15be29d856b09dd7d261a12ab1}\label{classbsp___differential_a46536b15be29d856b09dd7d261a12ab1}}
\index{bsp\_Differential@{bsp\_Differential}!Differential@{Differential}}
\index{Differential@{Differential}!bsp\_Differential@{bsp\_Differential}}
\doxysubsubsection{\texorpdfstring{Differential()}{Differential()}}
{\footnotesize\ttfamily float bsp\+\_\+\+Differential\+::\+Differential (\begin{DoxyParamCaption}\item[{float}]{var }\end{DoxyParamCaption})}
对数据微分
\begin{DoxyParams}{参数}
{\em var} & 此处填入浮点数据 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
此时的微分值
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}}\mbox{\hyperlink{bsp___calculus_8cpp_source_l00046}{46}} 行定义.
\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{classbsp___differential_ab25588868059974b8356e975c6e96992}\label{classbsp___differential_ab25588868059974b8356e975c6e96992}}
\index{bsp\_Differential@{bsp\_Differential}!dt@{dt}}
\index{dt@{dt}!bsp\_Differential@{bsp\_Differential}}
\doxysubsubsection{\texorpdfstring{dt}{dt}}
{\footnotesize\ttfamily float bsp\+\_\+\+Differential\+::dt}
时间参数
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00050}{50}} 行定义.
该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___calculus_8h}{bsp\+\_\+\+Calculus.\+h}}\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___calculus_8cpp}{bsp\+\_\+\+Calculus.\+cpp}}\end{DoxyCompactItemize}

View File

@@ -71,7 +71,7 @@ IIC的基础实现方法 留下三个保护性接口需要实现,分别是控制
时序中的延时 在此处短暂延时
\begin{DoxyRefDesc}{待办事项}
\item[\mbox{\hyperlink{todo__todo000003}{待办事项}}]需要为其实现才可使用软件\+IIC \end{DoxyRefDesc}
\item[\mbox{\hyperlink{todo__todo000004}{待办事项}}]需要为其实现才可使用软件\+IIC \end{DoxyRefDesc}
\mbox{\hyperlink{classbsp___s_t_m32___a_t24_c00_a7ba3cbef5e2eea37f514948f12f2119d}{bsp\+\_\+\+STM32\+\_\+\+AT24\+C00}} , 以及 \mbox{\hyperlink{classbsp___i_i_c___s_t_m32_ab76c882803b30793f39b8a3fe4fdef2c}{bsp\+\_\+\+IIC\+\_\+\+STM32}} 内被实现.
@@ -213,7 +213,7 @@ IIC的基础实现方法 留下三个保护性接口需要实现,分别是控制
当var为\+IIC\+\_\+\+READ时返回管脚状态
\end{DoxyReturn}
\begin{DoxyRefDesc}{待办事项}
\item[\mbox{\hyperlink{todo__todo000001}{待办事项}}]需要为其实现才可使用软件\+IIC \end{DoxyRefDesc}
\item[\mbox{\hyperlink{todo__todo000002}{待办事项}}]需要为其实现才可使用软件\+IIC \end{DoxyRefDesc}
\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a14ca3a4cbeb0122d88391d9f37e1fe27}{bsp\+\_\+\+IIC\+\_\+\+STM32}} 内被实现.
@@ -244,7 +244,7 @@ IIC的基础实现方法 留下三个保护性接口需要实现,分别是控制
当var为\+IIC\+\_\+\+READ时返回管脚状态
\end{DoxyReturn}
\begin{DoxyRefDesc}{待办事项}
\item[\mbox{\hyperlink{todo__todo000002}{待办事项}}]需要为其实现才可使用软件\+IIC \end{DoxyRefDesc}
\item[\mbox{\hyperlink{todo__todo000003}{待办事项}}]需要为其实现才可使用软件\+IIC \end{DoxyRefDesc}
\mbox{\hyperlink{classbsp___i_i_c___s_t_m32_a8e703fab0f20578492ff23cb185b1a8d}{bsp\+\_\+\+IIC\+\_\+\+STM32}} 内被实现.

View File

@@ -162,7 +162,7 @@ STM32版本的软件\+IIC 需要使用构造函数初始化
在文件 \mbox{\hyperlink{bsp___i_i_c___s_t_m32_8cpp_source}{bsp\+\_\+\+IIC\+\_\+\+STM32.\+cpp}}\mbox{\hyperlink{bsp___i_i_c___s_t_m32_8cpp_source_l00089}{89}} 行定义.
在文件 \mbox{\hyperlink{bsp___i_i_c___s_t_m32_8cpp_source}{bsp\+\_\+\+IIC\+\_\+\+STM32.\+cpp}}\mbox{\hyperlink{bsp___i_i_c___s_t_m32_8cpp_source_l00088}{88}} 行定义.

View File

@@ -0,0 +1,275 @@
\hypertarget{classbsp___integral}{}\doxysection{bsp\+\_\+\+Integral类 参考}
\label{classbsp___integral}\index{bsp\_Integral@{bsp\_Integral}}
一个积分对象
{\ttfamily \#include $<$bsp\+\_\+\+Calculus.\+h$>$}
\doxysubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{classbsp___integral_af274273b399f4da855646921f3ae31ba}{bsp\+\_\+\+Integral}} (float \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}})
\item
\mbox{\hyperlink{classbsp___integral_a3f190eb273b4d6492fb39e2573ec37a1}{$\sim$bsp\+\_\+\+Integral}} (void)
\item
float \mbox{\hyperlink{classbsp___integral_ade46f89bfdc6dd778c045a51c76c1839}{Integral}} (float var)
\begin{DoxyCompactList}\small\item\em 对数据积分 \end{DoxyCompactList}\item
void \mbox{\hyperlink{classbsp___integral_aaf7474301ed76ca9ce2b1884ae870019}{Integral\+\_\+set}} (float \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}})
\begin{DoxyCompactList}\small\item\em 重设当前积分值 \end{DoxyCompactList}\item
float \mbox{\hyperlink{classbsp___integral_a80693e18b9b9509bdec0ebfd72f84072}{Integral\+\_\+list}} (float var)
\begin{DoxyCompactList}\small\item\em 进行带有缓冲区的积分 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___integral_a86d9e02d1146744fe80ebab69070abb4}{Integral\+\_\+makelist}} (\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} len)
\begin{DoxyCompactList}\small\item\em 赋予历史缓存长度 \end{DoxyCompactList}\item
void \mbox{\hyperlink{classbsp___integral_a47307ddf418d2686245b118dcf61a199}{Integral\+\_\+dellist}} (void)
\begin{DoxyCompactList}\small\item\em 删除并释放历史缓冲区 \end{DoxyCompactList}\item
void \mbox{\hyperlink{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e}{Integral\+\_\+clslist}} (void)
\begin{DoxyCompactList}\small\item\em 清空历史缓存区 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public 属性}
\begin{DoxyCompactItemize}
\item
float $\ast$ \mbox{\hyperlink{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}{result\+\_\+list}}
\begin{DoxyCompactList}\small\item\em 数据历史 \end{DoxyCompactList}\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}{result\+\_\+len}}
\begin{DoxyCompactList}\small\item\em 历史缓冲区长度 \end{DoxyCompactList}\item
float \mbox{\hyperlink{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}{results}}
\begin{DoxyCompactList}\small\item\em 积分缓存 \end{DoxyCompactList}\item
float \mbox{\hyperlink{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}{dt}}
\begin{DoxyCompactList}\small\item\em 时间参数 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{详细描述}
一个积分对象
\begin{DoxyNote}{注解}
不应当混用\+Integral和\+Integral\+\_\+list
选定一种方式(带缓冲区或者不带)后,就不应该更改使用方式
虽然带缓冲区方式对算法时间影响不大,但是为了避免浪费空间,不建议使用过大的缓冲区
\end{DoxyNote}
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00059}{59}} 行定义.
\doxysubsection{构造及析构函数说明}
\mbox{\Hypertarget{classbsp___integral_af274273b399f4da855646921f3ae31ba}\label{classbsp___integral_af274273b399f4da855646921f3ae31ba}}
\index{bsp\_Integral@{bsp\_Integral}!bsp\_Integral@{bsp\_Integral}}
\index{bsp\_Integral@{bsp\_Integral}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{bsp\_Integral()}{bsp\_Integral()}}
{\footnotesize\ttfamily bsp\+\_\+\+Integral\+::bsp\+\_\+\+Integral (\begin{DoxyParamCaption}\item[{float}]{dt }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00061}{61}} 行定义.
\mbox{\Hypertarget{classbsp___integral_a3f190eb273b4d6492fb39e2573ec37a1}\label{classbsp___integral_a3f190eb273b4d6492fb39e2573ec37a1}}
\index{bsp\_Integral@{bsp\_Integral}!````~bsp\_Integral@{$\sim$bsp\_Integral}}
\index{````~bsp\_Integral@{$\sim$bsp\_Integral}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{$\sim$bsp\_Integral()}{~bsp\_Integral()}}
{\footnotesize\ttfamily bsp\+\_\+\+Integral\+::$\sim$bsp\+\_\+\+Integral (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00065}{65}} 行定义.
\doxysubsection{成员函数说明}
\mbox{\Hypertarget{classbsp___integral_ade46f89bfdc6dd778c045a51c76c1839}\label{classbsp___integral_ade46f89bfdc6dd778c045a51c76c1839}}
\index{bsp\_Integral@{bsp\_Integral}!Integral@{Integral}}
\index{Integral@{Integral}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{Integral()}{Integral()}}
{\footnotesize\ttfamily float bsp\+\_\+\+Integral\+::\+Integral (\begin{DoxyParamCaption}\item[{float}]{var }\end{DoxyParamCaption})}
对数据积分
\begin{DoxyParams}{参数}
{\em var} & 此处填入浮点数据 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
从开始到现在的总积分值
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}}\mbox{\hyperlink{bsp___calculus_8cpp_source_l00059}{59}} 行定义.
\mbox{\Hypertarget{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e}\label{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e}}
\index{bsp\_Integral@{bsp\_Integral}!Integral\_clslist@{Integral\_clslist}}
\index{Integral\_clslist@{Integral\_clslist}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{Integral\_clslist()}{Integral\_clslist()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Integral\+::\+Integral\+\_\+clslist (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
清空历史缓存区
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}}\mbox{\hyperlink{bsp___calculus_8cpp_source_l00113}{113}} 行定义.
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=330pt]{classbsp___integral_aae2b6143ca39861a83b77befc131bf5e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{classbsp___integral_a47307ddf418d2686245b118dcf61a199}\label{classbsp___integral_a47307ddf418d2686245b118dcf61a199}}
\index{bsp\_Integral@{bsp\_Integral}!Integral\_dellist@{Integral\_dellist}}
\index{Integral\_dellist@{Integral\_dellist}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{Integral\_dellist()}{Integral\_dellist()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Integral\+::\+Integral\+\_\+dellist (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
删除并释放历史缓冲区
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}}\mbox{\hyperlink{bsp___calculus_8cpp_source_l00105}{105}} 行定义.
\mbox{\Hypertarget{classbsp___integral_a80693e18b9b9509bdec0ebfd72f84072}\label{classbsp___integral_a80693e18b9b9509bdec0ebfd72f84072}}
\index{bsp\_Integral@{bsp\_Integral}!Integral\_list@{Integral\_list}}
\index{Integral\_list@{Integral\_list}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{Integral\_list()}{Integral\_list()}}
{\footnotesize\ttfamily float bsp\+\_\+\+Integral\+::\+Integral\+\_\+list (\begin{DoxyParamCaption}\item[{float}]{var }\end{DoxyParamCaption})}
进行带有缓冲区的积分
\begin{DoxyParams}{参数}
{\em var} & 需要积分的数值 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回积分值
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}}\mbox{\hyperlink{bsp___calculus_8cpp_source_l00086}{86}} 行定义.
\mbox{\Hypertarget{classbsp___integral_a86d9e02d1146744fe80ebab69070abb4}\label{classbsp___integral_a86d9e02d1146744fe80ebab69070abb4}}
\index{bsp\_Integral@{bsp\_Integral}!Integral\_makelist@{Integral\_makelist}}
\index{Integral\_makelist@{Integral\_makelist}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{Integral\_makelist()}{Integral\_makelist()}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} bsp\+\_\+\+Integral\+::\+Integral\+\_\+makelist (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}}]{len }\end{DoxyParamCaption})}
赋予历史缓存长度
\begin{DoxyParams}{参数}
{\em var} & 分配的缓存长度 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回分配的内存位置,0为分配失败
\end{DoxyReturn}
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}}\mbox{\hyperlink{bsp___calculus_8cpp_source_l00075}{75}} 行定义.
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=330pt]{classbsp___integral_a86d9e02d1146744fe80ebab69070abb4_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{classbsp___integral_aaf7474301ed76ca9ce2b1884ae870019}\label{classbsp___integral_aaf7474301ed76ca9ce2b1884ae870019}}
\index{bsp\_Integral@{bsp\_Integral}!Integral\_set@{Integral\_set}}
\index{Integral\_set@{Integral\_set}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{Integral\_set()}{Integral\_set()}}
{\footnotesize\ttfamily void bsp\+\_\+\+Integral\+::\+Integral\+\_\+set (\begin{DoxyParamCaption}\item[{float}]{results }\end{DoxyParamCaption})}
重设当前积分值
\begin{DoxyParams}{参数}
{\em var} & 要设置的积分值 \\
\hline
\end{DoxyParams}
在文件 \mbox{\hyperlink{bsp___calculus_8cpp_source}{bsp\+\_\+\+Calculus.\+cpp}}\mbox{\hyperlink{bsp___calculus_8cpp_source_l00067}{67}} 行定义.
\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}\label{classbsp___integral_a4494cf9fc2873d457ed3bf8618b68045}}
\index{bsp\_Integral@{bsp\_Integral}!dt@{dt}}
\index{dt@{dt}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{dt}{dt}}
{\footnotesize\ttfamily float bsp\+\_\+\+Integral\+::dt}
时间参数
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00080}{80}} 行定义.
\mbox{\Hypertarget{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}\label{classbsp___integral_a662c735b9432a46e48a642ebb9c0e8fa}}
\index{bsp\_Integral@{bsp\_Integral}!result\_len@{result\_len}}
\index{result\_len@{result\_len}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{result\_len}{result\_len}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} bsp\+\_\+\+Integral\+::result\+\_\+len}
历史缓冲区长度
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00078}{78}} 行定义.
\mbox{\Hypertarget{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}\label{classbsp___integral_a656d90c5a713abf0665f1dcbf1a5101a}}
\index{bsp\_Integral@{bsp\_Integral}!result\_list@{result\_list}}
\index{result\_list@{result\_list}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{result\_list}{result\_list}}
{\footnotesize\ttfamily float$\ast$ bsp\+\_\+\+Integral\+::result\+\_\+list}
数据历史
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00077}{77}} 行定义.
\mbox{\Hypertarget{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}\label{classbsp___integral_a910f1f3faa2b4963e00718472b8389bc}}
\index{bsp\_Integral@{bsp\_Integral}!results@{results}}
\index{results@{results}!bsp\_Integral@{bsp\_Integral}}
\doxysubsubsection{\texorpdfstring{results}{results}}
{\footnotesize\ttfamily float bsp\+\_\+\+Integral\+::results}
积分缓存
在文件 \mbox{\hyperlink{bsp___calculus_8h_source}{bsp\+\_\+\+Calculus.\+h}}\mbox{\hyperlink{bsp___calculus_8h_source_l00079}{79}} 行定义.
该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___calculus_8h}{bsp\+\_\+\+Calculus.\+h}}\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___calculus_8cpp}{bsp\+\_\+\+Calculus.\+cpp}}\end{DoxyCompactItemize}

View File

@@ -0,0 +1 @@
bc431be81fe6f6dcd10d023829c673df

View File

@@ -0,0 +1 @@
4227ded100621b26c18e1d1b0df5d390

View File

@@ -11,8 +11,7 @@
bsp\+\_\+\+SD 的协作图\+:
\nopagebreak
bsp\+\_\+\+SD 的协作图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -105,8 +104,7 @@ uint16\+\_\+t \mbox{\hyperlink{classbsp___s_d_a4525b5c0f62e39af1c9adb9a9c22239f}
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00207}{207}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -139,8 +137,7 @@ uint16\+\_\+t \mbox{\hyperlink{classbsp___s_d_a4525b5c0f62e39af1c9adb9a9c22239f}
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00423}{423}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -173,8 +170,7 @@ uint16\+\_\+t \mbox{\hyperlink{classbsp___s_d_a4525b5c0f62e39af1c9adb9a9c22239f}
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00393}{393}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -198,8 +194,7 @@ uint16\+\_\+t \mbox{\hyperlink{classbsp___s_d_a4525b5c0f62e39af1c9adb9a9c22239f}
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00043}{43}} 行定义.
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -223,8 +218,7 @@ CID信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00164}{164}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -248,16 +242,14 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00176}{176}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classbsp___s_d_ad0426f6a4b550e60a926c95724d81665_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -281,8 +273,7 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00188}{188}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -306,8 +297,7 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00074}{74}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -340,16 +330,14 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00356}{356}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classbsp___s_d_a96f32b50ec777acc0dd819150cd28937_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -380,16 +368,14 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00127}{127}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classbsp___s_d_a242ec4ccd88203b6691cf4ae1e77fdfe_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -420,16 +406,14 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00147}{147}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classbsp___s_d_a2df843979bb4c764422a37b255c184ea_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -464,16 +448,14 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00053}{53}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=346pt]{classbsp___s_d_ab799d7d8ebaf4c304bf62722ba10ba37_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -506,16 +488,14 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00329}{329}} 行定义.
函数调用图\+:
\nopagebreak
函数调用图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classbsp___s_d_af203b65e00206d38ef14640f7b7242b6_cgraph}
\end{center}
\end{figure}
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -532,8 +512,7 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00373}{373}} 行定义.
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -562,8 +541,7 @@ CSD信息
在文件 \mbox{\hyperlink{bsp___s_d_8cpp_source}{bsp\+\_\+\+SD.\+cpp}}\mbox{\hyperlink{bsp___s_d_8cpp_source_l00383}{383}} 行定义.
这是这个函数的调用关系图\+:
\nopagebreak
这是这个函数的调用关系图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode

View File

@@ -7,6 +7,14 @@
\begin{DoxyCompactList}\small\item\em 本类实现\+AT24\+C00的通讯 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___a_t24_c00_8h}{bsp\+\_\+\+AT24\+C00.\+h}}
\begin{DoxyCompactList}\small\item\em 本类实现\+AT24\+C00的通讯 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___b_m_p_8cpp}{bsp\+\_\+\+BMP.\+cpp}}
\begin{DoxyCompactList}\small\item\em 用来构造\+BMP图片 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___b_m_p_8h}{bsp\+\_\+\+BMP.\+h}}
\begin{DoxyCompactList}\small\item\em 用来构造\+BMP图片 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___calculus_8cpp}{bsp\+\_\+\+Calculus.\+cpp}}
\begin{DoxyCompactList}\small\item\em 离散微积分 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___calculus_8h}{bsp\+\_\+\+Calculus.\+h}}
\begin{DoxyCompactList}\small\item\em 离散微积分 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___c_r_c_8cpp}{bsp\+\_\+\+CRC.\+cpp}}
\begin{DoxyCompactList}\small\item\em CRC16校验 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___c_r_c_8h}{bsp\+\_\+\+CRC.\+h}}
@@ -15,6 +23,10 @@
\begin{DoxyCompactList}\small\item\em 数码管显示类 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___digit_8h}{bsp\+\_\+\+Digit.\+h}}
\begin{DoxyCompactList}\small\item\em 数码管显示类 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp__flash_8c}{bsp\+\_\+flash.\+c}}
\begin{DoxyCompactList}\small\item\em\+STM32的\+Flash库 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp__flash_8h}{bsp\+\_\+flash.\+h}}
\begin{DoxyCompactList}\small\item\em\+STM32的\+Flash库 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___i_i_c_8cpp}{bsp\+\_\+\+IIC.\+cpp}}
\begin{DoxyCompactList}\small\item\em 本类实现软件\+IIC功能 依此类派生出其他软件\+IIC功能 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___i_i_c_8h}{bsp\+\_\+\+IIC.\+h}}
@@ -46,6 +58,6 @@
文件 \mbox{\hyperlink{bsp___s_d_8cpp}{bsp\+\_\+\+SD.\+cpp}}
\begin{DoxyCompactList}\small\item\em 操作\+SD卡的库 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{bsp___s_d_8h}{bsp\+\_\+\+SD.\+h}}
\item
\begin{DoxyCompactList}\small\item\em 操作\+SD卡的库 \end{DoxyCompactList}\item
文件 \mbox{\hyperlink{varint_8h}{varint.\+h}}
\end{DoxyCompactItemize}
\begin{DoxyCompactList}\small\item\em 全局共用的标准类型表 \end{DoxyCompactList}\end{DoxyCompactItemize}

View File

@@ -2,10 +2,16 @@
这里列出了所有文件,并附带简要说明\+:\begin{DoxyCompactList}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___a_t24_c00_8cpp}{bsp\+\_\+\+AT24\+C00.\+cpp}} \\*本类实现\+AT24\+C00的通讯 }{\pageref{bsp___a_t24_c00_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___a_t24_c00_8h}{bsp\+\_\+\+AT24\+C00.\+h}} \\*本类实现\+AT24\+C00的通讯 }{\pageref{bsp___a_t24_c00_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___b_m_p_8cpp}{bsp\+\_\+\+BMP.\+cpp}} \\*用来构造\+BMP图片 }{\pageref{bsp___b_m_p_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___b_m_p_8h}{bsp\+\_\+\+BMP.\+h}} \\*用来构造\+BMP图片 }{\pageref{bsp___b_m_p_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___calculus_8cpp}{bsp\+\_\+\+Calculus.\+cpp}} \\*离散微积分 }{\pageref{bsp___calculus_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___calculus_8h}{bsp\+\_\+\+Calculus.\+h}} \\*离散微积分 }{\pageref{bsp___calculus_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___c_r_c_8cpp}{bsp\+\_\+\+CRC.\+cpp}} \\*CRC16校验 }{\pageref{bsp___c_r_c_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___c_r_c_8h}{bsp\+\_\+\+CRC.\+h}} \\*CRC16校验 }{\pageref{bsp___c_r_c_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___digit_8cpp}{bsp\+\_\+\+Digit.\+cpp}} \\*数码管显示类 }{\pageref{bsp___digit_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___digit_8h}{bsp\+\_\+\+Digit.\+h}} \\*数码管显示类 }{\pageref{bsp___digit_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp__flash_8c}{bsp\+\_\+flash.\+c}} \\*\+STM32的\+Flash库 }{\pageref{bsp__flash_8c}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp__flash_8h}{bsp\+\_\+flash.\+h}} \\*\+STM32的\+Flash库 }{\pageref{bsp__flash_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___i_i_c_8cpp}{bsp\+\_\+\+IIC.\+cpp}} \\*本类实现软件\+IIC功能 依此类派生出其他软件\+IIC功能 }{\pageref{bsp___i_i_c_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___i_i_c_8h}{bsp\+\_\+\+IIC.\+h}} \\*本类实现软件\+IIC功能 依此类派生出其他软件\+IIC功能 }{\pageref{bsp___i_i_c_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___i_i_c___s_t_m32_8cpp}{bsp\+\_\+\+IIC\+\_\+\+STM32.\+cpp}} \\*实现针对\+STM32的软件\+IIC类 }{\pageref{bsp___i_i_c___s_t_m32_8cpp}}{}
@@ -21,8 +27,8 @@
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___p_i_d_8cpp}{bsp\+\_\+\+PID.\+cpp}} \\*实现了\+PID算法 }{\pageref{bsp___p_i_d_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___p_i_d_8h}{bsp\+\_\+\+PID.\+h}} \\*实现了\+PID算法 }{\pageref{bsp___p_i_d_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___s_d_8cpp}{bsp\+\_\+\+SD.\+cpp}} \\*操作\+SD卡的库 }{\pageref{bsp___s_d_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___s_d_8h}{bsp\+\_\+\+SD.\+h}} }{\pageref{bsp___s_d_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{varint_8h}{varint.\+h}} }{\pageref{varint_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___s_d_8h}{bsp\+\_\+\+SD.\+h}} \\*操作\+SD卡的库 }{\pageref{bsp___s_d_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{varint_8h}{varint.\+h}} \\*全局共用的标准类型表 }{\pageref{varint_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+MPU6050/\mbox{\hyperlink{mpu6050_8cpp}{mpu6050.\+cpp}} }{\pageref{mpu6050_8cpp}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+MPU6050/\mbox{\hyperlink{mpu6050_8h}{mpu6050.\+h}} }{\pageref{mpu6050_8h}}{}
\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+System/\mbox{\hyperlink{_callback_8cpp}{Callback.\+cpp}} \\*全局中断在此实现 }{\pageref{_callback_8cpp}}{}

View File

@@ -1,7 +1,13 @@
\doxysection{类继承关系}
此继承关系列表按字典顺序粗略的排序\+: \begin{DoxyCompactList}
\item \contentsline{section}{\+\_\+\+BITMAPFILEHEADER}{\pageref{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}}{}
\item \contentsline{section}{\+\_\+\+BITMAPINFO}{\pageref{struct___b_i_t_m_a_p_i_n_f_o}}{}
\item \contentsline{section}{\+\_\+\+BITMAPINFOHEADER}{\pageref{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}}{}
\item \contentsline{section}{\+\_\+l\+Queue}{\pageref{struct__l_queue}}{}
\item \contentsline{section}{\+\_\+l\+Stack}{\pageref{struct__l_stack}}{}
\item \contentsline{section}{\+\_\+\+RGBQUAD}{\pageref{struct___r_g_b_q_u_a_d}}{}
\item \contentsline{section}{bsp\+\_\+\+BMP}{\pageref{classbsp___b_m_p}}{}
\item \contentsline{section}{bsp\+\_\+\+Differential}{\pageref{classbsp___differential}}{}
\item \contentsline{section}{bsp\+\_\+\+Digit}{\pageref{classbsp___digit}}{}
\item \contentsline{section}{bsp\+\_\+\+IIC}{\pageref{classbsp___i_i_c}}{}
\begin{DoxyCompactList}
@@ -12,6 +18,7 @@
\end{DoxyCompactList}
\end{DoxyCompactList}
\item \contentsline{section}{bsp\+\_\+\+Increment\+\_\+\+PID}{\pageref{classbsp___increment___p_i_d}}{}
\item \contentsline{section}{bsp\+\_\+\+Integral}{\pageref{classbsp___integral}}{}
\item \contentsline{section}{bsp\+\_\+\+MAX6675}{\pageref{classbsp___m_a_x6675}}{}
\item \contentsline{section}{bsp\+\_\+\+Mod\+Bus\+\_\+\+Rx}{\pageref{classbsp___mod_bus___rx}}{}
\item \contentsline{section}{bsp\+\_\+\+Mod\+Bus\+\_\+\+Tx}{\pageref{classbsp___mod_bus___tx}}{}
@@ -27,4 +34,5 @@
\item \contentsline{section}{STL\+\_\+l\+Stack}{\pageref{class_s_t_l__l_stack}}{}
\item \contentsline{section}{STL\+\_\+r\+Queue}{\pageref{class_s_t_l__r_queue}}{}
\item \contentsline{section}{STL\+\_\+r\+Stack}{\pageref{class_s_t_l__r_stack}}{}
\item \contentsline{section}{struct\+\_\+bsp\+\_\+\+Flash\+\_\+\+Pack}{\pageref{structstruct__bsp___flash___pack}}{}
\end{DoxyCompactList}

View File

@@ -1 +1 @@
5366a30f5bc78cfa1964e306ae9d9890
fb370354ae0c6dd3a952dd81266bbd0e

View File

@@ -1 +1 @@
4222ea514debe490f4cbb2f128d0e5b8
d0f145cf7ecf056a3d82c5d4954ea860

View File

@@ -190,12 +190,19 @@
\chapter{文件索引}
\input{files}
\chapter{类说明}
\input{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}
\input{struct___b_i_t_m_a_p_i_n_f_o}
\input{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}
\input{struct__l_queue}
\input{struct__l_stack}
\input{struct___r_g_b_q_u_a_d}
\input{classbsp___b_m_p}
\input{classbsp___differential}
\input{classbsp___digit}
\input{classbsp___i_i_c}
\input{classbsp___i_i_c___s_t_m32}
\input{classbsp___increment___p_i_d}
\input{classbsp___integral}
\input{classbsp___m_a_x6675}
\input{classbsp___mod_bus___rx}
\input{classbsp___mod_bus___s_t_m32}
@@ -211,11 +218,20 @@
\input{class_s_t_l__l_stack}
\input{class_s_t_l__r_queue}
\input{class_s_t_l__r_stack}
\input{structstruct__bsp___flash___pack}
\chapter{文件说明}
\input{bsp___a_t24_c00_8cpp}
\input{bsp___a_t24_c00_8cpp_source}
\input{bsp___a_t24_c00_8h}
\input{bsp___a_t24_c00_8h_source}
\input{bsp___b_m_p_8cpp}
\input{bsp___b_m_p_8cpp_source}
\input{bsp___b_m_p_8h}
\input{bsp___b_m_p_8h_source}
\input{bsp___calculus_8cpp}
\input{bsp___calculus_8cpp_source}
\input{bsp___calculus_8h}
\input{bsp___calculus_8h_source}
\input{bsp___c_r_c_8cpp}
\input{bsp___c_r_c_8cpp_source}
\input{bsp___c_r_c_8h}
@@ -224,6 +240,10 @@
\input{bsp___digit_8cpp_source}
\input{bsp___digit_8h}
\input{bsp___digit_8h_source}
\input{bsp__flash_8c}
\input{bsp__flash_8c_source}
\input{bsp__flash_8h}
\input{bsp__flash_8h_source}
\input{bsp___i_i_c_8cpp}
\input{bsp___i_i_c_8cpp_source}
\input{bsp___i_i_c_8h}

View File

@@ -0,0 +1,89 @@
\hypertarget{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{}\doxysection{\+\_\+\+BITMAPFILEHEADER结构体 参考}
\label{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}\index{\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}}
位图文件头
{\ttfamily \#include $<$bsp\+\_\+\+BMP.\+h$>$}
\doxysubsection*{Public 属性}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a6810e258839bc4345e2036af20e607db}{bf\+Type}}
\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}{bf\+Size}}
\item
\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a71c78132cda5e8b032fb4f549ec9a14a}{bf\+Reserved1}}
\item
\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a3f69e4551c8fee241e5a4cd224c64f50}{bf\+Reserved2}}
\item
\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}{bf\+Off\+Bits}}
\end{DoxyCompactItemize}
\doxysubsection{详细描述}
位图文件头
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00044}{44}} 行定义.
\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}\label{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_af53728df68db96b9decc5100bc1bf7e0}}
\index{\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}!bfOffBits@{bfOffBits}}
\index{bfOffBits@{bfOffBits}!\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}}
\doxysubsubsection{\texorpdfstring{bfOffBits}{bfOffBits}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \+\_\+\+BITMAPFILEHEADER\+::bf\+Off\+Bits}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00050}{50}} 行定义.
\mbox{\Hypertarget{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a71c78132cda5e8b032fb4f549ec9a14a}\label{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a71c78132cda5e8b032fb4f549ec9a14a}}
\index{\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}!bfReserved1@{bfReserved1}}
\index{bfReserved1@{bfReserved1}!\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}}
\doxysubsubsection{\texorpdfstring{bfReserved1}{bfReserved1}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \+\_\+\+BITMAPFILEHEADER\+::bf\+Reserved1}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00048}{48}} 行定义.
\mbox{\Hypertarget{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a3f69e4551c8fee241e5a4cd224c64f50}\label{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a3f69e4551c8fee241e5a4cd224c64f50}}
\index{\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}!bfReserved2@{bfReserved2}}
\index{bfReserved2@{bfReserved2}!\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}}
\doxysubsubsection{\texorpdfstring{bfReserved2}{bfReserved2}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \+\_\+\+BITMAPFILEHEADER\+::bf\+Reserved2}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00049}{49}} 行定义.
\mbox{\Hypertarget{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}\label{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a1bd9726a58f87d278efa58d6d7c70a81}}
\index{\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}!bfSize@{bfSize}}
\index{bfSize@{bfSize}!\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}}
\doxysubsubsection{\texorpdfstring{bfSize}{bfSize}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}} \+\_\+\+BITMAPFILEHEADER\+::bf\+Size}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00047}{47}} 行定义.
\mbox{\Hypertarget{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a6810e258839bc4345e2036af20e607db}\label{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r_a6810e258839bc4345e2036af20e607db}}
\index{\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}!bfType@{bfType}}
\index{bfType@{bfType}!\_BITMAPFILEHEADER@{\_BITMAPFILEHEADER}}
\doxysubsubsection{\texorpdfstring{bfType}{bfType}}
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} \+\_\+\+BITMAPFILEHEADER\+::bf\+Type}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00046}{46}} 行定义.
该结构体的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___b_m_p_8h}{bsp\+\_\+\+BMP.\+h}}\end{DoxyCompactItemize}

View File

@@ -0,0 +1,74 @@
\hypertarget{struct___b_i_t_m_a_p_i_n_f_o}{}\doxysection{\+\_\+\+BITMAPINFO结构体 参考}
\label{struct___b_i_t_m_a_p_i_n_f_o}\index{\_BITMAPINFO@{\_BITMAPINFO}}
BMP文件头
{\ttfamily \#include $<$bsp\+\_\+\+BMP.\+h$>$}
\+\_\+\+BITMAPINFO 的协作图\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{struct___b_i_t_m_a_p_i_n_f_o__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public 属性}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{\+\_\+\+BITMAPFILEHEADER}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}{bmf\+Header}}
\item
\mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}{\+\_\+\+BITMAPINFOHEADER}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}{bmi\+Header}}
\item
\mbox{\hyperlink{struct___r_g_b_q_u_a_d}{\+\_\+\+RGBQUAD}} \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}{bmi\+Colors}} \mbox{[}256\mbox{]}
\end{DoxyCompactItemize}
\doxysubsection{详细描述}
BMP文件头
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00084}{84}} 行定义.
\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}\label{struct___b_i_t_m_a_p_i_n_f_o_a3356c2aeed730cf31d05fd09244ecbce}}
\index{\_BITMAPINFO@{\_BITMAPINFO}!bmfHeader@{bmfHeader}}
\index{bmfHeader@{bmfHeader}!\_BITMAPINFO@{\_BITMAPINFO}}
\doxysubsubsection{\texorpdfstring{bmfHeader}{bmfHeader}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct___b_i_t_m_a_p_f_i_l_e_h_e_a_d_e_r}{\+\_\+\+BITMAPFILEHEADER}} \+\_\+\+BITMAPINFO\+::bmf\+Header}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00085}{85}} 行定义.
\mbox{\Hypertarget{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}\label{struct___b_i_t_m_a_p_i_n_f_o_ab5fe5744a8fe46833743bc6b5cf72a49}}
\index{\_BITMAPINFO@{\_BITMAPINFO}!bmiColors@{bmiColors}}
\index{bmiColors@{bmiColors}!\_BITMAPINFO@{\_BITMAPINFO}}
\doxysubsubsection{\texorpdfstring{bmiColors}{bmiColors}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct___r_g_b_q_u_a_d}{\+\_\+\+RGBQUAD}} \+\_\+\+BITMAPINFO\+::bmi\+Colors\mbox{[}256\mbox{]}}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00087}{87}} 行定义.
\mbox{\Hypertarget{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}\label{struct___b_i_t_m_a_p_i_n_f_o_a7d9eafe9a3374cd06dc22fda1af98b6d}}
\index{\_BITMAPINFO@{\_BITMAPINFO}!bmiHeader@{bmiHeader}}
\index{bmiHeader@{bmiHeader}!\_BITMAPINFO@{\_BITMAPINFO}}
\doxysubsubsection{\texorpdfstring{bmiHeader}{bmiHeader}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct___b_i_t_m_a_p_i_n_f_o_h_e_a_d_e_r}{\+\_\+\+BITMAPINFOHEADER}} \+\_\+\+BITMAPINFO\+::bmi\+Header}
在文件 \mbox{\hyperlink{bsp___b_m_p_8h_source}{bsp\+\_\+\+BMP.\+h}}\mbox{\hyperlink{bsp___b_m_p_8h_source_l00086}{86}} 行定义.
该结构体的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item
D\+:/gitt/\+Microchip\+For32/bsp\+\_\+\+Device/\mbox{\hyperlink{bsp___b_m_p_8h}{bsp\+\_\+\+BMP.\+h}}\end{DoxyCompactItemize}

View File

@@ -0,0 +1 @@
76d622d89629e99a16a71d8fee6da921

Some files were not shown because too many files have changed in this diff Show More