\doxysection{RS\+\_\+\+Handle\+Type\+Def Struct Reference}
\hypertarget{struct_r_s___handle_type_def}{}\label{struct_r_s___handle_type_def}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}}


Handle for RS communication.  




{\ttfamily \#include $<$rs\+\_\+message.\+h$>$}



Collaboration diagram for RS\+\_\+\+Handle\+Type\+Def\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=299pt]{struct_r_s___handle_type_def__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{struct_r_s___handle_type_def_aadeeb82c498818923462bf51305793a0}\label{struct_r_s___handle_type_def_aadeeb82c498818923462bf51305793a0} 
{\bfseries Tracker\+Type\+Def} (\mbox{\hyperlink{group___r_s___d_e_b_u_g_ga00f6ba164717bd919fa6e9b25e1bbc21}{RS\+\_\+\+USER\+\_\+\+VARS\+\_\+\+NUMB}}) rs\+\_\+err
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
uint8\+\_\+t \mbox{\hyperlink{struct_r_s___handle_type_def_a01e2c95a23aa3eed1f002e2329a10942}{ID}}
\begin{DoxyCompactList}\small\item\em ID хендла \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_r_s___msg_type_def}{RS\+\_\+\+Msg\+Type\+Def}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_r_s___handle_type_def_a6a3f47a1a3476d6e9df997e1dc9da8c4}{p\+Message\+Ptr}}
\begin{DoxyCompactList}\small\item\em Указатель на структуру протокола \end{DoxyCompactList}\item 
uint8\+\_\+t \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_r_s___handle_type_def_a1bc8d1ccb57c20cad4f70a04f751a67a}{p\+Buffer\+Ptr}}
\begin{DoxyCompactList}\small\item\em Указатеь на буфер UART. \end{DoxyCompactList}\item 
int32\+\_\+t \mbox{\hyperlink{struct_r_s___handle_type_def_a495a29011412451e53459f9e1513814d}{RS\+\_\+\+Message\+\_\+\+Size}}
\begin{DoxyCompactList}\small\item\em size of whole message, not only data \end{DoxyCompactList}\item 
UART\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_r_s___handle_type_def_ade93e3a680f5fbc5275f58e20227198b}{huart}}
\begin{DoxyCompactList}\small\item\em Хендл UART. \end{DoxyCompactList}\item 
TIM\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_r_s___handle_type_def_aef8875f7628f280ed88f74eb762e0d99}{htim}}
\begin{DoxyCompactList}\small\item\em Хендл TIM. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___r_s___t_o_o_l_s_ga13e1c056947b06c7dc29b90d22f683a7}{RS\+\_\+\+Mode\+Type\+Def}} \mbox{\hyperlink{struct_r_s___handle_type_def_a82f0ad79cd234cd26076bfcfbc5c1194}{s\+RS\+\_\+\+Mode}}
\begin{DoxyCompactList}\small\item\em Настройка\+: слейв/мастер \doxylink{group___r_s___t_o_o_l_s_ga13e1c056947b06c7dc29b90d22f683a7}{RS\+\_\+\+Mode\+Type\+Def}. \end{DoxyCompactList}\item 
uint16\+\_\+t \mbox{\hyperlink{struct_r_s___handle_type_def_aa6da72b8ad446f76484783ca8af0e565}{s\+RS\+\_\+\+Timeout}}
\begin{DoxyCompactList}\small\item\em Настройка\+: Таймаут в тиках таймера \end{DoxyCompactList}\item 
void(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_r_s___handle_type_def_a6e584c7559c702d3382dbb9aa572b71b}{p\+Callback}} )(void \texorpdfstring{$\ast$}{*}, void \texorpdfstring{$\ast$}{*})
\begin{DoxyCompactList}\small\item\em Указатель на коллбек\+: принят ответ в режиме мастер \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_r_s___flags_type_def}{RS\+\_\+\+Flags\+Type\+Def}} \mbox{\hyperlink{struct_r_s___handle_type_def_a6fa98c2955d01e07dc59f73d072bb37e}{f}}
\begin{DoxyCompactList}\small\item\em Флаги для контроля приема/передачи \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_r_s___handle_type_def_a3b377cb0eabf384a7e715fb030218290}{last\+Packet\+Tick}}
\begin{DoxyCompactList}\small\item\em Время последнего принятого пакета \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___r_s___t_o_o_l_s_ga727154b368397b4796aa892de12a2289}{RS\+\_\+\+Status\+Type\+Def}} \mbox{\hyperlink{struct_r_s___handle_type_def_a8bbcb263ae7a61790b559bcb55cd9aa9}{RS\+\_\+\+STATUS}}
\begin{DoxyCompactList}\small\item\em Статус RS. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Handle for RS communication. 

\begin{DoxyNote}{Note}
Prefixes\+: h -\/ handle, s -\/ settings, f -\/ flag 
\end{DoxyNote}


Definition at line \mbox{\hyperlink{rs__message_8h_source_l00227}{227}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.



\label{doc-variable-members}
\Hypertarget{struct_r_s___handle_type_def_doc-variable-members}
\doxysubsection{Member Data Documentation}
\Hypertarget{struct_r_s___handle_type_def_a01e2c95a23aa3eed1f002e2329a10942}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!ID@{ID}}
\index{ID@{ID}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{ID}{ID}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a01e2c95a23aa3eed1f002e2329a10942} 
uint8\+\_\+t RS\+\_\+\+Handle\+Type\+Def\+::\+ID}



ID хендла 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00230}{230}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a6a3f47a1a3476d6e9df997e1dc9da8c4}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!pMessagePtr@{pMessagePtr}}
\index{pMessagePtr@{pMessagePtr}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{pMessagePtr}{pMessagePtr}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a6a3f47a1a3476d6e9df997e1dc9da8c4} 
\mbox{\hyperlink{struct_r_s___msg_type_def}{RS\+\_\+\+Msg\+Type\+Def}}\texorpdfstring{$\ast$}{*} RS\+\_\+\+Handle\+Type\+Def\+::p\+Message\+Ptr}



Указатель на структуру протокола 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00231}{231}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a1bc8d1ccb57c20cad4f70a04f751a67a}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!pBufferPtr@{pBufferPtr}}
\index{pBufferPtr@{pBufferPtr}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{pBufferPtr}{pBufferPtr}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a1bc8d1ccb57c20cad4f70a04f751a67a} 
uint8\+\_\+t\texorpdfstring{$\ast$}{*} RS\+\_\+\+Handle\+Type\+Def\+::p\+Buffer\+Ptr}



Указатеь на буфер UART. 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00232}{232}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a495a29011412451e53459f9e1513814d}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!RS\_Message\_Size@{RS\_Message\_Size}}
\index{RS\_Message\_Size@{RS\_Message\_Size}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{RS\_Message\_Size}{RS\_Message\_Size}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a495a29011412451e53459f9e1513814d} 
int32\+\_\+t RS\+\_\+\+Handle\+Type\+Def\+::\+RS\+\_\+\+Message\+\_\+\+Size}



size of whole message, not only data 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00233}{233}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_ade93e3a680f5fbc5275f58e20227198b}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!huart@{huart}}
\index{huart@{huart}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{huart}{huart}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_ade93e3a680f5fbc5275f58e20227198b} 
UART\+\_\+\+Handle\+Type\+Def\texorpdfstring{$\ast$}{*} RS\+\_\+\+Handle\+Type\+Def\+::huart}



Хендл UART. 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00236}{236}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_aef8875f7628f280ed88f74eb762e0d99}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!htim@{htim}}
\index{htim@{htim}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{htim}{htim}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_aef8875f7628f280ed88f74eb762e0d99} 
TIM\+\_\+\+Handle\+Type\+Def\texorpdfstring{$\ast$}{*} RS\+\_\+\+Handle\+Type\+Def\+::htim}



Хендл TIM. 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00237}{237}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a82f0ad79cd234cd26076bfcfbc5c1194}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!sRS\_Mode@{sRS\_Mode}}
\index{sRS\_Mode@{sRS\_Mode}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{sRS\_Mode}{sRS\_Mode}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a82f0ad79cd234cd26076bfcfbc5c1194} 
\mbox{\hyperlink{group___r_s___t_o_o_l_s_ga13e1c056947b06c7dc29b90d22f683a7}{RS\+\_\+\+Mode\+Type\+Def}} RS\+\_\+\+Handle\+Type\+Def\+::s\+RS\+\_\+\+Mode}



Настройка\+: слейв/мастер \doxylink{group___r_s___t_o_o_l_s_ga13e1c056947b06c7dc29b90d22f683a7}{RS\+\_\+\+Mode\+Type\+Def}. 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00238}{238}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_aa6da72b8ad446f76484783ca8af0e565}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!sRS\_Timeout@{sRS\_Timeout}}
\index{sRS\_Timeout@{sRS\_Timeout}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{sRS\_Timeout}{sRS\_Timeout}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_aa6da72b8ad446f76484783ca8af0e565} 
uint16\+\_\+t RS\+\_\+\+Handle\+Type\+Def\+::s\+RS\+\_\+\+Timeout}



Настройка\+: Таймаут в тиках таймера 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00239}{239}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a6e584c7559c702d3382dbb9aa572b71b}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!pCallback@{pCallback}}
\index{pCallback@{pCallback}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{pCallback}{pCallback}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a6e584c7559c702d3382dbb9aa572b71b} 
void(\texorpdfstring{$\ast$}{*} RS\+\_\+\+Handle\+Type\+Def\+::p\+Callback) (void \texorpdfstring{$\ast$}{*}, void \texorpdfstring{$\ast$}{*})}



Указатель на коллбек\+: принят ответ в режиме мастер 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00240}{240}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a6fa98c2955d01e07dc59f73d072bb37e}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!f@{f}}
\index{f@{f}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{f}{f}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a6fa98c2955d01e07dc59f73d072bb37e} 
\mbox{\hyperlink{struct_r_s___flags_type_def}{RS\+\_\+\+Flags\+Type\+Def}} RS\+\_\+\+Handle\+Type\+Def\+::f}



Флаги для контроля приема/передачи 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00243}{243}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a3b377cb0eabf384a7e715fb030218290}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!lastPacketTick@{lastPacketTick}}
\index{lastPacketTick@{lastPacketTick}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{lastPacketTick}{lastPacketTick}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a3b377cb0eabf384a7e715fb030218290} 
uint32\+\_\+t RS\+\_\+\+Handle\+Type\+Def\+::last\+Packet\+Tick}



Время последнего принятого пакета 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00246}{246}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+h}}.

\Hypertarget{struct_r_s___handle_type_def_a8bbcb263ae7a61790b559bcb55cd9aa9}\index{RS\_HandleTypeDef@{RS\_HandleTypeDef}!RS\_STATUS@{RS\_STATUS}}
\index{RS\_STATUS@{RS\_STATUS}!RS\_HandleTypeDef@{RS\_HandleTypeDef}}
\doxysubsubsection{\texorpdfstring{RS\_STATUS}{RS\_STATUS}}
{\footnotesize\ttfamily \label{struct_r_s___handle_type_def_a8bbcb263ae7a61790b559bcb55cd9aa9} 
\mbox{\hyperlink{group___r_s___t_o_o_l_s_ga727154b368397b4796aa892de12a2289}{RS\+\_\+\+Status\+Type\+Def}} RS\+\_\+\+Handle\+Type\+Def\+::\+RS\+\_\+\+STATUS}



Статус RS. 



Definition at line \mbox{\hyperlink{rs__message_8h_source_l00247}{247}} of file \mbox{\hyperlink{rs__message_8h_source}{rs\+\_\+message.\+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{rs__message_8h}{rs\+\_\+message.\+h}}\end{DoxyCompactItemize}
