Files
MicrochipFor32/Doc/latex/bsp___mod_bus_8h_source.tex
XerolySkinner 08f9f63eb3 内容大更新
更加规范化
加入modbus类
优化帮助文档
2022-11-22 03:43:24 +08:00

94 lines
18 KiB
TeX

\hypertarget{bsp___mod_bus_8h_source}{}\doxysection{bsp\+\_\+\+Mod\+Bus.\+h}
\label{bsp___mod_bus_8h_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_ModBus.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_ModBus.h}}
\mbox{\hyperlink{bsp___mod_bus_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00003}00003 \textcolor{comment}{ \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00005}00005 \textcolor{comment}{ \# 本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00006}00006 \textcolor{comment}{ \# 在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00008}00008 \textcolor{comment}{ \# 使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00009}00009 \textcolor{comment}{ \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00010}00010 \textcolor{comment}{ \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00011}00011 \textcolor{comment}{ \# 并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00012}00012 \textcolor{comment}{ \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00013}00013 \textcolor{comment}{ \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00014}00014 \textcolor{comment}{ \# 5. 本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00016}00016 \textcolor{comment}{ \# Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00017}00017 \textcolor{comment}{ \# E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00018}00018 \textcolor{comment}{ \# QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00019}00019 \textcolor{comment}{ \# Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00021}00021 \textcolor{comment}{ \# All rights reserved.}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00033}00033 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00034}00034 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{varint_8h}{varint.h}}"{}}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00035}00035 \textcolor{preprocessor}{\#include "{}usart.h"{}}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00036}00036 \textcolor{preprocessor}{\#include <stdarg.h>}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00037}00037 \textcolor{preprocessor}{\#ifdef \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00039}00039 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00040}00040 \textcolor{comment}{// 数据码}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00041}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643}{00041}} \textcolor{keyword}{enum} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643}{Fun\_ModBus}} \{}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00042}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643afa0834864982fdb57c9a954bdbd1599b}{00042}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643afa0834864982fdb57c9a954bdbd1599b}{Fun\_R\_OutCoil}} = 0x01, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00043}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a8c70d4d5036c1a3f9c51a545d13fdd92}{00043}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a8c70d4d5036c1a3f9c51a545d13fdd92}{Fun\_R\_InCoil}} = 0x02, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00044}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a9ec5f1febebcade07d80148f67d51594}{00044}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a9ec5f1febebcade07d80148f67d51594}{Fun\_R\_KeepReg}} = 0x03, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00045}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643ab285b7d7c40fa9a85adba60a3a769fca}{00045}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643ab285b7d7c40fa9a85adba60a3a769fca}{Fun\_R\_InReg}} = 0x04, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00046}00046 }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00047}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a95bb48bd2de82de8a2f5684a6cccff0f}{00047}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a95bb48bd2de82de8a2f5684a6cccff0f}{Fun\_W\_OneCoil}} = 0x05, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00048}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a2e8689560573f300af3a6c48fdd6ce86}{00048}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a2e8689560573f300af3a6c48fdd6ce86}{Fun\_W\_OneReg}} = 0x06, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00049}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a0a40a9622af4e5cb7daecbdb303ee35e}{00049}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a0a40a9622af4e5cb7daecbdb303ee35e}{Fun\_W\_Coils}} = 0x0F, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00050}\mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a54562faaab8c1c932c46c6c4cb2552f9}{00050}} \mbox{\hyperlink{bsp___mod_bus_8h_ac6d9f6c262df700be9045045502e7643a54562faaab8c1c932c46c6c4cb2552f9}{Fun\_W\_Regs}} = 0x10, }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00051}00051 \};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00053}00053 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00054}00054 \textcolor{comment}{// 类目}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00058}\mbox{\hyperlink{classbsp___mod_bus___tx}{00058}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{classbsp___mod_bus___tx}{bsp\_ModBus\_Tx}}\{}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00059}00059 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00060}00060 \mbox{\hyperlink{classbsp___mod_bus___tx}{bsp\_ModBus\_Tx}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___tx_a4ee454ddd116e2b608d9b35b02eee0e4}{ID}});}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00061}00061 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00062}00062 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_ada605c0e9195aefd43968cfe5b347565}{ReadKeepReg}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address,\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00063}00063 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_af055e2569107b8ece7abdce3301e9444}{ReadInReg}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00064}00064 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_a02ea1680f5c361f2cf4ebcb48b565281}{WriteOneReg}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} var);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00065}00065 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_a268c136782f8146662f33878522c270c}{WriteRegs}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}}* var);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00066}00066 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_acc267977d61716e25fd3e3ec57bc2960}{WriteRegsVar}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem,...);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00067}00067 }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00068}00068 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_abc721f5c61e236df505f3447818be921}{ReadOutCoil}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address,\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00069}00069 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_a76e712e8d638ecc7b453e1c8afbbad98}{ReadInCoil}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00070}00070 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_aa8d37cc0cefaad8f41bc1d195a326d95}{WriteOneCoil}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} state);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00071}00071 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_a630ac7566fe9d1773baa813802202d0f}{WriteCoils}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* var);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00072}00072 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_a280c5d7c99196a11b5fee7b34421a8ff}{WriteCoilsVar}}(\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} address, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} mem,...);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00073}00073 \textcolor{keyword}{protected}:}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00074}\mbox{\hyperlink{classbsp___mod_bus___tx_ac017f6145ba6f87c69a16510f868dcc2}{00074}} \textcolor{keyword}{virtual} \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___tx_ac017f6145ba6f87c69a16510f868dcc2}{Transmit}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} *dat, \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} len)=0;}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00075}00075 \textcolor{keyword}{protected}:}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00076}\mbox{\hyperlink{classbsp___mod_bus___tx_a4ee454ddd116e2b608d9b35b02eee0e4}{00076}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___tx_a4ee454ddd116e2b608d9b35b02eee0e4}{ID}}; }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00077}00077 \};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00078}00078 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00082}\mbox{\hyperlink{classbsp___mod_bus___rx}{00082}} \textcolor{comment}{}\textcolor{keyword}{class }\mbox{\hyperlink{classbsp___mod_bus___rx}{bsp\_ModBus\_Rx}}\{}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00083}00083 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00084}00084 \mbox{\hyperlink{classbsp___mod_bus___rx_a87e68578770301c3d78c9b7f551bb627}{bsp\_ModBus\_Rx}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00085}00085 \mbox{\hyperlink{classbsp___mod_bus___rx_afa1dac97034b51725349ab5b1a2aa909}{\string~bsp\_ModBus\_Rx}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00086}00086 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00087}00087 \textcolor{keywordtype}{void} \mbox{\hyperlink{classbsp___mod_bus___rx_a39330845d4ced51850b9edaaab052e0f}{analysis}}(\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* dat);}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00088}00088 \textcolor{comment}{// 共有变量}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00089}\mbox{\hyperlink{classbsp___mod_bus___rx_a045cc9c5f9d26ad5be1da2d2cfdcbefc}{00089}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___rx_a045cc9c5f9d26ad5be1da2d2cfdcbefc}{ID}}; }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00090}\mbox{\hyperlink{classbsp___mod_bus___rx_a0a5cdc492b09b33ae665706c9968e5d5}{00090}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___rx_a0a5cdc492b09b33ae665706c9968e5d5}{Func}}; }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00091}\mbox{\hyperlink{classbsp___mod_bus___rx_ac1a35ae91223298913373de0d3e7c02d}{00091}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___rx_ac1a35ae91223298913373de0d3e7c02d}{crcts}}; }
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00092}00092 \textcolor{comment}{// 保持寄存器特有}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00093}\mbox{\hyperlink{classbsp___mod_bus___rx_a091cc0733eb4aa6b06c10afdbfd46b7f}{00093}} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} *\mbox{\hyperlink{classbsp___mod_bus___rx_a091cc0733eb4aa6b06c10afdbfd46b7f}{KeepRegDat}};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00094}\mbox{\hyperlink{classbsp___mod_bus___rx_a7622d0c8c56feb97d263f57115ef3f6a}{00094}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___rx_a7622d0c8c56feb97d263f57115ef3f6a}{KeepRegMem}};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00095}00095 \textcolor{comment}{// 输入寄存器特有}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00096}\mbox{\hyperlink{classbsp___mod_bus___rx_ab275dbfa83dd90eff0cbf0411dfe8e4a}{00096}} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}}* \mbox{\hyperlink{classbsp___mod_bus___rx_ab275dbfa83dd90eff0cbf0411dfe8e4a}{InRegDat}};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00097}\mbox{\hyperlink{classbsp___mod_bus___rx_a37508047d184916eb7133a4ad8f10a6c}{00097}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___rx_a37508047d184916eb7133a4ad8f10a6c}{InRegMem}};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00098}00098 \textcolor{comment}{// 输出线圈特有}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00099}\mbox{\hyperlink{classbsp___mod_bus___rx_a6612d15d148b4944662851bd8fabae04}{00099}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* \mbox{\hyperlink{classbsp___mod_bus___rx_a6612d15d148b4944662851bd8fabae04}{OutCoilDat}};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00100}\mbox{\hyperlink{classbsp___mod_bus___rx_a062f82edfe722d8cb783b67a5a085bee}{00100}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___rx_a062f82edfe722d8cb783b67a5a085bee}{OutCoilMem}};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00101}00101 \textcolor{comment}{// 输入线圈特有}}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00102}\mbox{\hyperlink{classbsp___mod_bus___rx_a8ca97f2e7b033faddbb1772f15d91d4d}{00102}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}* \mbox{\hyperlink{classbsp___mod_bus___rx_a8ca97f2e7b033faddbb1772f15d91d4d}{InCoilDat}};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00103}\mbox{\hyperlink{classbsp___mod_bus___rx_a22f49f0782c4580b0f582c27fbd758a3}{00103}} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{classbsp___mod_bus___rx_a22f49f0782c4580b0f582c27fbd758a3}{InCoilMem}};\};}
\DoxyCodeLine{\Hypertarget{bsp___mod_bus_8h_source_l00105}00105 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}