146 lines
9.7 KiB
XML
146 lines
9.7 KiB
XML
|
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||
|
|
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.5" xml:lang="zh">
|
||
|
|
<compounddef id="classbsp___mod_bus___s_t_m32" kind="class" language="C++" prot="public">
|
||
|
|
<compoundname>bsp_ModBus_STM32</compoundname>
|
||
|
|
<basecompoundref refid="classbsp___mod_bus___tx" prot="public" virt="non-virtual">bsp_ModBus_Tx</basecompoundref>
|
||
|
|
<includes refid="bsp___mod_bus___s_t_m32_8h" local="no">bsp_ModBus_STM32.h</includes>
|
||
|
|
<sectiondef kind="private-attrib">
|
||
|
|
<memberdef kind="variable" id="classbsp___mod_bus___s_t_m32_1a2f27c0f66492c3064f28698ce055039d" prot="private" static="no" mutable="no">
|
||
|
|
<type>UART_HandleTypeDef *</type>
|
||
|
|
<definition>UART_HandleTypeDef* bsp_ModBus_STM32::huart</definition>
|
||
|
|
<argsstring></argsstring>
|
||
|
|
<name>huart</name>
|
||
|
|
<qualifiedname>bsp_ModBus_STM32::huart</qualifiedname>
|
||
|
|
<briefdescription>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<inbodydescription>
|
||
|
|
</inbodydescription>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" line="54" column="20" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" bodystart="54" bodyend="-1"/>
|
||
|
|
<referencedby refid="classbsp___mod_bus___s_t_m32_1a5ad770cac0532b9b5eb76c11ebef0435" compoundref="bsp___mod_bus___s_t_m32_8h" startline="47" endline="49">bsp_ModBus_STM32</referencedby>
|
||
|
|
<referencedby refid="classbsp___mod_bus___s_t_m32_1a3dda1f4a2a120c6a4482ff6d9d82f4e8" compoundref="bsp___mod_bus___s_t_m32_8h" startline="51" endline="52">Transmit</referencedby>
|
||
|
|
</memberdef>
|
||
|
|
<memberdef kind="variable" id="classbsp___mod_bus___s_t_m32_1a41fc083e184c2f3a6e5225b2a8212347" prot="private" static="no" mutable="no">
|
||
|
|
<type>uint32_t</type>
|
||
|
|
<definition>uint32_t bsp_ModBus_STM32::Timeout</definition>
|
||
|
|
<argsstring></argsstring>
|
||
|
|
<name>Timeout</name>
|
||
|
|
<qualifiedname>bsp_ModBus_STM32::Timeout</qualifiedname>
|
||
|
|
<briefdescription>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<inbodydescription>
|
||
|
|
</inbodydescription>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" line="55" column="10" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" bodystart="55" bodyend="-1"/>
|
||
|
|
<referencedby refid="classbsp___mod_bus___s_t_m32_1a5ad770cac0532b9b5eb76c11ebef0435" compoundref="bsp___mod_bus___s_t_m32_8h" startline="47" endline="49">bsp_ModBus_STM32</referencedby>
|
||
|
|
</memberdef>
|
||
|
|
</sectiondef>
|
||
|
|
<sectiondef kind="public-func">
|
||
|
|
<memberdef kind="function" id="classbsp___mod_bus___s_t_m32_1a5ad770cac0532b9b5eb76c11ebef0435" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||
|
|
<type></type>
|
||
|
|
<definition>bsp_ModBus_STM32::bsp_ModBus_STM32</definition>
|
||
|
|
<argsstring>(UART_HandleTypeDef *huart, u8 ID, uint32_t Timeout)</argsstring>
|
||
|
|
<name>bsp_ModBus_STM32</name>
|
||
|
|
<qualifiedname>bsp_ModBus_STM32::bsp_ModBus_STM32</qualifiedname>
|
||
|
|
<param>
|
||
|
|
<type>UART_HandleTypeDef *</type>
|
||
|
|
<declname>huart</declname>
|
||
|
|
</param>
|
||
|
|
<param>
|
||
|
|
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref></type>
|
||
|
|
<declname>ID</declname>
|
||
|
|
</param>
|
||
|
|
<param>
|
||
|
|
<type>uint32_t</type>
|
||
|
|
<declname>Timeout</declname>
|
||
|
|
</param>
|
||
|
|
<briefdescription>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<inbodydescription>
|
||
|
|
</inbodydescription>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" line="47" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" bodystart="47" bodyend="49"/>
|
||
|
|
<references refid="classbsp___mod_bus___s_t_m32_1a2f27c0f66492c3064f28698ce055039d" compoundref="bsp___mod_bus___s_t_m32_8h" startline="54">huart</references>
|
||
|
|
<references refid="classbsp___mod_bus___s_t_m32_1a41fc083e184c2f3a6e5225b2a8212347" compoundref="bsp___mod_bus___s_t_m32_8h" startline="55">Timeout</references>
|
||
|
|
</memberdef>
|
||
|
|
</sectiondef>
|
||
|
|
<sectiondef kind="protected-func">
|
||
|
|
<memberdef kind="function" id="classbsp___mod_bus___s_t_m32_1a3dda1f4a2a120c6a4482ff6d9d82f4e8" prot="protected" static="no" const="no" explicit="no" inline="yes" virt="virtual">
|
||
|
|
<type>void</type>
|
||
|
|
<definition>virtual void bsp_ModBus_STM32::Transmit</definition>
|
||
|
|
<argsstring>(u8 *dat, u16 len)</argsstring>
|
||
|
|
<name>Transmit</name>
|
||
|
|
<qualifiedname>bsp_ModBus_STM32::Transmit</qualifiedname>
|
||
|
|
<reimplements refid="classbsp___mod_bus___tx_1ac017f6145ba6f87c69a16510f868dcc2">Transmit</reimplements>
|
||
|
|
<param>
|
||
|
|
<type><ref refid="varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca" kindref="member">u8</ref> *</type>
|
||
|
|
<declname>dat</declname>
|
||
|
|
</param>
|
||
|
|
<param>
|
||
|
|
<type><ref refid="varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa" kindref="member">u16</ref></type>
|
||
|
|
<declname>len</declname>
|
||
|
|
</param>
|
||
|
|
<briefdescription>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<inbodydescription>
|
||
|
|
</inbodydescription>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" line="51" column="14" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" bodystart="51" bodyend="52"/>
|
||
|
|
<references refid="classbsp___mod_bus___s_t_m32_1a2f27c0f66492c3064f28698ce055039d" compoundref="bsp___mod_bus___s_t_m32_8h" startline="54">huart</references>
|
||
|
|
</memberdef>
|
||
|
|
</sectiondef>
|
||
|
|
<briefdescription>
|
||
|
|
<para>STM32用串口的ModBus发送器 </para>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<inheritancegraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>bsp_ModBus_STM32</label>
|
||
|
|
<link refid="classbsp___mod_bus___s_t_m32"/>
|
||
|
|
<childnode refid="2" relation="public-inheritance">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>bsp_ModBus_Tx</label>
|
||
|
|
<link refid="classbsp___mod_bus___tx"/>
|
||
|
|
</node>
|
||
|
|
</inheritancegraph>
|
||
|
|
<collaborationgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>bsp_ModBus_STM32</label>
|
||
|
|
<link refid="classbsp___mod_bus___s_t_m32"/>
|
||
|
|
<childnode refid="2" relation="public-inheritance">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>bsp_ModBus_Tx</label>
|
||
|
|
<link refid="classbsp___mod_bus___tx"/>
|
||
|
|
</node>
|
||
|
|
</collaborationgraph>
|
||
|
|
<location file="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" line="45" column="1" bodyfile="D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h" bodystart="45" bodyend="55"/>
|
||
|
|
<listofallmembers>
|
||
|
|
<member refid="classbsp___mod_bus___s_t_m32_1a5ad770cac0532b9b5eb76c11ebef0435" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>bsp_ModBus_STM32</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1ac277122ddb733aa37a0000086d5ae239" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>bsp_ModBus_Tx</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___s_t_m32_1a2f27c0f66492c3064f28698ce055039d" prot="private" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>huart</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1a4ee454ddd116e2b608d9b35b02eee0e4" prot="protected" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>ID</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1a76e712e8d638ecc7b453e1c8afbbad98" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>ReadInCoil</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1af055e2569107b8ece7abdce3301e9444" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>ReadInReg</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1ada605c0e9195aefd43968cfe5b347565" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>ReadKeepReg</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1abc721f5c61e236df505f3447818be921" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>ReadOutCoil</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___s_t_m32_1a41fc083e184c2f3a6e5225b2a8212347" prot="private" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>Timeout</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___s_t_m32_1a3dda1f4a2a120c6a4482ff6d9d82f4e8" prot="protected" virt="virtual"><scope>bsp_ModBus_STM32</scope><name>Transmit</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1a630ac7566fe9d1773baa813802202d0f" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>WriteCoils</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1a280c5d7c99196a11b5fee7b34421a8ff" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>WriteCoilsVar</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1aa8d37cc0cefaad8f41bc1d195a326d95" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>WriteOneCoil</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1a02ea1680f5c361f2cf4ebcb48b565281" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>WriteOneReg</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1a268c136782f8146662f33878522c270c" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>WriteRegs</name></member>
|
||
|
|
<member refid="classbsp___mod_bus___tx_1acc267977d61716e25fd3e3ec57bc2960" prot="public" virt="non-virtual"><scope>bsp_ModBus_STM32</scope><name>WriteRegsVar</name></member>
|
||
|
|
</listofallmembers>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|