\doxysection{RS\+\_\+\+Msg\+Type\+Def Struct Reference}
\hypertarget{struct_r_s___msg_type_def}{}\label{struct_r_s___msg_type_def}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}}


Structure for modbus messsage.  




{\ttfamily \#include $<$modbus\+\_\+core.\+h$>$}



Collaboration diagram for RS\+\_\+\+Msg\+Type\+Def\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=198pt]{struct_r_s___msg_type_def__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
uint8\+\_\+t \mbox{\hyperlink{struct_r_s___msg_type_def_a277ed439b65aedbf03bd112c073e6a32}{Mb\+Addr}}
\begin{DoxyCompactList}\small\item\em Modbus Slave Address. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_ga38d42495bf262b70048e6d6a7af175d2}{MB\+\_\+\+Functon\+Type\+Def}} \mbox{\hyperlink{struct_r_s___msg_type_def_a176d779ab0d7fd06a4303e6e6acb6ca9}{Func\+Code}}
\begin{DoxyCompactList}\small\item\em Modbus Function Code. \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_m_b___dev_id_msg_type_def}{MB\+\_\+\+Dev\+Id\+Msg\+Type\+Def}} \mbox{\hyperlink{struct_r_s___msg_type_def_a51c020dacb24e4ffcff28b1d3c6a01ae}{Dev\+Id}}
\begin{DoxyCompactList}\small\item\em Read Device Identifications Header struct. \end{DoxyCompactList}\item 
uint16\+\_\+t \mbox{\hyperlink{struct_r_s___msg_type_def_af99048a71119ba4c17772bd5544b3eef}{Addr}}
\begin{DoxyCompactList}\small\item\em Modbus Address of data. \end{DoxyCompactList}\item 
uint16\+\_\+t \mbox{\hyperlink{struct_r_s___msg_type_def_a1ccb2bf492218a6ae3a5b6ad5cd4c82f}{Qnt}}
\begin{DoxyCompactList}\small\item\em Quantity of modbus data. \end{DoxyCompactList}\item 
uint8\+\_\+t \mbox{\hyperlink{struct_r_s___msg_type_def_a5c69bf212dc5e7dc2eaa50971e27e2a6}{Byte\+Cnt}}
\begin{DoxyCompactList}\small\item\em Quantity of bytes of data in message to transmit/receive. \end{DoxyCompactList}\item 
uint16\+\_\+t \mbox{\hyperlink{struct_r_s___msg_type_def_aacbc6754621bd84742cd6c2ba65ad094}{Mb\+Data}} \mbox{[}\mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_gaf55149bc1f05cf18af067a302e31e3f9}{DATA\+\_\+\+SIZE}}\mbox{]}
\begin{DoxyCompactList}\small\item\em Modbus Data. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_ga4ade64cb3fabf37f010c1e297489980c}{MB\+\_\+\+Exception\+Type\+Def}} \mbox{\hyperlink{struct_r_s___msg_type_def_a3dab5eaf3a1dd5719b8bfec1adad0d39}{Except\+\_\+\+Code}}
\begin{DoxyCompactList}\small\item\em Exception Code for the command. \end{DoxyCompactList}\item 
uint16\+\_\+t \mbox{\hyperlink{struct_r_s___msg_type_def_a423ab838d4c113fd6392452fd44dc1c0}{Mb\+CRC}}
\begin{DoxyCompactList}\small\item\em Modbus CRC. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Structure for modbus messsage. 

Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00176}{176}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.



\label{doc-variable-members}
\Hypertarget{struct_r_s___msg_type_def_doc-variable-members}
\doxysubsection{Member Data Documentation}
\Hypertarget{struct_r_s___msg_type_def_a277ed439b65aedbf03bd112c073e6a32}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!MbAddr@{MbAddr}}
\index{MbAddr@{MbAddr}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{MbAddr}{MbAddr}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_a277ed439b65aedbf03bd112c073e6a32} 
uint8\+\_\+t RS\+\_\+\+Msg\+Type\+Def\+::\+Mb\+Addr}



Modbus Slave Address. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00184}{184}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_a176d779ab0d7fd06a4303e6e6acb6ca9}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!FuncCode@{FuncCode}}
\index{FuncCode@{FuncCode}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{FuncCode}{FuncCode}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_a176d779ab0d7fd06a4303e6e6acb6ca9} 
\mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_ga38d42495bf262b70048e6d6a7af175d2}{MB\+\_\+\+Functon\+Type\+Def}} RS\+\_\+\+Msg\+Type\+Def\+::\+Func\+Code}



Modbus Function Code. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00185}{185}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_a51c020dacb24e4ffcff28b1d3c6a01ae}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!DevId@{DevId}}
\index{DevId@{DevId}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{DevId}{DevId}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_a51c020dacb24e4ffcff28b1d3c6a01ae} 
\mbox{\hyperlink{struct_m_b___dev_id_msg_type_def}{MB\+\_\+\+Dev\+Id\+Msg\+Type\+Def}} RS\+\_\+\+Msg\+Type\+Def\+::\+Dev\+Id}



Read Device Identifications Header struct. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00186}{186}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_af99048a71119ba4c17772bd5544b3eef}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!Addr@{Addr}}
\index{Addr@{Addr}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{Addr}{Addr}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_af99048a71119ba4c17772bd5544b3eef} 
uint16\+\_\+t RS\+\_\+\+Msg\+Type\+Def\+::\+Addr}



Modbus Address of data. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00187}{187}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_a1ccb2bf492218a6ae3a5b6ad5cd4c82f}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!Qnt@{Qnt}}
\index{Qnt@{Qnt}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{Qnt}{Qnt}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_a1ccb2bf492218a6ae3a5b6ad5cd4c82f} 
uint16\+\_\+t RS\+\_\+\+Msg\+Type\+Def\+::\+Qnt}



Quantity of modbus data. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00188}{188}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_a5c69bf212dc5e7dc2eaa50971e27e2a6}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!ByteCnt@{ByteCnt}}
\index{ByteCnt@{ByteCnt}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{ByteCnt}{ByteCnt}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_a5c69bf212dc5e7dc2eaa50971e27e2a6} 
uint8\+\_\+t RS\+\_\+\+Msg\+Type\+Def\+::\+Byte\+Cnt}



Quantity of bytes of data in message to transmit/receive. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00189}{189}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_aacbc6754621bd84742cd6c2ba65ad094}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!MbData@{MbData}}
\index{MbData@{MbData}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{MbData}{MbData}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_aacbc6754621bd84742cd6c2ba65ad094} 
uint16\+\_\+t RS\+\_\+\+Msg\+Type\+Def\+::\+Mb\+Data\mbox{[}\mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_gaf55149bc1f05cf18af067a302e31e3f9}{DATA\+\_\+\+SIZE}}\mbox{]}}



Modbus Data. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00191}{191}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_a3dab5eaf3a1dd5719b8bfec1adad0d39}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!Except\_Code@{Except\_Code}}
\index{Except\_Code@{Except\_Code}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{Except\_Code}{Except\_Code}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_a3dab5eaf3a1dd5719b8bfec1adad0d39} 
\mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_ga4ade64cb3fabf37f010c1e297489980c}{MB\+\_\+\+Exception\+Type\+Def}} RS\+\_\+\+Msg\+Type\+Def\+::\+Except\+\_\+\+Code}



Exception Code for the command. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00192}{192}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.

\Hypertarget{struct_r_s___msg_type_def_a423ab838d4c113fd6392452fd44dc1c0}\index{RS\_MsgTypeDef@{RS\_MsgTypeDef}!MbCRC@{MbCRC}}
\index{MbCRC@{MbCRC}!RS\_MsgTypeDef@{RS\_MsgTypeDef}}
\doxysubsubsection{\texorpdfstring{MbCRC}{MbCRC}}
{\footnotesize\ttfamily \label{struct_r_s___msg_type_def_a423ab838d4c113fd6392452fd44dc1c0} 
uint16\+\_\+t RS\+\_\+\+Msg\+Type\+Def\+::\+Mb\+CRC}



Modbus CRC. 



Definition at line \mbox{\hyperlink{modbus__core_8h_source_l00194}{194}} of file \mbox{\hyperlink{modbus__core_8h_source}{modbus\+\_\+core.\+h}}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
E\+:/.\+WORK/\+STM32/\+Diod\+\_\+\+Test/diode\+\_\+tester/\+Core/\+Modbus/\+Inc/\mbox{\hyperlink{modbus__core_8h}{modbus\+\_\+core.\+h}}\end{DoxyCompactItemize}
