\doxysubsubsection{Diagnostics Tools }
\hypertarget{group___m_o_d_b_u_s___d_i_a_g}{}\label{group___m_o_d_b_u_s___d_i_a_g}\index{Diagnostics Tools@{Diagnostics Tools}}


Функции для работы с диагностикой  


Collaboration diagram for Diagnostics Tools\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=321pt]{group___m_o_d_b_u_s___d_i_a_g}
\end{center}
\end{figure}
\doxysubsubsubsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct_m_b___diagnostics_info_type_def}{MB\+\_\+\+Diagnostics\+Info\+Type\+Def}}
\begin{DoxyCompactList}\small\item\em Структура со диагностической информацией устройства модбас \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group___m_o_d_b_u_s___d_i_a_g_ga9d139168bb88bfa1ba1597eeff9ebf6a}{MB\+\_\+\+Device\+Mode\+Type\+Def}} \{ {\bfseries MODBUS\+\_\+\+NORMAL\+\_\+\+MODE} = 0
, {\bfseries MODBUS\+\_\+\+LISTEN\+\_\+\+ONLY\+\_\+\+MODE} = 1
 \}
\begin{DoxyCompactList}\small\item\em Режимы работы устройства \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group___m_o_d_b_u_s___d_i_a_g_ga9b61a6d4139bac318868e93f03cd82c7}{MB\+\_\+\+Diagnostics\+Init}} (void)
\begin{DoxyCompactList}\small\item\em Инициализация диагностических счетчиков \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{struct_m_b___diagnostics_info_type_def}{MB\+\_\+\+Diagnostics\+Info\+Type\+Def}} \mbox{\hyperlink{group___m_o_d_b_u_s___d_i_a_g_ga4ba6111ac80e342396f9703239323936}{MB\+\_\+\+DIAG}}
\begin{DoxyCompactList}\small\item\em Глобальная структура диагностики \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsubsection{Detailed Description}
Функции для работы с диагностикой 

Модуль реализации Diagnostics (Serial Line only) (0x08)\+:
\begin{DoxyItemize}
\item Полная поддержка всех подфункций диагностики
\item Возможность выставить/сбросить любой бит в диагностическом регистре
\item Сбор статистики работы устройства
\item Управление режимами работы
\end{DoxyItemize}

\label{doc-enum-members}
\Hypertarget{group___m_o_d_b_u_s___d_i_a_g_doc-enum-members}
\doxysubsubsubsection{Enumeration Type Documentation}
\Hypertarget{group___m_o_d_b_u_s___d_i_a_g_ga9d139168bb88bfa1ba1597eeff9ebf6a}\index{Diagnostics Tools@{Diagnostics Tools}!MB\_DeviceModeTypeDef@{MB\_DeviceModeTypeDef}}
\index{MB\_DeviceModeTypeDef@{MB\_DeviceModeTypeDef}!Diagnostics Tools@{Diagnostics Tools}}
\doxysubsubsubsubsection{\texorpdfstring{MB\_DeviceModeTypeDef}{MB\_DeviceModeTypeDef}}
{\footnotesize\ttfamily \label{group___m_o_d_b_u_s___d_i_a_g_ga9d139168bb88bfa1ba1597eeff9ebf6a} 
enum \mbox{\hyperlink{group___m_o_d_b_u_s___d_i_a_g_ga9d139168bb88bfa1ba1597eeff9ebf6a}{MB\+\_\+\+Device\+Mode\+Type\+Def}}}



Режимы работы устройства 



Definition at line \mbox{\hyperlink{modbus__diag_8h_source_l00030}{30}} of file \mbox{\hyperlink{modbus__diag_8h_source}{modbus\+\_\+diag.\+h}}.



\label{doc-func-members}
\Hypertarget{group___m_o_d_b_u_s___d_i_a_g_doc-func-members}
\doxysubsubsubsection{Function Documentation}
\Hypertarget{group___m_o_d_b_u_s___d_i_a_g_ga9b61a6d4139bac318868e93f03cd82c7}\index{Diagnostics Tools@{Diagnostics Tools}!MB\_DiagnosticsInit@{MB\_DiagnosticsInit}}
\index{MB\_DiagnosticsInit@{MB\_DiagnosticsInit}!Diagnostics Tools@{Diagnostics Tools}}
\doxysubsubsubsubsection{\texorpdfstring{MB\_DiagnosticsInit()}{MB\_DiagnosticsInit()}}
{\footnotesize\ttfamily \label{group___m_o_d_b_u_s___d_i_a_g_ga9b61a6d4139bac318868e93f03cd82c7} 
void MB\+\_\+\+Diagnostics\+Init (\begin{DoxyParamCaption}\item[{void}]{}{}\end{DoxyParamCaption})}



Инициализация диагностических счетчиков 



Definition at line \mbox{\hyperlink{modbus__diag_8c_source_l00022}{22}} of file \mbox{\hyperlink{modbus__diag_8c_source}{modbus\+\_\+diag.\+c}}.



\label{doc-var-members}
\Hypertarget{group___m_o_d_b_u_s___d_i_a_g_doc-var-members}
\doxysubsubsubsection{Variable Documentation}
\Hypertarget{group___m_o_d_b_u_s___d_i_a_g_ga4ba6111ac80e342396f9703239323936}\index{Diagnostics Tools@{Diagnostics Tools}!MB\_DIAG@{MB\_DIAG}}
\index{MB\_DIAG@{MB\_DIAG}!Diagnostics Tools@{Diagnostics Tools}}
\doxysubsubsubsubsection{\texorpdfstring{MB\_DIAG}{MB\_DIAG}}
{\footnotesize\ttfamily \label{group___m_o_d_b_u_s___d_i_a_g_ga4ba6111ac80e342396f9703239323936} 
\mbox{\hyperlink{struct_m_b___diagnostics_info_type_def}{MB\+\_\+\+Diagnostics\+Info\+Type\+Def}} MB\+\_\+\+DIAG\hspace{0.3cm}{\ttfamily [extern]}}



Глобальная структура диагностики 



Definition at line \mbox{\hyperlink{modbus__diag_8c_source_l00017}{17}} of file \mbox{\hyperlink{modbus__diag_8c_source}{modbus\+\_\+diag.\+c}}.

