\doxysection{TIM\+\_\+\+Encoder\+Type\+Def Struct Reference}
\hypertarget{struct_t_i_m___encoder_type_def}{}\label{struct_t_i_m___encoder_type_def}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}


Структура инициализации енкодера  




{\ttfamily \#include $<$general\+\_\+tim.\+h$>$}



Collaboration diagram for TIM\+\_\+\+Encoder\+Type\+Def\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=193pt]{struct_t_i_m___encoder_type_def__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
int16\+\_\+t \mbox{\hyperlink{struct_t_i_m___encoder_type_def_a6f769f027b760a4b496e2b2b77bf54a3}{Encoder\+\_\+\+Diff}}
\begin{DoxyCompactList}\small\item\em Считанная разница \end{DoxyCompactList}\item 
uint16\+\_\+t \mbox{\hyperlink{struct_t_i_m___encoder_type_def_a0dacce3dde7df3122583869d96a372a2}{Encoder\+\_\+\+Shdw}}
\begin{DoxyCompactList}\small\item\em Последние считанные тики \end{DoxyCompactList}\item 
TIM\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_t_i_m___encoder_type_def_adc80bd5a90444c31d84157f35c59b95c}{htim}}
\begin{DoxyCompactList}\small\item\em Указатель на HAL handle таймера \end{DoxyCompactList}\item 
TIM\+\_\+\+Encoder\+\_\+\+Init\+Type\+Def \mbox{\hyperlink{struct_t_i_m___encoder_type_def_a021f0c585e9e62d68a4b09f630d8b6e5}{s\+Config}}
\begin{DoxyCompactList}\small\item\em Указатель на структуру настройки энкодера \end{DoxyCompactList}\item 
GPIO\+\_\+\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_t_i_m___encoder_type_def_ad29873fc8cdc71462e6d8744621120e9}{GPIOx}}
\begin{DoxyCompactList}\small\item\em Порт, куда подключается энкодер \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_t_i_m___encoder_type_def_a4fc05ef011205a6702cb3d006bab677e}{GPIO\+\_\+\+PIN\+\_\+\+TI1}}
\begin{DoxyCompactList}\small\item\em Пин, куда подключается канал TI1. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_t_i_m___encoder_type_def_a67ad037b92162546763fc9c425b5e3c5}{GPIO\+\_\+\+PIN\+\_\+\+TI2}}
\begin{DoxyCompactList}\small\item\em Пин, куда подключается канал TI2. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_t_i_m___encoder_type_def_a6973108a83d2a3ea4fc3e0e8a501af80}{GPIO\+\_\+\+PIN\+\_\+\+SW}}
\begin{DoxyCompactList}\small\item\em Пин, куда кнопка энкодера (если есть) \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_g_p_i_o___switch_type_def}{GPIO\+\_\+\+Switch\+Type\+Def}} \mbox{\hyperlink{struct_t_i_m___encoder_type_def_a99295760ff8b27d1e6f1710f29383a45}{Sw}}
\begin{DoxyCompactList}\small\item\em Структура кнопки \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Структура инициализации енкодера 

~\newline
 Содержит все базовые структуры, которые нужны для инициализации таймера. Если структуры настроек не заданы, то они заполнятся сами дефолтными параметрами ~\newline


Также высокоуровневые настройки частоты работы таймера. Если какая-\/либо высокоуровневая настройка не задана, то по возможности берется низкоуровневая настройка из структур 

Definition at line \mbox{\hyperlink{general__tim_8h_source_l00141}{141}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.



\label{doc-variable-members}
\Hypertarget{struct_t_i_m___encoder_type_def_doc-variable-members}
\doxysubsection{Member Data Documentation}
\Hypertarget{struct_t_i_m___encoder_type_def_a6f769f027b760a4b496e2b2b77bf54a3}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!Encoder\_Diff@{Encoder\_Diff}}
\index{Encoder\_Diff@{Encoder\_Diff}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{Encoder\_Diff}{Encoder\_Diff}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_a6f769f027b760a4b496e2b2b77bf54a3} 
int16\+\_\+t TIM\+\_\+\+Encoder\+Type\+Def\+::\+Encoder\+\_\+\+Diff}



Считанная разница 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00143}{143}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_a0dacce3dde7df3122583869d96a372a2}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!Encoder\_Shdw@{Encoder\_Shdw}}
\index{Encoder\_Shdw@{Encoder\_Shdw}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{Encoder\_Shdw}{Encoder\_Shdw}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_a0dacce3dde7df3122583869d96a372a2} 
uint16\+\_\+t TIM\+\_\+\+Encoder\+Type\+Def\+::\+Encoder\+\_\+\+Shdw}



Последние считанные тики 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00144}{144}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_adc80bd5a90444c31d84157f35c59b95c}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!htim@{htim}}
\index{htim@{htim}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{htim}{htim}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_adc80bd5a90444c31d84157f35c59b95c} 
TIM\+\_\+\+Handle\+Type\+Def\texorpdfstring{$\ast$}{*} TIM\+\_\+\+Encoder\+Type\+Def\+::htim}



Указатель на HAL handle таймера 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00146}{146}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_a021f0c585e9e62d68a4b09f630d8b6e5}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!sConfig@{sConfig}}
\index{sConfig@{sConfig}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{sConfig}{sConfig}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_a021f0c585e9e62d68a4b09f630d8b6e5} 
TIM\+\_\+\+Encoder\+\_\+\+Init\+Type\+Def TIM\+\_\+\+Encoder\+Type\+Def\+::s\+Config}



Указатель на структуру настройки энкодера 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00147}{147}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_ad29873fc8cdc71462e6d8744621120e9}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!GPIOx@{GPIOx}}
\index{GPIOx@{GPIOx}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{GPIOx}{GPIOx}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_ad29873fc8cdc71462e6d8744621120e9} 
GPIO\+\_\+\+Type\+Def\texorpdfstring{$\ast$}{*} TIM\+\_\+\+Encoder\+Type\+Def\+::\+GPIOx}



Порт, куда подключается энкодер 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00149}{149}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_a4fc05ef011205a6702cb3d006bab677e}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!GPIO\_PIN\_TI1@{GPIO\_PIN\_TI1}}
\index{GPIO\_PIN\_TI1@{GPIO\_PIN\_TI1}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{GPIO\_PIN\_TI1}{GPIO\_PIN\_TI1}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_a4fc05ef011205a6702cb3d006bab677e} 
uint32\+\_\+t TIM\+\_\+\+Encoder\+Type\+Def\+::\+GPIO\+\_\+\+PIN\+\_\+\+TI1}



Пин, куда подключается канал TI1. 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00150}{150}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_a67ad037b92162546763fc9c425b5e3c5}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!GPIO\_PIN\_TI2@{GPIO\_PIN\_TI2}}
\index{GPIO\_PIN\_TI2@{GPIO\_PIN\_TI2}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{GPIO\_PIN\_TI2}{GPIO\_PIN\_TI2}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_a67ad037b92162546763fc9c425b5e3c5} 
uint32\+\_\+t TIM\+\_\+\+Encoder\+Type\+Def\+::\+GPIO\+\_\+\+PIN\+\_\+\+TI2}



Пин, куда подключается канал TI2. 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00151}{151}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_a6973108a83d2a3ea4fc3e0e8a501af80}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!GPIO\_PIN\_SW@{GPIO\_PIN\_SW}}
\index{GPIO\_PIN\_SW@{GPIO\_PIN\_SW}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{GPIO\_PIN\_SW}{GPIO\_PIN\_SW}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_a6973108a83d2a3ea4fc3e0e8a501af80} 
uint32\+\_\+t TIM\+\_\+\+Encoder\+Type\+Def\+::\+GPIO\+\_\+\+PIN\+\_\+\+SW}



Пин, куда кнопка энкодера (если есть) 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00152}{152}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.

\Hypertarget{struct_t_i_m___encoder_type_def_a99295760ff8b27d1e6f1710f29383a45}\index{TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}!Sw@{Sw}}
\index{Sw@{Sw}!TIM\_EncoderTypeDef@{TIM\_EncoderTypeDef}}
\doxysubsubsection{\texorpdfstring{Sw}{Sw}}
{\footnotesize\ttfamily \label{struct_t_i_m___encoder_type_def_a99295760ff8b27d1e6f1710f29383a45} 
\mbox{\hyperlink{struct_g_p_i_o___switch_type_def}{GPIO\+\_\+\+Switch\+Type\+Def}} TIM\+\_\+\+Encoder\+Type\+Def\+::\+Sw}



Структура кнопки 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00154}{154}} of file \mbox{\hyperlink{general__tim_8h_source}{general\+\_\+tim.\+h}}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__tim_8h}{general\+\_\+tim.\+h}}\end{DoxyCompactItemize}
