\doxysection{E\+:/.WORK/\+STM32/\+Diod\+\_\+\+Test/diode\+\_\+tester/\+Core/\+Modbus/modbus\+\_\+config.h File Reference}
\hypertarget{modbus__config_8h}{}\label{modbus__config_8h}\index{E:/.WORK/STM32/Diod\_Test/diode\_tester/Core/Modbus/modbus\_config.h@{E:/.WORK/STM32/Diod\_Test/diode\_tester/Core/Modbus/modbus\_config.h}}


Конфигурационные параметры Modbus устройства  


{\ttfamily \#include "{}stm32f1xx\+\_\+hal.\+h"{}}\newline
Include dependency graph for modbus\+\_\+config.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=211pt]{modbus__config_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__config_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_gab9b18e108b98b225a52c5ccca58e7f2b}{MODBUS\+\_\+\+DEVICE\+\_\+\+ID}}~1
\begin{DoxyCompactList}\small\item\em Адрес устройства в сети Modbus. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga66f7c59a25c8cca6d5b0991895c26b69}{MODBUS\+\_\+\+TIMEOUT}}~5000
\begin{DoxyCompactList}\small\item\em Таймаут в тиках таймера \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga0e01f19c79d049b745b28cc708ba0c2f}{MODBUS\+\_\+\+VENDOR\+\_\+\+NAME}}~"{}NIO-\/12"{}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga6e8dea7833243443899787fd7186ab36}{MODBUS\+\_\+\+PRODUCT\+\_\+\+CODE}}~"{}"{}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga270858b2ee3dc5de6666e05ba0b7044a}{MODBUS\+\_\+\+REVISION}}~"{}"{}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga0d4f8c7ad821f1e47c06fca438cc2065}{MODBUS\+\_\+\+VENDOR\+\_\+\+URL}}~"{}"{}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga272ac8bc7eb92d40e731954cc627e28b}{MODBUS\+\_\+\+PRODUCT\+\_\+\+NAME}}~"{}"{}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga94dff4b6008db9de88a18f80507b745c}{MODBUS\+\_\+\+MODEL\+\_\+\+NAME}}~"{}"{}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga197c776ad1235d5f4fa17318e60628a9}{MODBUS\+\_\+\+USER\+\_\+\+APPLICATION\+\_\+\+NAME}}~"{}"{}
\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga5c7e9c2180ceac1208f4b791d7b70a0a}{MODBUS\+\_\+\+NUMB\+\_\+\+OF\+\_\+\+USEROBJECTS}}~0
\begin{DoxyCompactList}\small\item\em Количество пользовательских объектов \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_gac3b162e9af2731742eb3ca8317b37397}{MODBUS\+\_\+\+USEROBJECT\+\_\+0\+\_\+\+NAME}}~"{}"{}
\begin{DoxyCompactList}\small\item\em Строка пользовательского идентификатора 0. По аналогии можно определить строки до \texorpdfstring{$<$}{<}=128 USEROBJECT. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga370986118b8227cb6cb33c6b748fbbcb}{mb\+\_\+huart}}~huart1
\begin{DoxyCompactList}\small\item\em Удобный дефайн для модбасовского uart. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga6723a1608946a4f86cd7c9c7e614d04e}{mb\+\_\+htim}}~htim3
\begin{DoxyCompactList}\small\item\em Удобный дефайн для модбасовского таймера \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_gae11f9ed7ca5e75d332a1187d2a213f9c}{MODBUS\+\_\+\+ENABLE\+\_\+\+SLAVE}}
\begin{DoxyCompactList}\small\item\em Включить обработку СЛЕЙВ режима \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_gae4fc30421556e1ee530f13a4b3924f5a}{MODBUS\+\_\+\+ENABLE\+\_\+\+MASTER}}
\begin{DoxyCompactList}\small\item\em Включить обработку МАСТЕР режима \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga29ce22b8b7f0622bc23171c6ae2dc8d1}{MODBUS\+\_\+\+ENABLE\+\_\+\+COILS}}
\begin{DoxyCompactList}\small\item\em Включить обработку коилов \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_gaf6a8dfc090b3915d668d78ee19585344}{MODBUS\+\_\+\+ENABLE\+\_\+\+HOLDINGS}}
\begin{DoxyCompactList}\small\item\em Включить обработку регистров хранения \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga23d7073c81bedb80a302140afd0d79c0}{MODBUS\+\_\+\+ENABLE\+\_\+\+INPUTS}}
\begin{DoxyCompactList}\small\item\em Включить обработку входных регистров \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_ga5bf9f305bd863b10f1b350c5004ddda7}{MODBUS\+\_\+\+ENABLE\+\_\+\+DEVICE\+\_\+\+IDENTIFICATIONS}}
\begin{DoxyCompactList}\small\item\em Включить обработку идентификаторы устройства \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___m_o_d_b_u_s___c_o_n_f_i_g_s_gae68222efbcf3199706bfaef46af97bf8}{MODBUS\+\_\+\+ENABLE\+\_\+\+DIAGNOSTICS}}
\begin{DoxyCompactList}\small\item\em Включить обработку диагностики модбас \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Конфигурационные параметры Modbus устройства 



Definition in file \mbox{\hyperlink{modbus__config_8h_source}{modbus\+\_\+config.\+h}}.

