diff --git a/bscpp_Device/bscpp_MAX6675.cpp b/bscpp_Device/bscpp_MAX6675.cpp new file mode 100644 index 0000000..45a7aaa --- /dev/null +++ b/bscpp_Device/bscpp_MAX6675.cpp @@ -0,0 +1,71 @@ +/*---------------------------------------------------------------------------------------------------- + # + # Copyright (c) 2022 Yuankang Liang(XerolySkinner) + # + # 本软件按原样提供,无任何明示或暗示 + # 在任何情况下,作者都不承担任何损害赔偿责任 + # + # 使用的许可声明: + # 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件. + # 2. 免费授予以任何目的,前提是版权声明出现在所有副本中. + # 并且版权声明和许可声明同时出现. + # 3. 你有使用,复制,修改,分发,和销售本软件的许可. + # 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的. + # 5. 本通知不得从任何来源删除或更改. + # + # Yuankang Liang(XerolySkinner) + # E-mail:zabbcccbbaz@163.com + # QQ:2715099320 + # Mobile Phone:13005636215 + # + # All rights reserved. + */ + + /** + * @file bscpp_MAX6675.cpp + * @brief 实现了MAX6675的驱动 + * @mainpage 主要信息 + * @author Yuankang Liang(XerolySkinner) + * @email zabbcccbbaz@163.com + * @version V1.0.0 + * @date 2022-11-11 02:01 + */ +////////////////////////////////////////////////////////////////////////////////////////////////////// +//---------------------------------------------------------------------------------------------------- +// 头文件 +// +#include "bscpp_MAX6675.h" +////////////////////////////////////////////////////////////////////////////////////////////////////// +//---------------------------------------------------------------------------------------------------- +// 构造函数 +// +/** + * @brief 构造一个MAX6675对象 + * @param *hspi 设置的hspi,举例输入:&hspi1 + * @param *GPIOx_CS 设置的选通端口,举例输入:GPIOA + * @param GPIO_Pin_CS 设置的选通针脚,举例输入:GPIO_PIN_0 + * @return 无返回 + */ +bscpp_MAX6675::bscpp_MAX6675( + SPI_HandleTypeDef *hspi, + GPIO_TypeDef* GPIOx_CS, uint16_t GPIO_Pin_CS + ) { + bscpp_MAX6675::hspi=hspi; + bscpp_MAX6675::GPIOx_CS = GPIOx_CS; + bscpp_MAX6675::GPIO_Pin_CS = GPIO_Pin_CS;} +////////////////////////////////////////////////////////////////////////////////////////////////////// +//---------------------------------------------------------------------------------------------------- +// 内含函数 +// +/** + * @brief 访问目前温度 + * @return 返回浮点类型温度 + */ +float bscpp_MAX6675::ReadTemperature(void) { + u16 tmps = 0; + u8 txdata[2] = { 0xFF,0xFF }; + HAL_GPIO_WritePin(GPIOx_CS, GPIO_Pin_CS, GPIO_PIN_RESET); + HAL_SPI_TransmitReceive(hspi, txdata, (u8*)(&tmps), 1, 1000); + HAL_GPIO_WritePin(GPIOx_CS, GPIO_Pin_CS, GPIO_PIN_SET); + return (tmps >> 3) * 1024.0 / 4096;} +////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/bscpp_Device/bscpp_MAX6675.h b/bscpp_Device/bscpp_MAX6675.h new file mode 100644 index 0000000..5449cec --- /dev/null +++ b/bscpp_Device/bscpp_MAX6675.h @@ -0,0 +1,62 @@ +/*---------------------------------------------------------------------------------------------------- + # + # Copyright (c) 2022 Yuankang Liang(XerolySkinner) + # + # 本软件按原样提供,无任何明示或暗示 + # 在任何情况下,作者都不承担任何损害赔偿责任 + # + # 使用的许可声明: + # 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件. + # 2. 免费授予以任何目的,前提是版权声明出现在所有副本中. + # 并且版权声明和许可声明同时出现. + # 3. 你有使用,复制,修改,分发,和销售本软件的许可. + # 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的. + # 5. 本通知不得从任何来源删除或更改. + # + # Yuankang Liang(XerolySkinner) + # E-mail:zabbcccbbaz@163.com + # QQ:2715099320 + # Mobile Phone:13005636215 + # + # All rights reserved. + */ + + /** + * @file bscpp_MAX6675.h + * @brief 实现了MAX6675的驱动 + * @mainpage 主要信息 + * @author Yuankang Liang(XerolySkinner) + * @email zabbcccbbaz@163.com + * @version V1.0.0 + * @date 2022-11-11 02:01 + */ + +#ifdef __cplusplus +#pragma once +#include "varint.h" +#include "spi.h" +////////////////////////////////////////////////////////////////////////////////////////////////////// +//---------------------------------------------------------------------------------------------------- +// 类目 +/** + * @brief MAX6675的一个对象类 + * @note 硬件SPI需要设置如下 + * Date Size:16 Bits + * MSB First + * 分频速度合适即可 + * 需要准备一个CS管脚以控制选通 + */ +class bscpp_MAX6675{ + public: + bscpp_MAX6675( + SPI_HandleTypeDef* hspi, + GPIO_TypeDef* GPIOx_CS, uint16_t GPIO_Pin_CS); + public: + float ReadTemperature(void); + protected: + SPI_HandleTypeDef* hspi; + GPIO_TypeDef* GPIOx_CS; + uint16_t GPIO_Pin_CS; + }; +////////////////////////////////////////////////////////////////////////////////////////////////////// +#endif diff --git a/bscpp_Doc/html/annotated.html b/bscpp_Doc/html/annotated.html index d15977b..0912a75 100644 --- a/bscpp_Doc/html/annotated.html +++ b/bscpp_Doc/html/annotated.html @@ -55,20 +55,21 @@  C_lStack閾捐〃鏂瑰紡鏍堢殑鑺傜偣  Cbscpp_IICIIC鐨勫熀纭瀹炵幇鏂规硶 鐣欎笅涓変釜淇濇姢鎬ф帴鍙i渶瑕佸疄鐜,鍒嗗埆鏄帶鍒舵椂閽,鎺у埗鏁版嵁,寤舵椂鍑芥暟  Cbscpp_IIC_STM32STM32鐗堟湰鐨勮蒋浠禝IC 闇瑕佷娇鐢ㄦ瀯閫犲嚱鏁板垵濮嬪寲 - Cbscpp_STM32_AT24C00涓涓狝T24璁惧,鍩轰簬STM32鐨処IC鎬荤嚎 - Cbscpp_STM32_OLED涓涓狾LED璁惧,鍩轰簬STM32浣跨敤IIC鎬荤嚎 - Cchip_cfg_s - Cdmp_s - Cgyro_reg_s - Cgyro_state_s - Chw_s - Cint_param_s - Cmotion_int_cache_s - CSTL_lStack涓涓爤鐨勭被 - CSTL_rQueue涓涓槦鍒楃殑绫 - CSTL_rStack涓涓爤鐨勭被 - Ctest_s - CtKeyLabel + Cbscpp_MAX6675MAX6675鐨勪竴涓璞$被 + Cbscpp_STM32_AT24C00涓涓狝T24璁惧,鍩轰簬STM32鐨処IC鎬荤嚎 + Cbscpp_STM32_OLED涓涓狾LED璁惧,鍩轰簬STM32浣跨敤IIC鎬荤嚎 + Cchip_cfg_s + Cdmp_s + Cgyro_reg_s + Cgyro_state_s + Chw_s + Cint_param_s + Cmotion_int_cache_s + CSTL_lStack涓涓爤鐨勭被 + CSTL_rQueue涓涓槦鍒楃殑绫 + CSTL_rStack涓涓爤鐨勭被 + Ctest_s + CtKeyLabel diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8cpp.html b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp.html new file mode 100644 index 0000000..cc1a491 --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp.html @@ -0,0 +1,83 @@ + + + + + + + +XerolySkinnerBscpp: D:/gitt/MicrochipFor32/bscpp_Device/bscpp_MAX6675.cpp 鏂囦欢鍙傝 + + + + + + +
+
+ + + + + + +
+
XerolySkinnerBscpp 1.0.0 +
+
C++鐗堟湰鐨勯┍鍔ㄥ簱
+
+
+ + + + + +
+
+
bscpp_MAX6675.cpp 鏂囦欢鍙傝
+
+
+ +

瀹炵幇浜哅AX6675鐨勯┍鍔 +鏇村...

+
#include "bscpp_MAX6675.h"
+
+bscpp_MAX6675.cpp 鐨勫紩鐢(Include)鍏崇郴鍥:
+
+
+ + + + + + + +
+
+

娴忚婧愪唬鐮.

+

璇︾粏鎻忚堪

+

瀹炵幇浜哅AX6675鐨勯┍鍔

+ +

鍦ㄦ枃浠 bscpp_MAX6675.cpp 涓畾涔.

+
+ + + + diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.map b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.map new file mode 100644 index 0000000..df93a3f --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.md5 b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.md5 new file mode 100644 index 0000000..055ded2 --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.md5 @@ -0,0 +1 @@ +899ac15f20070e72e5c21051f6b0e2e1 \ No newline at end of file diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.png b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.png new file mode 100644 index 0000000..a4e9fc7 Binary files /dev/null and b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp__incl.png differ diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8cpp_source.html b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp_source.html new file mode 100644 index 0000000..039b387 --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8cpp_source.html @@ -0,0 +1,116 @@ + + + + + + + +XerolySkinnerBscpp: D:/gitt/MicrochipFor32/bscpp_Device/bscpp_MAX6675.cpp 婧愭枃浠 + + + + + + +
+
+ + + + + + +
+
XerolySkinnerBscpp 1.0.0 +
+
C++鐗堟湰鐨勯┍鍔ㄥ簱
+
+
+ + + + + +
+
+
bscpp_MAX6675.cpp
+
+
+娴忚璇ユ枃浠剁殑鏂囨。.
1/*----------------------------------------------------------------------------------------------------
+
2 #
+
3 # Copyright (c) 2022 Yuankang Liang(XerolySkinner)
+
4 #
+
5 # 鏈蒋浠舵寜鍘熸牱鎻愪緵,鏃犱换浣曟槑绀烘垨鏆楃ず
+
6 # 鍦ㄤ换浣曟儏鍐典笅,浣滆呴兘涓嶆壙鎷呬换浣曟崯瀹宠禂鍋胯矗浠
+
7 #
+
8 # 浣跨敤鐨勮鍙0鏄:
+
9 # 1. 涓嶅緱姝洸鏈蒋浠剁殑鏉ユ簮,浣犱笉鑳藉0绉颁綘缂栧啓浜嗗師濮嬭蒋浠.
+
10 # 2. 鍏嶈垂鎺堜簣浠ヤ换浣曠洰鐨,鍓嶆彁鏄増鏉冨0鏄庡嚭鐜板湪鎵鏈夊壇鏈腑.
+
11 # 骞朵笖鐗堟潈澹版槑鍜岃鍙0鏄庡悓鏃跺嚭鐜.
+
12 # 3. 浣犳湁浣跨敤,澶嶅埗,淇敼,鍒嗗彂,鍜岄攢鍞湰杞欢鐨勮鍙.
+
13 # 4. 濡傛灉浣犲湪浜у搧涓娇鐢,浜у搧鏂囨。涓殑澹版槑鏄禐璧忕殑浣嗕笉鏄繀椤荤殑.
+
14 # 5. 鏈氱煡涓嶅緱浠庝换浣曟潵婧愬垹闄ゆ垨鏇存敼.
+
15 #
+
16 # Yuankang Liang(XerolySkinner)
+
17 # E-mail:zabbcccbbaz@163.com
+
18 # QQ:2715099320
+
19 # Mobile Phone:13005636215
+
20 #
+
21 # All rights reserved.
+
22 */
+
23
+
34//----------------------------------------------------------------------------------------------------
+
35// 澶存枃浠
+
36//
+
37#include "bscpp_MAX6675.h"
+
39//----------------------------------------------------------------------------------------------------
+
40// 鏋勯犲嚱鏁
+
41//
+ +
50 SPI_HandleTypeDef *hspi,
+
51 GPIO_TypeDef* GPIOx_CS, uint16_t GPIO_Pin_CS
+
52 ) {
+ + + +
57//----------------------------------------------------------------------------------------------------
+
58// 鍐呭惈鍑芥暟
+
59//
+ +
65 u16 tmps = 0;
+
66 u8 txdata[2] = { 0xFF,0xFF };
+
67 HAL_GPIO_WritePin(GPIOx_CS, GPIO_Pin_CS, GPIO_PIN_RESET);
+
68 HAL_SPI_TransmitReceive(hspi, txdata, (u8*)(&tmps), 1, 1000);
+
69 HAL_GPIO_WritePin(GPIOx_CS, GPIO_Pin_CS, GPIO_PIN_SET);
+
70 return (tmps >> 3) * 1024.0 / 4096;}
+
瀹炵幇浜哅AX6675鐨勯┍鍔
+
SPI_HandleTypeDef * hspi
Definition: bscpp_MAX6675.h:57
+
GPIO_TypeDef * GPIOx_CS
Definition: bscpp_MAX6675.h:58
+
bscpp_MAX6675(SPI_HandleTypeDef *hspi, GPIO_TypeDef *GPIOx_CS, uint16_t GPIO_Pin_CS)
鏋勯犱竴涓狹AX6675瀵硅薄
+
uint16_t GPIO_Pin_CS
Definition: bscpp_MAX6675.h:59
+
float ReadTemperature(void)
璁块棶鐩墠娓╁害
+
uint8_t u8
8浣嶆棤绗﹀彿鏁扮被鍨
Definition: varint.h:40
+
uint16_t u16
16浣嶆棤绗﹀彿鏁扮被鍨
Definition: varint.h:41
+
+ + + + diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h.html b/bscpp_Doc/html/bscpp___m_a_x6675_8h.html new file mode 100644 index 0000000..7cb0b29 --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8h.html @@ -0,0 +1,101 @@ + + + + + + + +XerolySkinnerBscpp: D:/gitt/MicrochipFor32/bscpp_Device/bscpp_MAX6675.h 鏂囦欢鍙傝 + + + + + + +
+
+ + + + + + +
+
XerolySkinnerBscpp 1.0.0 +
+
C++鐗堟湰鐨勯┍鍔ㄥ簱
+
+
+ + + + + +
+
+
+
+
bscpp_MAX6675.h 鏂囦欢鍙傝
+
+
+ +

瀹炵幇浜哅AX6675鐨勯┍鍔 +鏇村...

+
#include "varint.h"
+#include "spi.h"
+
+bscpp_MAX6675.h 鐨勫紩鐢(Include)鍏崇郴鍥:
+
+
+ + + + + + +
+
+姝ゅ浘灞曠ず璇ユ枃浠剁洿鎺ユ垨闂存帴鐨勮鍝簺鏂囦欢寮曠敤浜:
+
+
+ + + + +
+
+

娴忚婧愪唬鐮.

+ + + + + +

+绫

class  bscpp_MAX6675
 MAX6675鐨勪竴涓璞$被 鏇村...
 
+

璇︾粏鎻忚堪

+

瀹炵幇浜哅AX6675鐨勯┍鍔

+ +

鍦ㄦ枃浠 bscpp_MAX6675.h 涓畾涔.

+
+ + + + diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.map b/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.map new file mode 100644 index 0000000..668e5c6 --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.map @@ -0,0 +1,4 @@ + + + + diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.md5 b/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.md5 new file mode 100644 index 0000000..7e08f8a --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.md5 @@ -0,0 +1 @@ +463041331b3ba021f9b15f792b79a56c \ No newline at end of file diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.png b/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.png new file mode 100644 index 0000000..148f806 Binary files /dev/null and b/bscpp_Doc/html/bscpp___m_a_x6675_8h__dep__incl.png differ diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.map b/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.map new file mode 100644 index 0000000..39ae91a --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.map @@ -0,0 +1,6 @@ + + + + + + diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.md5 b/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.md5 new file mode 100644 index 0000000..e1f956c --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.md5 @@ -0,0 +1 @@ +08c357c41b7335bd13cd9b3476dcf93c \ No newline at end of file diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.png b/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.png new file mode 100644 index 0000000..01282e7 Binary files /dev/null and b/bscpp_Doc/html/bscpp___m_a_x6675_8h__incl.png differ diff --git a/bscpp_Doc/html/bscpp___m_a_x6675_8h_source.html b/bscpp_Doc/html/bscpp___m_a_x6675_8h_source.html new file mode 100644 index 0000000..8ad0bef --- /dev/null +++ b/bscpp_Doc/html/bscpp___m_a_x6675_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +XerolySkinnerBscpp: D:/gitt/MicrochipFor32/bscpp_Device/bscpp_MAX6675.h 婧愭枃浠 + + + + + + +
+
+ + + + + + +
+
XerolySkinnerBscpp 1.0.0 +
+
C++鐗堟湰鐨勯┍鍔ㄥ簱
+
+
+ + + + + +
+
+
bscpp_MAX6675.h
+
+
+娴忚璇ユ枃浠剁殑鏂囨。.
1/*----------------------------------------------------------------------------------------------------
+
2 #
+
3 # Copyright (c) 2022 Yuankang Liang(XerolySkinner)
+
4 #
+
5 # 鏈蒋浠舵寜鍘熸牱鎻愪緵,鏃犱换浣曟槑绀烘垨鏆楃ず
+
6 # 鍦ㄤ换浣曟儏鍐典笅,浣滆呴兘涓嶆壙鎷呬换浣曟崯瀹宠禂鍋胯矗浠
+
7 #
+
8 # 浣跨敤鐨勮鍙0鏄:
+
9 # 1. 涓嶅緱姝洸鏈蒋浠剁殑鏉ユ簮,浣犱笉鑳藉0绉颁綘缂栧啓浜嗗師濮嬭蒋浠.
+
10 # 2. 鍏嶈垂鎺堜簣浠ヤ换浣曠洰鐨,鍓嶆彁鏄増鏉冨0鏄庡嚭鐜板湪鎵鏈夊壇鏈腑.
+
11 # 骞朵笖鐗堟潈澹版槑鍜岃鍙0鏄庡悓鏃跺嚭鐜.
+
12 # 3. 浣犳湁浣跨敤,澶嶅埗,淇敼,鍒嗗彂,鍜岄攢鍞湰杞欢鐨勮鍙.
+
13 # 4. 濡傛灉浣犲湪浜у搧涓娇鐢,浜у搧鏂囨。涓殑澹版槑鏄禐璧忕殑浣嗕笉鏄繀椤荤殑.
+
14 # 5. 鏈氱煡涓嶅緱浠庝换浣曟潵婧愬垹闄ゆ垨鏇存敼.
+
15 #
+
16 # Yuankang Liang(XerolySkinner)
+
17 # E-mail:zabbcccbbaz@163.com
+
18 # QQ:2715099320
+
19 # Mobile Phone:13005636215
+
20 #
+
21 # All rights reserved.
+
22 */
+
23
+
34#ifdef __cplusplus
+
35#pragma once
+
36#include "varint.h"
+
37#include "spi.h"
+
39//----------------------------------------------------------------------------------------------------
+
40// 绫荤洰
+ +
50 public:
+ +
52 SPI_HandleTypeDef* hspi,
+
53 GPIO_TypeDef* GPIOx_CS, uint16_t GPIO_Pin_CS);
+
54 public:
+
55 float ReadTemperature(void);
+
56 protected:
+
57 SPI_HandleTypeDef* hspi;
+
58 GPIO_TypeDef* GPIOx_CS;
+
59 uint16_t GPIO_Pin_CS;
+
60 };
+
62#endif
+
MAX6675鐨勪竴涓璞$被
Definition: bscpp_MAX6675.h:49
+
SPI_HandleTypeDef * hspi
Definition: bscpp_MAX6675.h:57
+
GPIO_TypeDef * GPIOx_CS
Definition: bscpp_MAX6675.h:58
+
uint16_t GPIO_Pin_CS
Definition: bscpp_MAX6675.h:59
+
float ReadTemperature(void)
璁块棶鐩墠娓╁害
+ +
+ + + + diff --git a/bscpp_Doc/html/classbscpp___m_a_x6675-members.html b/bscpp_Doc/html/classbscpp___m_a_x6675-members.html new file mode 100644 index 0000000..e5138a2 --- /dev/null +++ b/bscpp_Doc/html/classbscpp___m_a_x6675-members.html @@ -0,0 +1,67 @@ + + + + + + + +XerolySkinnerBscpp: 鎴愬憳鍒楄〃 + + + + + + +
+
+ + + + + + +
+
XerolySkinnerBscpp 1.0.0 +
+
C++鐗堟湰鐨勯┍鍔ㄥ簱
+
+
+ + + + +
+
+
bscpp_MAX6675 鎴愬憳鍒楄〃
+
+
+ +

鎴愬憳鐨勫畬鏁村垪琛紝杩欎簺鎴愬憳灞炰簬 bscpp_MAX6675,鍖呮嫭鎵鏈夌户鎵胯屾潵鐨勭被鎴愬憳

+ + + + + + +
bscpp_MAX6675(SPI_HandleTypeDef *hspi, GPIO_TypeDef *GPIOx_CS, uint16_t GPIO_Pin_CS)bscpp_MAX6675
GPIO_Pin_CSbscpp_MAX6675protected
GPIOx_CSbscpp_MAX6675protected
hspibscpp_MAX6675protected
ReadTemperature(void)bscpp_MAX6675
+ + + + diff --git a/bscpp_Doc/html/classbscpp___m_a_x6675.html b/bscpp_Doc/html/classbscpp___m_a_x6675.html new file mode 100644 index 0000000..e66eed1 --- /dev/null +++ b/bscpp_Doc/html/classbscpp___m_a_x6675.html @@ -0,0 +1,241 @@ + + + + + + + +XerolySkinnerBscpp: bscpp_MAX6675绫 鍙傝 + + + + + + +
+
+ + + + + + +
+
XerolySkinnerBscpp 1.0.0 +
+
C++鐗堟湰鐨勯┍鍔ㄥ簱
+
+
+ + + + +
+
+
+Public 鎴愬憳鍑芥暟 | +Protected 灞炴 | +鎵鏈夋垚鍛樺垪琛
+
bscpp_MAX6675绫 鍙傝
+
+
+ +

MAX6675鐨勪竴涓璞$被 + 鏇村...

+ +

#include <bscpp_MAX6675.h>

+ + + + + + + + +

+Public 鎴愬憳鍑芥暟

 bscpp_MAX6675 (SPI_HandleTypeDef *hspi, GPIO_TypeDef *GPIOx_CS, uint16_t GPIO_Pin_CS)
 鏋勯犱竴涓狹AX6675瀵硅薄 鏇村...
 
float ReadTemperature (void)
 璁块棶鐩墠娓╁害 鏇村...
 
+ + + + + + + +

+Protected 灞炴

SPI_HandleTypeDef * hspi
 
GPIO_TypeDef * GPIOx_CS
 
uint16_t GPIO_Pin_CS
 
+

璇︾粏鎻忚堪

+

MAX6675鐨勪竴涓璞$被

+
娉ㄨВ
纭欢SPI闇瑕佽缃涓 Date Size:16 Bits MSB First 鍒嗛閫熷害鍚堥傚嵆鍙 闇瑕佸噯澶囦竴涓狢S绠¤剼浠ユ帶鍒堕夐
+ +

鍦ㄦ枃浠 bscpp_MAX6675.h49 琛屽畾涔.

+

鏋勯犲強鏋愭瀯鍑芥暟璇存槑

+ +

◆ bscpp_MAX6675()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
bscpp_MAX6675::bscpp_MAX6675 (SPI_HandleTypeDef * hspi,
GPIO_TypeDef * GPIOx_CS,
uint16_t GPIO_Pin_CS 
)
+
+ +

鏋勯犱竴涓狹AX6675瀵硅薄

+
鍙傛暟
+ + + + +
*hspi璁剧疆鐨刪spi,涓句緥杈撳叆:&hspi1
*GPIOx_CS璁剧疆鐨勯夐氱鍙,涓句緥杈撳叆:GPIOA
GPIO_Pin_CS璁剧疆鐨勯夐氶拡鑴,涓句緥杈撳叆:GPIO_PIN_0
+
+
+
杩斿洖
鏃犺繑鍥
+ +

鍦ㄦ枃浠 bscpp_MAX6675.cpp49 琛屽畾涔.

+ +
+
+

鎴愬憳鍑芥暟璇存槑

+ +

◆ ReadTemperature()

+ +
+
+ + + + + + + + +
float bscpp_MAX6675::ReadTemperature (void )
+
+ +

璁块棶鐩墠娓╁害

+
杩斿洖
杩斿洖娴偣绫诲瀷娓╁害
+ +

鍦ㄦ枃浠 bscpp_MAX6675.cpp64 琛屽畾涔.

+ +
+
+

绫绘垚鍛樺彉閲忚鏄

+ +

◆ GPIO_Pin_CS

+ +
+
+ + + + + +
+ + + + +
uint16_t bscpp_MAX6675::GPIO_Pin_CS
+
+protected
+
+ +

鍦ㄦ枃浠 bscpp_MAX6675.h59 琛屽畾涔.

+ +
+
+ +

◆ GPIOx_CS

+ +
+
+ + + + + +
+ + + + +
GPIO_TypeDef* bscpp_MAX6675::GPIOx_CS
+
+protected
+
+ +

鍦ㄦ枃浠 bscpp_MAX6675.h58 琛屽畾涔.

+ +
+
+ +

◆ hspi

+ +
+
+ + + + + +
+ + + + +
SPI_HandleTypeDef* bscpp_MAX6675::hspi
+
+protected
+
+ +

鍦ㄦ枃浠 bscpp_MAX6675.h57 琛屽畾涔.

+ +
+
+
璇ョ被鐨勬枃妗g敱浠ヤ笅鏂囦欢鐢熸垚: +
+ + + + diff --git a/bscpp_Doc/html/classes.html b/bscpp_Doc/html/classes.html index cdb2d3c..1a988b5 100644 --- a/bscpp_Doc/html/classes.html +++ b/bscpp_Doc/html/classes.html @@ -54,7 +54,7 @@
B
-
bscpp_IIC
bscpp_IIC_STM32
bscpp_STM32_AT24C00
bscpp_STM32_OLED
+
bscpp_IIC
bscpp_IIC_STM32
bscpp_MAX6675
bscpp_STM32_AT24C00
bscpp_STM32_OLED
C
chip_cfg_s
diff --git a/bscpp_Doc/html/dir_2f7647e102f146f5202708a3606f65a7.html b/bscpp_Doc/html/dir_2f7647e102f146f5202708a3606f65a7.html index 646f30f..0b94039 100644 --- a/bscpp_Doc/html/dir_2f7647e102f146f5202708a3606f65a7.html +++ b/bscpp_Doc/html/dir_2f7647e102f146f5202708a3606f65a7.html @@ -88,6 +88,12 @@ bscpp_Device 鐨勭洰褰曚緷璧栧叧绯诲浘
鏂囦欢  bscpp_IIC_STM32.h [浠g爜]  瀹炵幇閽堝STM32鐨勮蒋浠禝IC绫
  +鏂囦欢  bscpp_MAX6675.cpp [浠g爜] + 瀹炵幇浜哅AX6675鐨勯┍鍔
+  +鏂囦欢  bscpp_MAX6675.h [浠g爜] + 瀹炵幇浜哅AX6675鐨勯┍鍔
+  鏂囦欢  bscpp_STM32_OLED.cpp [浠g爜]   鏂囦欢  bscpp_STM32_OLED.h [浠g爜] diff --git a/bscpp_Doc/html/files.html b/bscpp_Doc/html/files.html index 85a8f82..370f731 100644 --- a/bscpp_Doc/html/files.html +++ b/bscpp_Doc/html/files.html @@ -68,9 +68,11 @@  bscpp_IIC.h鏈被瀹炵幇杞欢IIC鍔熻兘 渚濇绫绘淳鐢熷嚭鍏朵粬杞欢IIC鍔熻兘  bscpp_IIC_STM32.cpp瀹炵幇閽堝STM32鐨勮蒋浠禝IC绫  bscpp_IIC_STM32.h瀹炵幇閽堝STM32鐨勮蒋浠禝IC绫 - bscpp_STM32_OLED.cpp - bscpp_STM32_OLED.h - varint.h + bscpp_MAX6675.cpp瀹炵幇浜哅AX6675鐨勯┍鍔 + bscpp_MAX6675.h瀹炵幇浜哅AX6675鐨勯┍鍔 + bscpp_STM32_OLED.cpp + bscpp_STM32_OLED.h + varint.h   bscpp_System  Callback.cpp鍏ㄥ眬涓柇鍦ㄦ瀹炵幇  MainSystem.cpp瀹炵幇浜嗕竴涓狢++搴撻拡瀵瑰崟鐗囨満寮鍙 diff --git a/bscpp_Doc/html/functions.html b/bscpp_Doc/html/functions.html index 885f0bf..487d238 100644 --- a/bscpp_Doc/html/functions.html +++ b/bscpp_Doc/html/functions.html @@ -99,6 +99,7 @@
  • bank_sel : gyro_reg_s
  • bank_size : hw_s
  • bscpp_IIC_STM32() : bscpp_IIC_STM32
  • +
  • bscpp_MAX6675() : bscpp_MAX6675
  • bscpp_STM32_AT24C00() : bscpp_STM32_AT24C00
  • bscpp_STM32_OLED() : bscpp_STM32_OLED
  • bypass_mode : chip_cfg_s
  • @@ -139,8 +140,10 @@

    - g -

    +
  • @@ -2261,6 +2270,18 @@
  • +
  • +
  • +
  • -
  • -
  • +
  • +
  • diff --git a/bscpp_Doc/html/index.hhp b/bscpp_Doc/html/index.hhp index 54faf73..1d63ed7 100644 --- a/bscpp_Doc/html/index.hhp +++ b/bscpp_Doc/html/index.hhp @@ -39,6 +39,10 @@ bscpp___i_i_c___s_t_m32_8cpp.html bscpp___i_i_c___s_t_m32_8cpp_source.html bscpp___i_i_c___s_t_m32_8h.html bscpp___i_i_c___s_t_m32_8h_source.html +bscpp___m_a_x6675_8cpp.html +bscpp___m_a_x6675_8cpp_source.html +bscpp___m_a_x6675_8h.html +bscpp___m_a_x6675_8h_source.html bscpp___s_t_m32___o_l_e_d_8cpp.html bscpp___s_t_m32___o_l_e_d_8cpp_source.html bscpp___s_t_m32___o_l_e_d_8h.html @@ -53,6 +57,8 @@ classbscpp___i_i_c-members.html classbscpp___i_i_c.html classbscpp___i_i_c___s_t_m32-members.html classbscpp___i_i_c___s_t_m32.html +classbscpp___m_a_x6675-members.html +classbscpp___m_a_x6675.html classbscpp___s_t_m32___a_t24_c00-members.html classbscpp___s_t_m32___a_t24_c00.html classbscpp___s_t_m32___o_l_e_d-members.html @@ -204,6 +210,12 @@ bscpp___i_i_c___s_t_m32_8h__dep__incl.pdf bscpp___i_i_c___s_t_m32_8h__dep__incl.png bscpp___i_i_c___s_t_m32_8h__incl.pdf bscpp___i_i_c___s_t_m32_8h__incl.png +bscpp___m_a_x6675_8cpp__incl.pdf +bscpp___m_a_x6675_8cpp__incl.png +bscpp___m_a_x6675_8h__dep__incl.pdf +bscpp___m_a_x6675_8h__dep__incl.png +bscpp___m_a_x6675_8h__incl.pdf +bscpp___m_a_x6675_8h__incl.png bscpp___s_t_m32___o_l_e_d_8cpp__incl.pdf bscpp___s_t_m32___o_l_e_d_8cpp__incl.png bscpp___s_t_m32___o_l_e_d_8h__dep__incl.pdf @@ -420,6 +432,7 @@ inherit_graph_10.png inherit_graph_11.png inherit_graph_12.png inherit_graph_13.png +inherit_graph_14.png inherit_graph_2.png inherit_graph_3.png inherit_graph_4.png diff --git a/bscpp_Doc/html/inherit_graph_10.map b/bscpp_Doc/html/inherit_graph_10.map index c9884e7..84d1ac2 100644 --- a/bscpp_Doc/html/inherit_graph_10.map +++ b/bscpp_Doc/html/inherit_graph_10.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_10.md5 b/bscpp_Doc/html/inherit_graph_10.md5 index 0dabb4f..7cbe3a0 100644 --- a/bscpp_Doc/html/inherit_graph_10.md5 +++ b/bscpp_Doc/html/inherit_graph_10.md5 @@ -1 +1 @@ -d13a8051aef4cf3b38fb94c2f3b6bb05 \ No newline at end of file +25609444a554bbd92434f823cefe828c \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_10.png b/bscpp_Doc/html/inherit_graph_10.png index 4a4e717..7cbb9a6 100644 Binary files a/bscpp_Doc/html/inherit_graph_10.png and b/bscpp_Doc/html/inherit_graph_10.png differ diff --git a/bscpp_Doc/html/inherit_graph_11.map b/bscpp_Doc/html/inherit_graph_11.map index 7925caf..c9884e7 100644 --- a/bscpp_Doc/html/inherit_graph_11.map +++ b/bscpp_Doc/html/inherit_graph_11.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_11.md5 b/bscpp_Doc/html/inherit_graph_11.md5 index 8960136..0dabb4f 100644 --- a/bscpp_Doc/html/inherit_graph_11.md5 +++ b/bscpp_Doc/html/inherit_graph_11.md5 @@ -1 +1 @@ -8949aeb68dacb17c154a1f52dbf22947 \ No newline at end of file +d13a8051aef4cf3b38fb94c2f3b6bb05 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_11.png b/bscpp_Doc/html/inherit_graph_11.png index 168aa61..4a4e717 100644 Binary files a/bscpp_Doc/html/inherit_graph_11.png and b/bscpp_Doc/html/inherit_graph_11.png differ diff --git a/bscpp_Doc/html/inherit_graph_12.map b/bscpp_Doc/html/inherit_graph_12.map index 11c462b..7925caf 100644 --- a/bscpp_Doc/html/inherit_graph_12.map +++ b/bscpp_Doc/html/inherit_graph_12.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_12.md5 b/bscpp_Doc/html/inherit_graph_12.md5 index ecd3d85..8960136 100644 --- a/bscpp_Doc/html/inherit_graph_12.md5 +++ b/bscpp_Doc/html/inherit_graph_12.md5 @@ -1 +1 @@ -69c3b263a2c4d724a26003d32b28ac25 \ No newline at end of file +8949aeb68dacb17c154a1f52dbf22947 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_12.png b/bscpp_Doc/html/inherit_graph_12.png index 5771958..168aa61 100644 Binary files a/bscpp_Doc/html/inherit_graph_12.png and b/bscpp_Doc/html/inherit_graph_12.png differ diff --git a/bscpp_Doc/html/inherit_graph_13.map b/bscpp_Doc/html/inherit_graph_13.map index 2aaddc0..11c462b 100644 --- a/bscpp_Doc/html/inherit_graph_13.map +++ b/bscpp_Doc/html/inherit_graph_13.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_13.md5 b/bscpp_Doc/html/inherit_graph_13.md5 index 1114112..ecd3d85 100644 --- a/bscpp_Doc/html/inherit_graph_13.md5 +++ b/bscpp_Doc/html/inherit_graph_13.md5 @@ -1 +1 @@ -d21ae6d989db78dd39e8649c04e2e145 \ No newline at end of file +69c3b263a2c4d724a26003d32b28ac25 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_13.png b/bscpp_Doc/html/inherit_graph_13.png index 9b10ab1..5771958 100644 Binary files a/bscpp_Doc/html/inherit_graph_13.png and b/bscpp_Doc/html/inherit_graph_13.png differ diff --git a/bscpp_Doc/html/inherit_graph_14.map b/bscpp_Doc/html/inherit_graph_14.map new file mode 100644 index 0000000..2aaddc0 --- /dev/null +++ b/bscpp_Doc/html/inherit_graph_14.map @@ -0,0 +1,3 @@ + + + diff --git a/bscpp_Doc/html/inherit_graph_14.md5 b/bscpp_Doc/html/inherit_graph_14.md5 new file mode 100644 index 0000000..1114112 --- /dev/null +++ b/bscpp_Doc/html/inherit_graph_14.md5 @@ -0,0 +1 @@ +d21ae6d989db78dd39e8649c04e2e145 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_14.png b/bscpp_Doc/html/inherit_graph_14.png new file mode 100644 index 0000000..9b10ab1 Binary files /dev/null and b/bscpp_Doc/html/inherit_graph_14.png differ diff --git a/bscpp_Doc/html/inherit_graph_2.map b/bscpp_Doc/html/inherit_graph_2.map index 5c8ce8c..5037341 100644 --- a/bscpp_Doc/html/inherit_graph_2.map +++ b/bscpp_Doc/html/inherit_graph_2.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_2.md5 b/bscpp_Doc/html/inherit_graph_2.md5 index d9d0414..34eaf46 100644 --- a/bscpp_Doc/html/inherit_graph_2.md5 +++ b/bscpp_Doc/html/inherit_graph_2.md5 @@ -1 +1 @@ -aabcf4917059d171c061f7be0509b8e2 \ No newline at end of file +02373d50b1d2d5a7644a153af24fc708 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_2.png b/bscpp_Doc/html/inherit_graph_2.png index 1b600cf..79f1d10 100644 Binary files a/bscpp_Doc/html/inherit_graph_2.png and b/bscpp_Doc/html/inherit_graph_2.png differ diff --git a/bscpp_Doc/html/inherit_graph_3.map b/bscpp_Doc/html/inherit_graph_3.map index b674816..5c8ce8c 100644 --- a/bscpp_Doc/html/inherit_graph_3.map +++ b/bscpp_Doc/html/inherit_graph_3.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_3.md5 b/bscpp_Doc/html/inherit_graph_3.md5 index 6c4ff9f..d9d0414 100644 --- a/bscpp_Doc/html/inherit_graph_3.md5 +++ b/bscpp_Doc/html/inherit_graph_3.md5 @@ -1 +1 @@ -a9ee80f421a44bfbe50c8f04bde9c342 \ No newline at end of file +aabcf4917059d171c061f7be0509b8e2 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_3.png b/bscpp_Doc/html/inherit_graph_3.png index de404b9..1b600cf 100644 Binary files a/bscpp_Doc/html/inherit_graph_3.png and b/bscpp_Doc/html/inherit_graph_3.png differ diff --git a/bscpp_Doc/html/inherit_graph_4.map b/bscpp_Doc/html/inherit_graph_4.map index 9986611..b674816 100644 --- a/bscpp_Doc/html/inherit_graph_4.map +++ b/bscpp_Doc/html/inherit_graph_4.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_4.md5 b/bscpp_Doc/html/inherit_graph_4.md5 index cc88e2b..6c4ff9f 100644 --- a/bscpp_Doc/html/inherit_graph_4.md5 +++ b/bscpp_Doc/html/inherit_graph_4.md5 @@ -1 +1 @@ -8e2c0a0aad17c78a97c4d46623ee587f \ No newline at end of file +a9ee80f421a44bfbe50c8f04bde9c342 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_4.png b/bscpp_Doc/html/inherit_graph_4.png index 8321d6d..de404b9 100644 Binary files a/bscpp_Doc/html/inherit_graph_4.png and b/bscpp_Doc/html/inherit_graph_4.png differ diff --git a/bscpp_Doc/html/inherit_graph_5.map b/bscpp_Doc/html/inherit_graph_5.map index 9ffa8ed..9986611 100644 --- a/bscpp_Doc/html/inherit_graph_5.map +++ b/bscpp_Doc/html/inherit_graph_5.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_5.md5 b/bscpp_Doc/html/inherit_graph_5.md5 index dfc43b5..cc88e2b 100644 --- a/bscpp_Doc/html/inherit_graph_5.md5 +++ b/bscpp_Doc/html/inherit_graph_5.md5 @@ -1 +1 @@ -b97d57500d35f8197d7fdc83c7a8c73c \ No newline at end of file +8e2c0a0aad17c78a97c4d46623ee587f \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_5.png b/bscpp_Doc/html/inherit_graph_5.png index 53fe5e5..8321d6d 100644 Binary files a/bscpp_Doc/html/inherit_graph_5.png and b/bscpp_Doc/html/inherit_graph_5.png differ diff --git a/bscpp_Doc/html/inherit_graph_6.map b/bscpp_Doc/html/inherit_graph_6.map index 71d0e3e..9ffa8ed 100644 --- a/bscpp_Doc/html/inherit_graph_6.map +++ b/bscpp_Doc/html/inherit_graph_6.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_6.md5 b/bscpp_Doc/html/inherit_graph_6.md5 index 760d4fb..dfc43b5 100644 --- a/bscpp_Doc/html/inherit_graph_6.md5 +++ b/bscpp_Doc/html/inherit_graph_6.md5 @@ -1 +1 @@ -dd21318503526f4895ff286cd6edf9f4 \ No newline at end of file +b97d57500d35f8197d7fdc83c7a8c73c \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_6.png b/bscpp_Doc/html/inherit_graph_6.png index 6021845..53fe5e5 100644 Binary files a/bscpp_Doc/html/inherit_graph_6.png and b/bscpp_Doc/html/inherit_graph_6.png differ diff --git a/bscpp_Doc/html/inherit_graph_7.map b/bscpp_Doc/html/inherit_graph_7.map index 5f443b5..71d0e3e 100644 --- a/bscpp_Doc/html/inherit_graph_7.map +++ b/bscpp_Doc/html/inherit_graph_7.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_7.md5 b/bscpp_Doc/html/inherit_graph_7.md5 index 0683313..760d4fb 100644 --- a/bscpp_Doc/html/inherit_graph_7.md5 +++ b/bscpp_Doc/html/inherit_graph_7.md5 @@ -1 +1 @@ -7438c537a6b100d6db65bdef316e6faa \ No newline at end of file +dd21318503526f4895ff286cd6edf9f4 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_7.png b/bscpp_Doc/html/inherit_graph_7.png index faa7d04..6021845 100644 Binary files a/bscpp_Doc/html/inherit_graph_7.png and b/bscpp_Doc/html/inherit_graph_7.png differ diff --git a/bscpp_Doc/html/inherit_graph_8.map b/bscpp_Doc/html/inherit_graph_8.map index 6d75553..5f443b5 100644 --- a/bscpp_Doc/html/inherit_graph_8.map +++ b/bscpp_Doc/html/inherit_graph_8.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_8.md5 b/bscpp_Doc/html/inherit_graph_8.md5 index aa3a48c..0683313 100644 --- a/bscpp_Doc/html/inherit_graph_8.md5 +++ b/bscpp_Doc/html/inherit_graph_8.md5 @@ -1 +1 @@ -9ef69e0b657d217a926c574a3ae600c6 \ No newline at end of file +7438c537a6b100d6db65bdef316e6faa \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_8.png b/bscpp_Doc/html/inherit_graph_8.png index b03638e..faa7d04 100644 Binary files a/bscpp_Doc/html/inherit_graph_8.png and b/bscpp_Doc/html/inherit_graph_8.png differ diff --git a/bscpp_Doc/html/inherit_graph_9.map b/bscpp_Doc/html/inherit_graph_9.map index 84d1ac2..6d75553 100644 --- a/bscpp_Doc/html/inherit_graph_9.map +++ b/bscpp_Doc/html/inherit_graph_9.map @@ -1,3 +1,3 @@ - + diff --git a/bscpp_Doc/html/inherit_graph_9.md5 b/bscpp_Doc/html/inherit_graph_9.md5 index 7cbe3a0..aa3a48c 100644 --- a/bscpp_Doc/html/inherit_graph_9.md5 +++ b/bscpp_Doc/html/inherit_graph_9.md5 @@ -1 +1 @@ -25609444a554bbd92434f823cefe828c \ No newline at end of file +9ef69e0b657d217a926c574a3ae600c6 \ No newline at end of file diff --git a/bscpp_Doc/html/inherit_graph_9.png b/bscpp_Doc/html/inherit_graph_9.png index 7cbb9a6..b03638e 100644 Binary files a/bscpp_Doc/html/inherit_graph_9.png and b/bscpp_Doc/html/inherit_graph_9.png differ diff --git a/bscpp_Doc/html/inherits.html b/bscpp_Doc/html/inherits.html index fa3c66a..7d717e9 100644 --- a/bscpp_Doc/html/inherits.html +++ b/bscpp_Doc/html/inherits.html @@ -66,62 +66,67 @@ - + + + + + + - + - + - + - + - + - + - + - + - + - + - + diff --git a/bscpp_Doc/html/varint_8h.html b/bscpp_Doc/html/varint_8h.html index 8e00075..f3378b5 100644 --- a/bscpp_Doc/html/varint_8h.html +++ b/bscpp_Doc/html/varint_8h.html @@ -69,28 +69,30 @@ varint.h 鐨勫紩鐢(Include)鍏崇郴鍥:
    - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/bscpp_Doc/html/varint_8h__dep__incl.map b/bscpp_Doc/html/varint_8h__dep__incl.map index 86e4078..d8816cd 100644 --- a/bscpp_Doc/html/varint_8h__dep__incl.map +++ b/bscpp_Doc/html/varint_8h__dep__incl.map @@ -1,24 +1,26 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bscpp_Doc/html/varint_8h__dep__incl.md5 b/bscpp_Doc/html/varint_8h__dep__incl.md5 index 9fa07e1..8545fca 100644 --- a/bscpp_Doc/html/varint_8h__dep__incl.md5 +++ b/bscpp_Doc/html/varint_8h__dep__incl.md5 @@ -1 +1 @@ -1f130e46de56adf0c4667dbf5b7b1128 \ No newline at end of file +09ee6f02313eacbef09d0c5615664758 \ No newline at end of file diff --git a/bscpp_Doc/html/varint_8h__dep__incl.png b/bscpp_Doc/html/varint_8h__dep__incl.png index 388dcc2..d3f2199 100644 Binary files a/bscpp_Doc/html/varint_8h__dep__incl.png and b/bscpp_Doc/html/varint_8h__dep__incl.png differ diff --git a/bscpp_Doc/latex/_callback_8cpp.tex b/bscpp_Doc/latex/_callback_8cpp.tex index 3b8b88e..b428fd4 100644 --- a/bscpp_Doc/latex/_callback_8cpp.tex +++ b/bscpp_Doc/latex/_callback_8cpp.tex @@ -6,8 +6,7 @@ {\ttfamily \#include \char`\"{}vartable.\+h\char`\"{}}\newline -Callback.\+cpp 鐨勫紩鐢(Include)鍏崇郴鍥綷+: -\nopagebreak +Callback.\+cpp 鐨勫紩鐢(Include)鍏崇郴鍥綷+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/bscpp_Doc/latex/_main_system_8cpp.tex b/bscpp_Doc/latex/_main_system_8cpp.tex index 5d9409e..2c4cafe 100644 --- a/bscpp_Doc/latex/_main_system_8cpp.tex +++ b/bscpp_Doc/latex/_main_system_8cpp.tex @@ -6,8 +6,7 @@ {\ttfamily \#include \char`\"{}vartable.\+h\char`\"{}}\newline -Main\+System.\+cpp 鐨勫紩鐢(Include)鍏崇郴鍥綷+: -\nopagebreak +Main\+System.\+cpp 鐨勫紩鐢(Include)鍏崇郴鍥綷+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/bscpp_Doc/latex/_s_t_l___queue_8h.tex b/bscpp_Doc/latex/_s_t_l___queue_8h.tex index 07196c7..a7d753b 100644 --- a/bscpp_Doc/latex/_s_t_l___queue_8h.tex +++ b/bscpp_Doc/latex/_s_t_l___queue_8h.tex @@ -14,8 +14,7 @@ STL\+\_\+\+Queue.\+h 鐨勫紩鐢(Include)鍏崇郴鍥綷+:\nopagebreak \includegraphics[width=213pt]{_s_t_l___queue_8h__incl} \end{center} \end{figure} -姝ゅ浘灞曠ず璇ユ枃浠剁洿鎺ユ垨闂存帴鐨勮鍝簺鏂囦欢寮曠敤浜哱+: -\nopagebreak +姝ゅ浘灞曠ず璇ユ枃浠剁洿鎺ユ垨闂存帴鐨勮鍝簺鏂囦欢寮曠敤浜哱+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/bscpp_Doc/latex/_s_t_l___stack_8h.tex b/bscpp_Doc/latex/_s_t_l___stack_8h.tex index f902440..c9ad2d9 100644 --- a/bscpp_Doc/latex/_s_t_l___stack_8h.tex +++ b/bscpp_Doc/latex/_s_t_l___stack_8h.tex @@ -14,8 +14,7 @@ STL\+\_\+\+Stack.\+h 鐨勫紩鐢(Include)鍏崇郴鍥綷+:\nopagebreak \includegraphics[width=210pt]{_s_t_l___stack_8h__incl} \end{center} \end{figure} -姝ゅ浘灞曠ず璇ユ枃浠剁洿鎺ユ垨闂存帴鐨勮鍝簺鏂囦欢寮曠敤浜哱+: -\nopagebreak +姝ゅ浘灞曠ず璇ユ枃浠剁洿鎺ユ垨闂存帴鐨勮鍝簺鏂囦欢寮曠敤浜哱+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/bscpp_Doc/latex/annotated.tex b/bscpp_Doc/latex/annotated.tex index 451d650..b58248b 100644 --- a/bscpp_Doc/latex/annotated.tex +++ b/bscpp_Doc/latex/annotated.tex @@ -3,6 +3,7 @@ \item\contentsline{section}{\mbox{\hyperlink{struct__l_stack}{\+\_\+l\+Stack}} \\*閾捐〃鏂瑰紡鏍堢殑鑺傜偣 }{\pageref{struct__l_stack}}{} \item\contentsline{section}{\mbox{\hyperlink{classbscpp___i_i_c}{bscpp\+\_\+\+IIC}} \\*IIC鐨勫熀纭瀹炵幇鏂规硶 鐣欎笅涓変釜淇濇姢鎬ф帴鍙i渶瑕佸疄鐜,鍒嗗埆鏄帶鍒舵椂閽,鎺у埗鏁版嵁,寤舵椂鍑芥暟 }{\pageref{classbscpp___i_i_c}}{} \item\contentsline{section}{\mbox{\hyperlink{classbscpp___i_i_c___s_t_m32}{bscpp\+\_\+\+IIC\+\_\+\+STM32}} \\*STM32鐗堟湰鐨勮蒋浠禱+IIC 闇瑕佷娇鐢ㄦ瀯閫犲嚱鏁板垵濮嬪寲 }{\pageref{classbscpp___i_i_c___s_t_m32}}{} +\item\contentsline{section}{\mbox{\hyperlink{classbscpp___m_a_x6675}{bscpp\+\_\+\+MAX6675}} \\*MAX6675鐨勪竴涓璞$被 }{\pageref{classbscpp___m_a_x6675}}{} \item\contentsline{section}{\mbox{\hyperlink{classbscpp___s_t_m32___a_t24_c00}{bscpp\+\_\+\+STM32\+\_\+\+AT24\+C00}} \\*涓涓猏+AT24璁惧,鍩轰簬\+STM32鐨刓+IIC鎬荤嚎 }{\pageref{classbscpp___s_t_m32___a_t24_c00}}{} \item\contentsline{section}{\mbox{\hyperlink{classbscpp___s_t_m32___o_l_e_d}{bscpp\+\_\+\+STM32\+\_\+\+OLED}} \\*涓涓猏+OLED璁惧,鍩轰簬\+STM32浣跨敤\+IIC鎬荤嚎 }{\pageref{classbscpp___s_t_m32___o_l_e_d}}{} \item\contentsline{section}{\mbox{\hyperlink{structchip__cfg__s}{chip\+\_\+cfg\+\_\+s}} }{\pageref{structchip__cfg__s}}{} diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp.tex b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp.tex new file mode 100644 index 0000000..f2bd6d7 --- /dev/null +++ b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp.tex @@ -0,0 +1,25 @@ +\hypertarget{bscpp___m_a_x6675_8cpp}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/bscpp\+\_\+\+MAX6675.cpp 鏂囦欢鍙傝儅 +\label{bscpp___m_a_x6675_8cpp}\index{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.cpp@{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.cpp}} + + +瀹炵幇浜哱+MAX6675鐨勯┍鍔 + + +{\ttfamily \#include \char`\"{}bscpp\+\_\+\+MAX6675.\+h\char`\"{}}\newline +bscpp\+\_\+\+MAX6675.\+cpp 鐨勫紩鐢(Include)鍏崇郴鍥綷+: +\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=254pt]{bscpp___m_a_x6675_8cpp__incl} +\end{center} +\end{figure} + + +\doxysubsection{璇︾粏鎻忚堪} +瀹炵幇浜哱+MAX6675鐨勯┍鍔 + + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8cpp_source}{bscpp\+\_\+\+MAX6675.\+cpp}} 涓畾涔. + diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp__incl.md5 b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp__incl.md5 new file mode 100644 index 0000000..055ded2 --- /dev/null +++ b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp__incl.md5 @@ -0,0 +1 @@ +899ac15f20070e72e5c21051f6b0e2e1 \ No newline at end of file diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp__incl.pdf b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp__incl.pdf new file mode 100644 index 0000000..5029497 Binary files /dev/null and b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp__incl.pdf differ diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp_source.tex b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp_source.tex new file mode 100644 index 0000000..8b33328 --- /dev/null +++ b/bscpp_Doc/latex/bscpp___m_a_x6675_8cpp_source.tex @@ -0,0 +1,53 @@ +\hypertarget{bscpp___m_a_x6675_8cpp_source}{}\doxysection{bscpp\+\_\+\+MAX6675.\+cpp} +\label{bscpp___m_a_x6675_8cpp_source}\index{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.cpp@{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.cpp}} +\mbox{\hyperlink{bscpp___m_a_x6675_8cpp}{娴忚璇ユ枃浠剁殑鏂囨。.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00002}00002 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00004}00004 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00005}00005 \textcolor{comment}{ \# 鏈蒋浠舵寜鍘熸牱鎻愪緵,鏃犱换浣曟槑绀烘垨鏆楃ず}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00006}00006 \textcolor{comment}{ \# 鍦ㄤ换浣曟儏鍐典笅,浣滆呴兘涓嶆壙鎷呬换浣曟崯瀹宠禂鍋胯矗浠粆} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00007}00007 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00008}00008 \textcolor{comment}{ \# 浣跨敤鐨勮鍙0鏄:}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00009}00009 \textcolor{comment}{ \# 1. 涓嶅緱姝洸鏈蒋浠剁殑鏉ユ簮,浣犱笉鑳藉0绉颁綘缂栧啓浜嗗師濮嬭蒋浠.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00010}00010 \textcolor{comment}{ \# 2. 鍏嶈垂鎺堜簣浠ヤ换浣曠洰鐨,鍓嶆彁鏄増鏉冨0鏄庡嚭鐜板湪鎵鏈夊壇鏈腑.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00011}00011 \textcolor{comment}{ \# 骞朵笖鐗堟潈澹版槑鍜岃鍙0鏄庡悓鏃跺嚭鐜.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00012}00012 \textcolor{comment}{ \# 3. 浣犳湁浣跨敤,澶嶅埗,淇敼,鍒嗗彂,鍜岄攢鍞湰杞欢鐨勮鍙.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00013}00013 \textcolor{comment}{ \# 4. 濡傛灉浣犲湪浜у搧涓娇鐢,浜у搧鏂囨。涓殑澹版槑鏄禐璧忕殑浣嗕笉鏄繀椤荤殑.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00014}00014 \textcolor{comment}{ \# 5. 鏈氱煡涓嶅緱浠庝换浣曟潵婧愬垹闄ゆ垨鏇存敼.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00015}00015 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00020}00020 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00022}00022 \textcolor{comment}{ */}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00023}00023 } +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00034}00034 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00035}00035 \textcolor{comment}{// 澶存枃浠秨} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00036}00036 \textcolor{comment}{// }} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00037}00037 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{bscpp___m_a_x6675_8h}{bscpp\_MAX6675.h}}"{}}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00040}00040 \textcolor{comment}{// 鏋勯犲嚱鏁皚} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00041}00041 \textcolor{comment}{// }} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00049}\mbox{\hyperlink{classbscpp___m_a_x6675_a829c1e3070aae921d0bd5d3fcec96007}{00049}} \textcolor{comment}{}\mbox{\hyperlink{classbscpp___m_a_x6675_a829c1e3070aae921d0bd5d3fcec96007}{bscpp\_MAX6675::bscpp\_MAX6675}}(} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00050}00050 SPI\_HandleTypeDef *hspi,} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00051}00051 GPIO\_TypeDef* GPIOx\_CS, uint16\_t GPIO\_Pin\_CS} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00052}00052 ) \{} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00053}00053 \mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{bscpp\_MAX6675::hspi}}=\mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{hspi}};} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00054}00054 \mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{bscpp\_MAX6675::GPIOx\_CS}} = \mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{GPIOx\_CS}};} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00055}00055 \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{bscpp\_MAX6675::GPIO\_Pin\_CS}} = \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{GPIO\_Pin\_CS}};\}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00057}00057 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00058}00058 \textcolor{comment}{// 鍐呭惈鍑芥暟}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00059}00059 \textcolor{comment}{// }} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00064}\mbox{\hyperlink{classbscpp___m_a_x6675_ae024e64b18006a2a2cd3c744568c4391}{00064}} \textcolor{comment}{}\textcolor{keywordtype}{float} \mbox{\hyperlink{classbscpp___m_a_x6675_ae024e64b18006a2a2cd3c744568c4391}{bscpp\_MAX6675::ReadTemperature}}(\textcolor{keywordtype}{void}) \{} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00065}00065 \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} tmps = 0;} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00066}00066 \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} txdata[2] = \{ 0xFF,0xFF \};} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00067}00067 HAL\_GPIO\_WritePin(\mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{GPIOx\_CS}}, \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{GPIO\_Pin\_CS}}, GPIO\_PIN\_RESET);} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00068}00068 HAL\_SPI\_TransmitReceive(\mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{hspi}}, txdata, (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}*)(\&tmps), 1, 1000);} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00069}00069 HAL\_GPIO\_WritePin(\mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{GPIOx\_CS}}, \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{GPIO\_Pin\_CS}}, GPIO\_PIN\_SET);} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8cpp_source_l00070}00070 \textcolor{keywordflow}{return} (tmps >> 3) * 1024.0 / 4096;\}} + +\end{DoxyCode} diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8h.tex b/bscpp_Doc/latex/bscpp___m_a_x6675_8h.tex new file mode 100644 index 0000000..dd700db --- /dev/null +++ b/bscpp_Doc/latex/bscpp___m_a_x6675_8h.tex @@ -0,0 +1,39 @@ +\hypertarget{bscpp___m_a_x6675_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/bscpp\+\_\+\+MAX6675.h 鏂囦欢鍙傝儅 +\label{bscpp___m_a_x6675_8h}\index{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.h@{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.h}} + + +瀹炵幇浜哱+MAX6675鐨勯┍鍔 + + +{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline +{\ttfamily \#include \char`\"{}spi.\+h\char`\"{}}\newline +bscpp\+\_\+\+MAX6675.\+h 鐨勫紩鐢(Include)鍏崇郴鍥綷+: +\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=244pt]{bscpp___m_a_x6675_8h__incl} +\end{center} +\end{figure} +姝ゅ浘灞曠ず璇ユ枃浠剁洿鎺ユ垨闂存帴鐨勮鍝簺鏂囦欢寮曠敤浜哱+: +\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=254pt]{bscpp___m_a_x6675_8h__dep__incl} +\end{center} +\end{figure} +\doxysubsection*{绫粆 +\begin{DoxyCompactItemize} +\item +class \mbox{\hyperlink{classbscpp___m_a_x6675}{bscpp\+\_\+\+MAX6675}} +\begin{DoxyCompactList}\small\item\em MAX6675鐨勪竴涓璞$被 \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{璇︾粏鎻忚堪} +瀹炵幇浜哱+MAX6675鐨勯┍鍔 + + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source}{bscpp\+\_\+\+MAX6675.\+h}} 涓畾涔. + diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8h__dep__incl.md5 b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__dep__incl.md5 new file mode 100644 index 0000000..7e08f8a --- /dev/null +++ b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__dep__incl.md5 @@ -0,0 +1 @@ +463041331b3ba021f9b15f792b79a56c \ No newline at end of file diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8h__dep__incl.pdf b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__dep__incl.pdf new file mode 100644 index 0000000..dd7688b Binary files /dev/null and b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__dep__incl.pdf differ diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8h__incl.md5 b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__incl.md5 new file mode 100644 index 0000000..e1f956c --- /dev/null +++ b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__incl.md5 @@ -0,0 +1 @@ +08c357c41b7335bd13cd9b3476dcf93c \ No newline at end of file diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8h__incl.pdf b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__incl.pdf new file mode 100644 index 0000000..0758746 Binary files /dev/null and b/bscpp_Doc/latex/bscpp___m_a_x6675_8h__incl.pdf differ diff --git a/bscpp_Doc/latex/bscpp___m_a_x6675_8h_source.tex b/bscpp_Doc/latex/bscpp___m_a_x6675_8h_source.tex new file mode 100644 index 0000000..d7e5f08 --- /dev/null +++ b/bscpp_Doc/latex/bscpp___m_a_x6675_8h_source.tex @@ -0,0 +1,48 @@ +\hypertarget{bscpp___m_a_x6675_8h_source}{}\doxysection{bscpp\+\_\+\+MAX6675.\+h} +\label{bscpp___m_a_x6675_8h_source}\index{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.h@{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MAX6675.h}} +\mbox{\hyperlink{bscpp___m_a_x6675_8h}{娴忚璇ユ枃浠剁殑鏂囨。.}} +\begin{DoxyCode}{0} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00002}00002 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00004}00004 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00005}00005 \textcolor{comment}{ \# 鏈蒋浠舵寜鍘熸牱鎻愪緵,鏃犱换浣曟槑绀烘垨鏆楃ず}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00006}00006 \textcolor{comment}{ \# 鍦ㄤ换浣曟儏鍐典笅,浣滆呴兘涓嶆壙鎷呬换浣曟崯瀹宠禂鍋胯矗浠粆} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00007}00007 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00008}00008 \textcolor{comment}{ \# 浣跨敤鐨勮鍙0鏄:}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 涓嶅緱姝洸鏈蒋浠剁殑鏉ユ簮,浣犱笉鑳藉0绉颁綘缂栧啓浜嗗師濮嬭蒋浠.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 鍏嶈垂鎺堜簣浠ヤ换浣曠洰鐨,鍓嶆彁鏄増鏉冨0鏄庡嚭鐜板湪鎵鏈夊壇鏈腑.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00011}00011 \textcolor{comment}{ \# 骞朵笖鐗堟潈澹版槑鍜岃鍙0鏄庡悓鏃跺嚭鐜.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 浣犳湁浣跨敤,澶嶅埗,淇敼,鍒嗗彂,鍜岄攢鍞湰杞欢鐨勮鍙.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 濡傛灉浣犲湪浜у搧涓娇鐢,浜у搧鏂囨。涓殑澹版槑鏄禐璧忕殑浣嗕笉鏄繀椤荤殑.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 鏈氱煡涓嶅緱浠庝换浣曟潵婧愬垹闄ゆ垨鏇存敼.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00015}00015 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00020}00020 \textcolor{comment}{ \#}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00022}00022 \textcolor{comment}{ */}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00023}00023 } +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00034}00034 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00035}00035 \textcolor{preprocessor}{\#pragma once}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{varint_8h}{varint.h}}"{}}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00037}00037 \textcolor{preprocessor}{\#include "{}spi.h"{}}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00040}00040 \textcolor{comment}{// 绫荤洰}} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00049}\mbox{\hyperlink{classbscpp___m_a_x6675}{00049}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{classbscpp___m_a_x6675}{bscpp\_MAX6675}}\{} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00050}00050 \textcolor{keyword}{public}:} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00051}00051 \mbox{\hyperlink{classbscpp___m_a_x6675}{bscpp\_MAX6675}}(} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00052}00052 SPI\_HandleTypeDef* \mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{hspi}},} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00053}00053 GPIO\_TypeDef* \mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{GPIOx\_CS}}, uint16\_t \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{GPIO\_Pin\_CS}});} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00054}00054 \textcolor{keyword}{public}:} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00055}00055 \textcolor{keywordtype}{float} \mbox{\hyperlink{classbscpp___m_a_x6675_ae024e64b18006a2a2cd3c744568c4391}{ReadTemperature}}(\textcolor{keywordtype}{void});} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00056}00056 \textcolor{keyword}{protected}:} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00057}\mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{00057}} SPI\_HandleTypeDef* \mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{hspi}};} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00058}\mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{00058}} GPIO\_TypeDef* \mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{GPIOx\_CS}};} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00059}\mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{00059}} uint16\_t \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{GPIO\_Pin\_CS}};} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00060}00060 \};} +\DoxyCodeLine{\Hypertarget{bscpp___m_a_x6675_8h_source_l00062}00062 \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/bscpp_Doc/latex/classbscpp___m_a_x6675.tex b/bscpp_Doc/latex/classbscpp___m_a_x6675.tex new file mode 100644 index 0000000..eeefdb8 --- /dev/null +++ b/bscpp_Doc/latex/classbscpp___m_a_x6675.tex @@ -0,0 +1,127 @@ +\hypertarget{classbscpp___m_a_x6675}{}\doxysection{bscpp\+\_\+\+MAX6675绫 鍙傝儅 +\label{classbscpp___m_a_x6675}\index{bscpp\_MAX6675@{bscpp\_MAX6675}} + + +MAX6675鐨勪竴涓璞$被 + + + + +{\ttfamily \#include $<$bscpp\+\_\+\+MAX6675.\+h$>$} + +\doxysubsection*{Public 鎴愬憳鍑芥暟} +\begin{DoxyCompactItemize} +\item +\mbox{\hyperlink{classbscpp___m_a_x6675_a829c1e3070aae921d0bd5d3fcec96007}{bscpp\+\_\+\+MAX6675}} (SPI\+\_\+\+Handle\+Type\+Def $\ast$\mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{hspi}}, GPIO\+\_\+\+Type\+Def $\ast$\mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{GPIOx\+\_\+\+CS}}, uint16\+\_\+t \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{GPIO\+\_\+\+Pin\+\_\+\+CS}}) +\begin{DoxyCompactList}\small\item\em 鏋勯犱竴涓猏+MAX6675瀵硅薄 \end{DoxyCompactList}\item +float \mbox{\hyperlink{classbscpp___m_a_x6675_ae024e64b18006a2a2cd3c744568c4391}{Read\+Temperature}} (void) +\begin{DoxyCompactList}\small\item\em 璁块棶鐩墠娓╁害 \end{DoxyCompactList}\end{DoxyCompactItemize} +\doxysubsection*{Protected 灞炴 +\begin{DoxyCompactItemize} +\item +SPI\+\_\+\+Handle\+Type\+Def $\ast$ \mbox{\hyperlink{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}{hspi}} +\item +GPIO\+\_\+\+Type\+Def $\ast$ \mbox{\hyperlink{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}{GPIOx\+\_\+\+CS}} +\item +uint16\+\_\+t \mbox{\hyperlink{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}{GPIO\+\_\+\+Pin\+\_\+\+CS}} +\end{DoxyCompactItemize} + + +\doxysubsection{璇︾粏鎻忚堪} +MAX6675鐨勪竴涓璞$被 + +\begin{DoxyNote}{娉ㄨВ} +纭欢\+SPI闇瑕佽缃涓 Date Size\+:16 Bits MSB First 鍒嗛閫熷害鍚堥傚嵆鍙 闇瑕佸噯澶囦竴涓猏+CS绠¤剼浠ユ帶鍒堕夐 +\end{DoxyNote} + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source}{bscpp\+\_\+\+MAX6675.\+h}} 绗 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source_l00049}{49}} 琛屽畾涔. + + + +\doxysubsection{鏋勯犲強鏋愭瀯鍑芥暟璇存槑} +\mbox{\Hypertarget{classbscpp___m_a_x6675_a829c1e3070aae921d0bd5d3fcec96007}\label{classbscpp___m_a_x6675_a829c1e3070aae921d0bd5d3fcec96007}} +\index{bscpp\_MAX6675@{bscpp\_MAX6675}!bscpp\_MAX6675@{bscpp\_MAX6675}} +\index{bscpp\_MAX6675@{bscpp\_MAX6675}!bscpp\_MAX6675@{bscpp\_MAX6675}} +\doxysubsubsection{\texorpdfstring{bscpp\_MAX6675()}{bscpp\_MAX6675()}} +{\footnotesize\ttfamily bscpp\+\_\+\+MAX6675\+::bscpp\+\_\+\+MAX6675 (\begin{DoxyParamCaption}\item[{SPI\+\_\+\+Handle\+Type\+Def $\ast$}]{hspi, }\item[{GPIO\+\_\+\+Type\+Def $\ast$}]{GPIOx\+\_\+\+CS, }\item[{uint16\+\_\+t}]{GPIO\+\_\+\+Pin\+\_\+\+CS }\end{DoxyParamCaption})} + + + +鏋勯犱竴涓猏+MAX6675瀵硅薄 + + +\begin{DoxyParams}{鍙傛暟} +{\em $\ast$hspi} & 璁剧疆鐨刪spi,涓句緥杈撳叆\+:\&hspi1 \\ +\hline +{\em $\ast$\+GPIOx\+\_\+\+CS} & 璁剧疆鐨勯夐氱鍙,涓句緥杈撳叆\+:GPIOA \\ +\hline +{\em GPIO\+\_\+\+Pin\+\_\+\+CS} & 璁剧疆鐨勯夐氶拡鑴,涓句緥杈撳叆\+:GPIO\+\_\+\+PIN\+\_\+0 \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{杩斿洖} +鏃犺繑鍥 +\end{DoxyReturn} + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8cpp_source}{bscpp\+\_\+\+MAX6675.\+cpp}} 绗 \mbox{\hyperlink{bscpp___m_a_x6675_8cpp_source_l00049}{49}} 琛屽畾涔. + + + +\doxysubsection{鎴愬憳鍑芥暟璇存槑} +\mbox{\Hypertarget{classbscpp___m_a_x6675_ae024e64b18006a2a2cd3c744568c4391}\label{classbscpp___m_a_x6675_ae024e64b18006a2a2cd3c744568c4391}} +\index{bscpp\_MAX6675@{bscpp\_MAX6675}!ReadTemperature@{ReadTemperature}} +\index{ReadTemperature@{ReadTemperature}!bscpp\_MAX6675@{bscpp\_MAX6675}} +\doxysubsubsection{\texorpdfstring{ReadTemperature()}{ReadTemperature()}} +{\footnotesize\ttfamily float bscpp\+\_\+\+MAX6675\+::\+Read\+Temperature (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})} + + + +璁块棶鐩墠娓╁害 + +\begin{DoxyReturn}{杩斿洖} +杩斿洖娴偣绫诲瀷娓╁害 +\end{DoxyReturn} + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8cpp_source}{bscpp\+\_\+\+MAX6675.\+cpp}} 绗 \mbox{\hyperlink{bscpp___m_a_x6675_8cpp_source_l00064}{64}} 琛屽畾涔. + + + +\doxysubsection{绫绘垚鍛樺彉閲忚鏄巬 +\mbox{\Hypertarget{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}\label{classbscpp___m_a_x6675_ab51e260a8271773d4a8456a6c20742b0}} +\index{bscpp\_MAX6675@{bscpp\_MAX6675}!GPIO\_Pin\_CS@{GPIO\_Pin\_CS}} +\index{GPIO\_Pin\_CS@{GPIO\_Pin\_CS}!bscpp\_MAX6675@{bscpp\_MAX6675}} +\doxysubsubsection{\texorpdfstring{GPIO\_Pin\_CS}{GPIO\_Pin\_CS}} +{\footnotesize\ttfamily uint16\+\_\+t bscpp\+\_\+\+MAX6675\+::\+GPIO\+\_\+\+Pin\+\_\+\+CS\hspace{0.3cm}{\ttfamily [protected]}} + + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source}{bscpp\+\_\+\+MAX6675.\+h}} 绗 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source_l00059}{59}} 琛屽畾涔. + +\mbox{\Hypertarget{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}\label{classbscpp___m_a_x6675_a3058eeb524404eeae0ac4d7cc10a2560}} +\index{bscpp\_MAX6675@{bscpp\_MAX6675}!GPIOx\_CS@{GPIOx\_CS}} +\index{GPIOx\_CS@{GPIOx\_CS}!bscpp\_MAX6675@{bscpp\_MAX6675}} +\doxysubsubsection{\texorpdfstring{GPIOx\_CS}{GPIOx\_CS}} +{\footnotesize\ttfamily GPIO\+\_\+\+Type\+Def$\ast$ bscpp\+\_\+\+MAX6675\+::\+GPIOx\+\_\+\+CS\hspace{0.3cm}{\ttfamily [protected]}} + + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source}{bscpp\+\_\+\+MAX6675.\+h}} 绗 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source_l00058}{58}} 琛屽畾涔. + +\mbox{\Hypertarget{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}\label{classbscpp___m_a_x6675_a2743fe700ab6697ef68737831b46864f}} +\index{bscpp\_MAX6675@{bscpp\_MAX6675}!hspi@{hspi}} +\index{hspi@{hspi}!bscpp\_MAX6675@{bscpp\_MAX6675}} +\doxysubsubsection{\texorpdfstring{hspi}{hspi}} +{\footnotesize\ttfamily SPI\+\_\+\+Handle\+Type\+Def$\ast$ bscpp\+\_\+\+MAX6675\+::hspi\hspace{0.3cm}{\ttfamily [protected]}} + + + +鍦ㄦ枃浠 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source}{bscpp\+\_\+\+MAX6675.\+h}} 绗 \mbox{\hyperlink{bscpp___m_a_x6675_8h_source_l00057}{57}} 琛屽畾涔. + + + +璇ョ被鐨勬枃妗g敱浠ヤ笅鏂囦欢鐢熸垚\+:\begin{DoxyCompactItemize} +\item +D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___m_a_x6675_8h}{bscpp\+\_\+\+MAX6675.\+h}}\item +D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___m_a_x6675_8cpp}{bscpp\+\_\+\+MAX6675.\+cpp}}\end{DoxyCompactItemize} diff --git a/bscpp_Doc/latex/dir_2f7647e102f146f5202708a3606f65a7.tex b/bscpp_Doc/latex/dir_2f7647e102f146f5202708a3606f65a7.tex index 77ea32e..7ecbd33 100644 --- a/bscpp_Doc/latex/dir_2f7647e102f146f5202708a3606f65a7.tex +++ b/bscpp_Doc/latex/dir_2f7647e102f146f5202708a3606f65a7.tex @@ -27,6 +27,10 @@ bscpp\+\_\+\+Device 鐨勭洰褰曚緷璧栧叧绯诲浘\nopagebreak \begin{DoxyCompactList}\small\item\em 瀹炵幇閽堝\+STM32鐨勮蒋浠禱+IIC绫 \end{DoxyCompactList}\item 鏂囦欢 \mbox{\hyperlink{bscpp___i_i_c___s_t_m32_8h}{bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h}} \begin{DoxyCompactList}\small\item\em 瀹炵幇閽堝\+STM32鐨勮蒋浠禱+IIC绫 \end{DoxyCompactList}\item +鏂囦欢 \mbox{\hyperlink{bscpp___m_a_x6675_8cpp}{bscpp\+\_\+\+MAX6675.\+cpp}} +\begin{DoxyCompactList}\small\item\em 瀹炵幇浜哱+MAX6675鐨勯┍鍔 \end{DoxyCompactList}\item +鏂囦欢 \mbox{\hyperlink{bscpp___m_a_x6675_8h}{bscpp\+\_\+\+MAX6675.\+h}} +\begin{DoxyCompactList}\small\item\em 瀹炵幇浜哱+MAX6675鐨勯┍鍔 \end{DoxyCompactList}\item 鏂囦欢 \mbox{\hyperlink{bscpp___s_t_m32___o_l_e_d_8cpp}{bscpp\+\_\+\+STM32\+\_\+\+OLED.\+cpp}} \item 鏂囦欢 \mbox{\hyperlink{bscpp___s_t_m32___o_l_e_d_8h}{bscpp\+\_\+\+STM32\+\_\+\+OLED.\+h}} diff --git a/bscpp_Doc/latex/dir_876bb78db91ff67e2b56e1228af3574e.tex b/bscpp_Doc/latex/dir_876bb78db91ff67e2b56e1228af3574e.tex index 73de81c..0e4a750 100644 --- a/bscpp_Doc/latex/dir_876bb78db91ff67e2b56e1228af3574e.tex +++ b/bscpp_Doc/latex/dir_876bb78db91ff67e2b56e1228af3574e.tex @@ -1,7 +1,6 @@ \hypertarget{dir_876bb78db91ff67e2b56e1228af3574e}{}\doxysection{D\+:/gitt/\+Microchip\+For32 鐩綍鍙傝儅 \label{dir_876bb78db91ff67e2b56e1228af3574e}\index{D:/gitt/MicrochipFor32 鐩綍鍙傝傽{D:/gitt/MicrochipFor32 鐩綍鍙傝儅} -Microchip\+For32 鐨勭洰褰曚緷璧栧叧绯诲浘 -\nopagebreak +Microchip\+For32 鐨勭洰褰曚緷璧栧叧绯诲浘\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/bscpp_Doc/latex/dir_be0d12cdd89db7faae54308fa8a4fe48.tex b/bscpp_Doc/latex/dir_be0d12cdd89db7faae54308fa8a4fe48.tex index 52f9ad2..21352b2 100644 --- a/bscpp_Doc/latex/dir_be0d12cdd89db7faae54308fa8a4fe48.tex +++ b/bscpp_Doc/latex/dir_be0d12cdd89db7faae54308fa8a4fe48.tex @@ -1,7 +1,6 @@ \hypertarget{dir_be0d12cdd89db7faae54308fa8a4fe48}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+System 鐩綍鍙傝儅 \label{dir_be0d12cdd89db7faae54308fa8a4fe48}\index{D:/gitt/MicrochipFor32/bscpp\_System 鐩綍鍙傝傽{D:/gitt/MicrochipFor32/bscpp\_System 鐩綍鍙傝儅} -bscpp\+\_\+\+System 鐨勭洰褰曚緷璧栧叧绯诲浘 -\nopagebreak +bscpp\+\_\+\+System 鐨勭洰褰曚緷璧栧叧绯诲浘\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/bscpp_Doc/latex/files.tex b/bscpp_Doc/latex/files.tex index 0ecbb70..6891ec9 100644 --- a/bscpp_Doc/latex/files.tex +++ b/bscpp_Doc/latex/files.tex @@ -6,6 +6,8 @@ \item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___i_i_c_8h}{bscpp\+\_\+\+IIC.\+h}} \\*鏈被瀹炵幇杞欢\+IIC鍔熻兘 渚濇绫绘淳鐢熷嚭鍏朵粬杞欢\+IIC鍔熻兘 }{\pageref{bscpp___i_i_c_8h}}{} \item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___i_i_c___s_t_m32_8cpp}{bscpp\+\_\+\+IIC\+\_\+\+STM32.\+cpp}} \\*瀹炵幇閽堝\+STM32鐨勮蒋浠禱+IIC绫 }{\pageref{bscpp___i_i_c___s_t_m32_8cpp}}{} \item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___i_i_c___s_t_m32_8h}{bscpp\+\_\+\+IIC\+\_\+\+STM32.\+h}} \\*瀹炵幇閽堝\+STM32鐨勮蒋浠禱+IIC绫 }{\pageref{bscpp___i_i_c___s_t_m32_8h}}{} +\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___m_a_x6675_8cpp}{bscpp\+\_\+\+MAX6675.\+cpp}} \\*瀹炵幇浜哱+MAX6675鐨勯┍鍔 }{\pageref{bscpp___m_a_x6675_8cpp}}{} +\item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___m_a_x6675_8h}{bscpp\+\_\+\+MAX6675.\+h}} \\*瀹炵幇浜哱+MAX6675鐨勯┍鍔 }{\pageref{bscpp___m_a_x6675_8h}}{} \item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___s_t_m32___o_l_e_d_8cpp}{bscpp\+\_\+\+STM32\+\_\+\+OLED.\+cpp}} }{\pageref{bscpp___s_t_m32___o_l_e_d_8cpp}}{} \item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{bscpp___s_t_m32___o_l_e_d_8h}{bscpp\+\_\+\+STM32\+\_\+\+OLED.\+h}} }{\pageref{bscpp___s_t_m32___o_l_e_d_8h}}{} \item\contentsline{section}{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/\mbox{\hyperlink{varint_8h}{varint.\+h}} }{\pageref{varint_8h}}{} diff --git a/bscpp_Doc/latex/hierarchy.tex b/bscpp_Doc/latex/hierarchy.tex index 14047e3..c835c71 100644 --- a/bscpp_Doc/latex/hierarchy.tex +++ b/bscpp_Doc/latex/hierarchy.tex @@ -9,6 +9,7 @@ \item \contentsline{section}{bscpp\+\_\+\+STM32\+\_\+\+OLED}{\pageref{classbscpp___s_t_m32___o_l_e_d}}{} \end{DoxyCompactList} \end{DoxyCompactList} +\item \contentsline{section}{bscpp\+\_\+\+MAX6675}{\pageref{classbscpp___m_a_x6675}}{} \item \contentsline{section}{chip\+\_\+cfg\+\_\+s}{\pageref{structchip__cfg__s}}{} \item \contentsline{section}{dmp\+\_\+s}{\pageref{structdmp__s}}{} \item \contentsline{section}{gyro\+\_\+reg\+\_\+s}{\pageref{structgyro__reg__s}}{} diff --git a/bscpp_Doc/latex/refman.tex b/bscpp_Doc/latex/refman.tex index 96ae8cb..50aa6fc 100644 --- a/bscpp_Doc/latex/refman.tex +++ b/bscpp_Doc/latex/refman.tex @@ -197,6 +197,7 @@ \input{struct__l_stack} \input{classbscpp___i_i_c} \input{classbscpp___i_i_c___s_t_m32} +\input{classbscpp___m_a_x6675} \input{classbscpp___s_t_m32___a_t24_c00} \input{classbscpp___s_t_m32___o_l_e_d} \input{structchip__cfg__s} @@ -224,6 +225,10 @@ \input{bscpp___i_i_c___s_t_m32_8cpp_source} \input{bscpp___i_i_c___s_t_m32_8h} \input{bscpp___i_i_c___s_t_m32_8h_source} +\input{bscpp___m_a_x6675_8cpp} +\input{bscpp___m_a_x6675_8cpp_source} +\input{bscpp___m_a_x6675_8h} +\input{bscpp___m_a_x6675_8h_source} \input{dmp_key_8h} \input{dmp_key_8h_source} \input{dmpmap_8h} diff --git a/bscpp_Doc/latex/varint_8h__dep__incl.md5 b/bscpp_Doc/latex/varint_8h__dep__incl.md5 index 9fa07e1..8545fca 100644 --- a/bscpp_Doc/latex/varint_8h__dep__incl.md5 +++ b/bscpp_Doc/latex/varint_8h__dep__incl.md5 @@ -1 +1 @@ -1f130e46de56adf0c4667dbf5b7b1128 \ No newline at end of file +09ee6f02313eacbef09d0c5615664758 \ No newline at end of file diff --git a/bscpp_Doc/latex/varint_8h__dep__incl.pdf b/bscpp_Doc/latex/varint_8h__dep__incl.pdf index 6b24ac7..f02c661 100644 Binary files a/bscpp_Doc/latex/varint_8h__dep__incl.pdf and b/bscpp_Doc/latex/varint_8h__dep__incl.pdf differ diff --git a/bscpp_Doc/latex/vartable_8cpp.tex b/bscpp_Doc/latex/vartable_8cpp.tex index 312938c..c3a1a42 100644 --- a/bscpp_Doc/latex/vartable_8cpp.tex +++ b/bscpp_Doc/latex/vartable_8cpp.tex @@ -6,8 +6,7 @@ {\ttfamily \#include \char`\"{}vartable.\+h\char`\"{}}\newline -vartable.\+cpp 鐨勫紩鐢(Include)鍏崇郴鍥綷+: -\nopagebreak +vartable.\+cpp 鐨勫紩鐢(Include)鍏崇郴鍥綷+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/bscpp_Doc/latex/vartable_8h.tex b/bscpp_Doc/latex/vartable_8h.tex index 7009041..5cac6b6 100644 --- a/bscpp_Doc/latex/vartable_8h.tex +++ b/bscpp_Doc/latex/vartable_8h.tex @@ -16,8 +16,7 @@ {\ttfamily \#include \char`\"{}bscpp\+\_\+\+AT24\+C00.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}STL\+\_\+\+Queue.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}STL\+\_\+\+Stack.\+h\char`\"{}}\newline -vartable.\+h 鐨勫紩鐢(Include)鍏崇郴鍥綷+: -\nopagebreak +vartable.\+h 鐨勫紩鐢(Include)鍏崇郴鍥綷+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode