93 lines
22 KiB
XML
93 lines
22 KiB
XML
|
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||
|
|
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___mod_bus_8h_source" xml:lang="zh">
|
||
|
|
<title>bsp_ModBus.h</title>
|
||
|
|
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus.h</primary></indexterm>
|
||
|
|
浏览该文件的文档.<programlisting linenumbering="unnumbered"><anchor xml:id="_bsp___mod_bus_8h_source_1l00001"/>00001 <emphasis role="comment">/*----------------------------------------------------------------------------------------------------</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00002"/>00002 <emphasis role="comment"> #</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00003"/>00003 <emphasis role="comment"> #  Copyright (c) 2022 Yuankang Liang(XerolySkinner)</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00004"/>00004 <emphasis role="comment"> #</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00005"/>00005 <emphasis role="comment"> #  本软件按原样提供,无任何明示或暗示</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00006"/>00006 <emphasis role="comment"> #  在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00007"/>00007 <emphasis role="comment"> #</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00008"/>00008 <emphasis role="comment"> #  使用的许可声明:</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00009"/>00009 <emphasis role="comment"> #  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00010"/>00010 <emphasis role="comment"> #  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00011"/>00011 <emphasis role="comment"> #      并且版权声明和许可声明同时出现.</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00012"/>00012 <emphasis role="comment"> #  3.  你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00013"/>00013 <emphasis role="comment"> #  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00014"/>00014 <emphasis role="comment"> #  5.  本通知不得从任何来源删除或更改.</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00015"/>00015 <emphasis role="comment"> #</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00016"/>00016 <emphasis role="comment"> #  Yuankang Liang(XerolySkinner)</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00017"/>00017 <emphasis role="comment"> #      E-mail:zabbcccbbaz@163.com</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00018"/>00018 <emphasis role="comment"> #      QQ:2715099320</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00019"/>00019 <emphasis role="comment"> #      Mobile Phone:13005636215</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00020"/>00020 <emphasis role="comment"> #</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00021"/>00021 <emphasis role="comment"> #  All rights reserved.</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00022"/>00022 <emphasis role="comment"> */</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00023"/>00023
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00033"/>00033 <emphasis role="preprocessor">#pragma once</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00034"/>00034 <emphasis role="preprocessor">#include "<link linkend="_varint_8h">varint.h</link>"</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00035"/>00035 <emphasis role="preprocessor">#include "usart.h"</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00036"/>00036 <emphasis role="preprocessor">#include <stdarg.h></emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00037"/>00037 <emphasis role="preprocessor">#ifdef __cplusplus</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00039"/>00039 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00040"/>00040 <emphasis role="comment">//  数据码</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00041"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643">00041</link> <emphasis role="keyword">enum</emphasis> <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643">Fun_ModBus</link> {
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00042"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643afa0834864982fdb57c9a954bdbd1599b">00042</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643afa0834864982fdb57c9a954bdbd1599b">Fun_R_OutCoil</link>   = 0x01,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00043"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a8c70d4d5036c1a3f9c51a545d13fdd92">00043</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a8c70d4d5036c1a3f9c51a545d13fdd92">Fun_R_InCoil</link>    = 0x02,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00044"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a9ec5f1febebcade07d80148f67d51594">00044</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a9ec5f1febebcade07d80148f67d51594">Fun_R_KeepReg</link>   = 0x03,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00045"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643ab285b7d7c40fa9a85adba60a3a769fca">00045</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643ab285b7d7c40fa9a85adba60a3a769fca">Fun_R_InReg</link>     = 0x04,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00046"/>00046
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00047"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a95bb48bd2de82de8a2f5684a6cccff0f">00047</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a95bb48bd2de82de8a2f5684a6cccff0f">Fun_W_OneCoil</link>   = 0x05,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00048"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a2e8689560573f300af3a6c48fdd6ce86">00048</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a2e8689560573f300af3a6c48fdd6ce86">Fun_W_OneReg</link>    = 0x06,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00049"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a0a40a9622af4e5cb7daecbdb303ee35e">00049</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a0a40a9622af4e5cb7daecbdb303ee35e">Fun_W_Coils</link>     = 0x0F,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00050"/><link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a54562faaab8c1c932c46c6c4cb2552f9">00050</link>     <link linkend="_bsp___mod_bus_8h_1ac6d9f6c262df700be9045045502e7643a54562faaab8c1c932c46c6c4cb2552f9">Fun_W_Regs</link>      = 0x10,             
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00051"/>00051 };
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00053"/>00053 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00054"/>00054 <emphasis role="comment">//  类目</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00058"/><link linkend="_classbsp___mod_bus___tx">00058</link> <emphasis role="comment"></emphasis><emphasis role="keyword">class </emphasis><link linkend="_classbsp___mod_bus___tx">bsp_ModBus_Tx</link>{
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00059"/>00059     <emphasis role="keyword">public</emphasis>:
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00060"/>00060         <link linkend="_classbsp___mod_bus___tx">bsp_ModBus_Tx</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> <link linkend="_classbsp___mod_bus___tx_1a4ee454ddd116e2b608d9b35b02eee0e4">ID</link>);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00061"/>00061     <emphasis role="keyword">public</emphasis>:
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00062"/>00062         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1ada605c0e9195aefd43968cfe5b347565">ReadKeepReg</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address,<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00063"/>00063         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1af055e2569107b8ece7abdce3301e9444">ReadInReg</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00064"/>00064         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1a02ea1680f5c361f2cf4ebcb48b565281">WriteOneReg</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> var);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00065"/>00065         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1a268c136782f8146662f33878522c270c">WriteRegs</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link>* var);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00066"/>00066         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1acc267977d61716e25fd3e3ec57bc2960">WriteRegsVar</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem,...);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00067"/>00067
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00068"/>00068         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1abc721f5c61e236df505f3447818be921">ReadOutCoil</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address,<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00069"/>00069         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1a76e712e8d638ecc7b453e1c8afbbad98">ReadInCoil</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00070"/>00070         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1aa8d37cc0cefaad8f41bc1d195a326d95">WriteOneCoil</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> state);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00071"/>00071         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1a630ac7566fe9d1773baa813802202d0f">WriteCoils</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem, <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>* var);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00072"/>00072         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1a280c5d7c99196a11b5fee7b34421a8ff">WriteCoilsVar</link>(<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> address, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> mem,...);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00073"/>00073     <emphasis role="keyword">protected</emphasis>:
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00074"/><link linkend="_classbsp___mod_bus___tx_1ac017f6145ba6f87c69a16510f868dcc2">00074</link>         <emphasis role="keyword">virtual</emphasis> <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___tx_1ac017f6145ba6f87c69a16510f868dcc2">Transmit</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> *dat, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> len)=0;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00075"/>00075     <emphasis role="keyword">protected</emphasis>:
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00076"/><link linkend="_classbsp___mod_bus___tx_1a4ee454ddd116e2b608d9b35b02eee0e4">00076</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___tx_1a4ee454ddd116e2b608d9b35b02eee0e4">ID</link>;                     
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00077"/>00077     };
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00078"/>00078 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00082"/><link linkend="_classbsp___mod_bus___rx">00082</link> <emphasis role="comment"></emphasis><emphasis role="keyword">class </emphasis><link linkend="_classbsp___mod_bus___rx">bsp_ModBus_Rx</link>{
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00083"/>00083     <emphasis role="keyword">public</emphasis>:
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00084"/>00084         <link linkend="_classbsp___mod_bus___rx_1a87e68578770301c3d78c9b7f551bb627">bsp_ModBus_Rx</link>(<emphasis role="keywordtype">void</emphasis>);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00085"/>00085         <link linkend="_classbsp___mod_bus___rx_1afa1dac97034b51725349ab5b1a2aa909">~bsp_ModBus_Rx</link>(<emphasis role="keywordtype">void</emphasis>);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00086"/>00086     <emphasis role="keyword">public</emphasis>:
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00087"/>00087         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___mod_bus___rx_1a39330845d4ced51850b9edaaab052e0f">analysis</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>* dat);
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00088"/>00088         <emphasis role="comment">//      共有变量</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00089"/><link linkend="_classbsp___mod_bus___rx_1a045cc9c5f9d26ad5be1da2d2cfdcbefc">00089</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___rx_1a045cc9c5f9d26ad5be1da2d2cfdcbefc">ID</link>;                     
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00090"/><link linkend="_classbsp___mod_bus___rx_1a0a5cdc492b09b33ae665706c9968e5d5">00090</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___rx_1a0a5cdc492b09b33ae665706c9968e5d5">Func</link>;                   
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00091"/><link linkend="_classbsp___mod_bus___rx_1ac1a35ae91223298913373de0d3e7c02d">00091</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___rx_1ac1a35ae91223298913373de0d3e7c02d">crcts</link>;                  
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00092"/>00092         <emphasis role="comment">//      保持寄存器特有</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00093"/><link linkend="_classbsp___mod_bus___rx_1a091cc0733eb4aa6b06c10afdbfd46b7f">00093</link>         <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link>     *<link linkend="_classbsp___mod_bus___rx_1a091cc0733eb4aa6b06c10afdbfd46b7f">KeepRegDat</link>;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00094"/><link linkend="_classbsp___mod_bus___rx_1a7622d0c8c56feb97d263f57115ef3f6a">00094</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___rx_1a7622d0c8c56feb97d263f57115ef3f6a">KeepRegMem</link>;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00095"/>00095         <emphasis role="comment">//      输入寄存器特有</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00096"/><link linkend="_classbsp___mod_bus___rx_1ab275dbfa83dd90eff0cbf0411dfe8e4a">00096</link>         <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link>*    <link linkend="_classbsp___mod_bus___rx_1ab275dbfa83dd90eff0cbf0411dfe8e4a">InRegDat</link>;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00097"/><link linkend="_classbsp___mod_bus___rx_1a37508047d184916eb7133a4ad8f10a6c">00097</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___rx_1a37508047d184916eb7133a4ad8f10a6c">InRegMem</link>;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00098"/>00098         <emphasis role="comment">//      输出线圈特有</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00099"/><link linkend="_classbsp___mod_bus___rx_1a6612d15d148b4944662851bd8fabae04">00099</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*     <link linkend="_classbsp___mod_bus___rx_1a6612d15d148b4944662851bd8fabae04">OutCoilDat</link>;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00100"/><link linkend="_classbsp___mod_bus___rx_1a062f82edfe722d8cb783b67a5a085bee">00100</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___rx_1a062f82edfe722d8cb783b67a5a085bee">OutCoilMem</link>;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00101"/>00101         <emphasis role="comment">//      输入线圈特有</emphasis>
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00102"/><link linkend="_classbsp___mod_bus___rx_1a8ca97f2e7b033faddbb1772f15d91d4d">00102</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*     <link linkend="_classbsp___mod_bus___rx_1a8ca97f2e7b033faddbb1772f15d91d4d">InCoilDat</link>;
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00103"/><link linkend="_classbsp___mod_bus___rx_1a22f49f0782c4580b0f582c27fbd758a3">00103</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>      <link linkend="_classbsp___mod_bus___rx_1a22f49f0782c4580b0f582c27fbd758a3">InCoilMem</link>;};
|
||
|
|
<anchor xml:id="_bsp___mod_bus_8h_source_1l00105"/>00105 <emphasis role="preprocessor">#endif</emphasis>
|
||
|
|
</programlisting></section>
|