Files
UKSI_TEST/AllLibs/Modbus/Doc/latex/modbus_8h.tex
2025-12-16 17:57:59 +03:00

57 lines
4.2 KiB
TeX

\doxysection{E\+:/.WORK/\+STM32/\+Diod\+\_\+\+Test/diode\+\_\+tester/\+Core/\+Modbus/\+Inc/modbus.h File Reference}
\hypertarget{modbus_8h}{}\label{modbus_8h}\index{E:/.WORK/STM32/Diod\_Test/diode\_tester/Core/Modbus/Inc/modbus.h@{E:/.WORK/STM32/Diod\_Test/diode\_tester/Core/Modbus/Inc/modbus.h}}
Главный заголовочный файл Modbus библиотеки
{\ttfamily \#include "{}rs\+\_\+message.\+h"{}}\newline
{\ttfamily \#include "{}modbus\+\_\+master.\+h"{}}\newline
{\ttfamily \#include "{}modbus\+\_\+slave.\+h"{}}\newline
{\ttfamily \#include "{}modbus\+\_\+coils.\+h"{}}\newline
{\ttfamily \#include "{}modbus\+\_\+holdregs.\+h"{}}\newline
{\ttfamily \#include "{}modbus\+\_\+inputregs.\+h"{}}\newline
{\ttfamily \#include "{}modbus\+\_\+devid.\+h"{}}\newline
{\ttfamily \#include "{}modbus\+\_\+diag.\+h"{}}\newline
Include dependency graph for modbus.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{modbus_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{modbus_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___f_u_n_c_t_i_o_n_s_gad91eec9c3350f2705f1bbe1856cb0159}{MODBUS\+\_\+\+MODE\+\_\+\+MASTER}}~1
\begin{DoxyCompactList}\small\item\em Псевдо-\/enum\+: Режим мастер \end{DoxyCompactList}\item
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___f_u_n_c_t_i_o_n_s_gac0b3749af91f1007fd0291157b66b305}{MODBUS\+\_\+\+MODE\+\_\+\+SLAVE}}~0
\begin{DoxyCompactList}\small\item\em Псевдо-\/enum\+: Режим слейв \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item
HAL\+\_\+\+Status\+Type\+Def \mbox{\hyperlink{group___m_o_d_b_u_s___f_u_n_c_t_i_o_n_s_ga9e787c3454aab3293dec6e6795f687f5}{MODBUS\+\_\+\+First\+Init}} (\mbox{\hyperlink{struct_r_s___handle_type_def}{RS\+\_\+\+Handle\+Type\+Def}} \texorpdfstring{$\ast$}{*}hmodbus, UART\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*}huart, TIM\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*}htim)
\begin{DoxyCompactList}\small\item\em Инициализация периферии модбас. \end{DoxyCompactList}\item
HAL\+\_\+\+Status\+Type\+Def \mbox{\hyperlink{group___m_o_d_b_u_s___f_u_n_c_t_i_o_n_s_ga460466907693a256487d31f09b16edfe}{MODBUS\+\_\+\+Config}} (\mbox{\hyperlink{struct_r_s___handle_type_def}{RS\+\_\+\+Handle\+Type\+Def}} \texorpdfstring{$\ast$}{*}hmodbus, uint8\+\_\+t ID, uint16\+\_\+t Timeout, uint8\+\_\+t master)
\begin{DoxyCompactList}\small\item\em Программная конфигурация модбас. \end{DoxyCompactList}\item
HAL\+\_\+\+Status\+Type\+Def \mbox{\hyperlink{group___m_o_d_b_u_s___f_u_n_c_t_i_o_n_s_ga9a17402983188566254b7096342ba69e}{MODBUS\+\_\+\+Slave\+Start}} (\mbox{\hyperlink{struct_r_s___handle_type_def}{RS\+\_\+\+Handle\+Type\+Def}} \texorpdfstring{$\ast$}{*}hmodbus, \mbox{\hyperlink{struct_r_s___msg_type_def}{RS\+\_\+\+Msg\+Type\+Def}} \texorpdfstring{$\ast$}{*}modbus\+\_\+msg)
\begin{DoxyCompactList}\small\item\em Запуск слейв модбас. \end{DoxyCompactList}\item
HAL\+\_\+\+Status\+Type\+Def \mbox{\hyperlink{group___m_o_d_b_u_s___f_u_n_c_t_i_o_n_s_ga19090cabfba2345391e37398125a2f55}{MODBUS\+\_\+\+Master\+Request}} (\mbox{\hyperlink{struct_r_s___handle_type_def}{RS\+\_\+\+Handle\+Type\+Def}} \texorpdfstring{$\ast$}{*}hmodbus, \mbox{\hyperlink{struct_r_s___msg_type_def}{RS\+\_\+\+Msg\+Type\+Def}} \texorpdfstring{$\ast$}{*}modbus\+\_\+msg, void(\texorpdfstring{$\ast$}{*}p\+Clbk)(\mbox{\hyperlink{struct_r_s___handle_type_def}{RS\+\_\+\+Handle\+Type\+Def}} \texorpdfstring{$\ast$}{*}, \mbox{\hyperlink{struct_r_s___msg_type_def}{RS\+\_\+\+Msg\+Type\+Def}} \texorpdfstring{$\ast$}{*}))
\begin{DoxyCompactList}\small\item\em Реквест мастера модбас. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{Detailed Description}
Главный заголовочный файл Modbus библиотеки
Definition in file \mbox{\hyperlink{modbus_8h_source}{modbus.\+h}}.