2022-11-22 03:43:24 +08:00
|
|
|
\hypertarget{bsp___m_a_x6675_8h_source}{}\doxysection{bsp\+\_\+\+MAX6675.\+h}
|
2023-03-06 12:44:58 +08:00
|
|
|
\label{bsp___m_a_x6675_8h_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_SPI/bsp\_MAX6675.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_SPI/bsp\_MAX6675.h}}
|
2022-11-22 03:43:24 +08:00
|
|
|
\mbox{\hyperlink{bsp___m_a_x6675_8h}{浏览该文件的文档.}}
|
|
|
|
|
\begin{DoxyCode}{0}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00002}00002 \textcolor{comment}{ \#}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00004}00004 \textcolor{comment}{ \#}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00007}00007 \textcolor{comment}{ \#}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00015}00015 \textcolor{comment}{ \#}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00020}00020 \textcolor{comment}{ \#}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00022}00022 \textcolor{comment}{ */}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00023}00023 }
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00035}00035 \textcolor{preprocessor}{\#pragma once}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{varint_8h}{varint.h}}"{}}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00037}00037 \textcolor{preprocessor}{\#include "{}spi.h"{}}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00040}00040 \textcolor{comment}{// 类目}}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00049}\mbox{\hyperlink{classbsp___m_a_x6675}{00049}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{classbsp___m_a_x6675}{bsp\_MAX6675}}\{}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00050}00050 \textcolor{keyword}{public}:}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00051}00051 \mbox{\hyperlink{classbsp___m_a_x6675}{bsp\_MAX6675}}(}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00052}00052 SPI\_HandleTypeDef* \mbox{\hyperlink{classbsp___m_a_x6675_a6b4e52e8861a88b7201c1bb5e70aa40a}{hspi}},}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00053}00053 GPIO\_TypeDef* \mbox{\hyperlink{classbsp___m_a_x6675_a546cf5ce462d8bee441b66ca7e6c270a}{GPIOx\_CS}}, uint16\_t \mbox{\hyperlink{classbsp___m_a_x6675_a925d408718c644d56e5ffebd25150c4f}{GPIO\_Pin\_CS}});}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00054}00054 \textcolor{keyword}{public}:}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00055}00055 \textcolor{keywordtype}{float} \mbox{\hyperlink{classbsp___m_a_x6675_aaf35defa67c560c795005ba8ee61324c}{ReadTemperature}}(\textcolor{keywordtype}{void});}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00056}00056 \textcolor{keyword}{protected}:}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00057}\mbox{\hyperlink{classbsp___m_a_x6675_a6b4e52e8861a88b7201c1bb5e70aa40a}{00057}} SPI\_HandleTypeDef* \mbox{\hyperlink{classbsp___m_a_x6675_a6b4e52e8861a88b7201c1bb5e70aa40a}{hspi}};}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00058}\mbox{\hyperlink{classbsp___m_a_x6675_a546cf5ce462d8bee441b66ca7e6c270a}{00058}} GPIO\_TypeDef* \mbox{\hyperlink{classbsp___m_a_x6675_a546cf5ce462d8bee441b66ca7e6c270a}{GPIOx\_CS}};}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00059}\mbox{\hyperlink{classbsp___m_a_x6675_a925d408718c644d56e5ffebd25150c4f}{00059}} uint16\_t \mbox{\hyperlink{classbsp___m_a_x6675_a925d408718c644d56e5ffebd25150c4f}{GPIO\_Pin\_CS}};}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00060}00060 \};}
|
|
|
|
|
\DoxyCodeLine{\Hypertarget{bsp___m_a_x6675_8h_source_l00062}00062 \textcolor{preprocessor}{\#endif}}
|
|
|
|
|
|
|
|
|
|
\end{DoxyCode}
|