\doxysection{TIM\+\_\+\+Settings\+Type\+Def Struct Reference}
\hypertarget{struct_t_i_m___settings_type_def}{}\label{struct_t_i_m___settings_type_def}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}


Структура инициализации таймера  




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

\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
TIM\+\_\+\+Handle\+Type\+Def \mbox{\hyperlink{struct_t_i_m___settings_type_def_ada49efdbd35a8e442c3cff630d42f34c}{htim}}
\begin{DoxyCompactList}\small\item\em HAL handle таймера \end{DoxyCompactList}\item 
TIM\+\_\+\+Clock\+Config\+Type\+Def \mbox{\hyperlink{struct_t_i_m___settings_type_def_a3805f627567798c3cd1d79a0da42bea0}{s\+Clock\+Source\+Config}}
\begin{DoxyCompactList}\small\item\em Настройки тактирования таймера \end{DoxyCompactList}\item 
TIM\+\_\+\+Slave\+Config\+Type\+Def \mbox{\hyperlink{struct_t_i_m___settings_type_def_a9694cf0910a69d48ff94f8aeac106969}{s\+Slave\+Config}}
\begin{DoxyCompactList}\small\item\em Настройки слейв режима таймера \end{DoxyCompactList}\item 
TIM\+\_\+\+Master\+Config\+Type\+Def \mbox{\hyperlink{struct_t_i_m___settings_type_def_a2d9d277dd395424b964445ec1bc65b21}{s\+Master\+Config}}
\begin{DoxyCompactList}\small\item\em Настройки мастер режима таймера \end{DoxyCompactList}\item 
TIM\+\_\+\+Break\+Dead\+Time\+Config\+Type\+Def \mbox{\hyperlink{struct_t_i_m___settings_type_def_a961f19f0e1672715c27bc94d7871dbb7}{s\+Break\+Dead\+Time\+Config}}
\begin{DoxyCompactList}\small\item\em Настройки дедтаймов таймера \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l_gaeb611874216a4661fb83366b99b9e787}{TIM\+\_\+\+ITMode\+Type\+Def}} \mbox{\hyperlink{struct_t_i_m___settings_type_def_ab90e370c3edda88e76583293c250d2b0}{s\+Tim\+Mode}}
\begin{DoxyCompactList}\small\item\em Настройки прерывания таймера \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l_gaa0a51c870325217ac099881f09dd0800}{TIM\+\_\+\+MHz\+Tick\+Base\+Type\+Def}} \mbox{\hyperlink{struct_t_i_m___settings_type_def_a58da1b4c0f6d12d7d9fb2f170b9b9e6e}{s\+Tick\+Base\+US}}
\begin{DoxyCompactList}\small\item\em Длительность одного тика \end{DoxyCompactList}\item 
uint8\+\_\+t \mbox{\hyperlink{struct_t_i_m___settings_type_def_a11151fe125960cb8e61328ffd06b7718}{s\+Tick\+Base\+Prescaler}}
\begin{DoxyCompactList}\small\item\em Дополнительный делитель, для удобного деления \doxylink{struct_t_i_m___settings_type_def_a58da1b4c0f6d12d7d9fb2f170b9b9e6e}{s\+Tick\+Base\+US}. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{struct_t_i_m___settings_type_def_a7073358fd3a722687eb85238ab570014}{s\+Tim\+AHBFreq\+MHz}}
\begin{DoxyCompactList}\small\item\em Частота шины тактирования таймера \end{DoxyCompactList}\item 
float \mbox{\hyperlink{struct_t_i_m___settings_type_def_af6057ff3f60f5e01b41d4a347b79a5e4}{s\+Tim\+Freq\+Hz}}
\begin{DoxyCompactList}\small\item\em Желаемая частота таймера \end{DoxyCompactList}\end{DoxyCompactItemize}


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

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


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

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



\label{doc-variable-members}
\Hypertarget{struct_t_i_m___settings_type_def_doc-variable-members}
\doxysubsection{Member Data Documentation}
\Hypertarget{struct_t_i_m___settings_type_def_ada49efdbd35a8e442c3cff630d42f34c}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!htim@{htim}}
\index{htim@{htim}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{htim}{htim}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_ada49efdbd35a8e442c3cff630d42f34c} 
TIM\+\_\+\+Handle\+Type\+Def TIM\+\_\+\+Settings\+Type\+Def\+::htim}



HAL handle таймера 



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

\Hypertarget{struct_t_i_m___settings_type_def_a3805f627567798c3cd1d79a0da42bea0}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sClockSourceConfig@{sClockSourceConfig}}
\index{sClockSourceConfig@{sClockSourceConfig}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sClockSourceConfig}{sClockSourceConfig}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_a3805f627567798c3cd1d79a0da42bea0} 
TIM\+\_\+\+Clock\+Config\+Type\+Def TIM\+\_\+\+Settings\+Type\+Def\+::s\+Clock\+Source\+Config}



Настройки тактирования таймера 



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

\Hypertarget{struct_t_i_m___settings_type_def_a9694cf0910a69d48ff94f8aeac106969}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sSlaveConfig@{sSlaveConfig}}
\index{sSlaveConfig@{sSlaveConfig}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sSlaveConfig}{sSlaveConfig}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_a9694cf0910a69d48ff94f8aeac106969} 
TIM\+\_\+\+Slave\+Config\+Type\+Def TIM\+\_\+\+Settings\+Type\+Def\+::s\+Slave\+Config}



Настройки слейв режима таймера 



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

\Hypertarget{struct_t_i_m___settings_type_def_a2d9d277dd395424b964445ec1bc65b21}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sMasterConfig@{sMasterConfig}}
\index{sMasterConfig@{sMasterConfig}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sMasterConfig}{sMasterConfig}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_a2d9d277dd395424b964445ec1bc65b21} 
TIM\+\_\+\+Master\+Config\+Type\+Def TIM\+\_\+\+Settings\+Type\+Def\+::s\+Master\+Config}



Настройки мастер режима таймера 



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

\Hypertarget{struct_t_i_m___settings_type_def_a961f19f0e1672715c27bc94d7871dbb7}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sBreakDeadTimeConfig@{sBreakDeadTimeConfig}}
\index{sBreakDeadTimeConfig@{sBreakDeadTimeConfig}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sBreakDeadTimeConfig}{sBreakDeadTimeConfig}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_a961f19f0e1672715c27bc94d7871dbb7} 
TIM\+\_\+\+Break\+Dead\+Time\+Config\+Type\+Def TIM\+\_\+\+Settings\+Type\+Def\+::s\+Break\+Dead\+Time\+Config}



Настройки дедтаймов таймера 



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

\Hypertarget{struct_t_i_m___settings_type_def_ab90e370c3edda88e76583293c250d2b0}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sTimMode@{sTimMode}}
\index{sTimMode@{sTimMode}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sTimMode}{sTimMode}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_ab90e370c3edda88e76583293c250d2b0} 
\mbox{\hyperlink{group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l_gaeb611874216a4661fb83366b99b9e787}{TIM\+\_\+\+ITMode\+Type\+Def}} TIM\+\_\+\+Settings\+Type\+Def\+::s\+Tim\+Mode}



Настройки прерывания таймера 



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

\Hypertarget{struct_t_i_m___settings_type_def_a58da1b4c0f6d12d7d9fb2f170b9b9e6e}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sTickBaseUS@{sTickBaseUS}}
\index{sTickBaseUS@{sTickBaseUS}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sTickBaseUS}{sTickBaseUS}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_a58da1b4c0f6d12d7d9fb2f170b9b9e6e} 
\mbox{\hyperlink{group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l_gaa0a51c870325217ac099881f09dd0800}{TIM\+\_\+\+MHz\+Tick\+Base\+Type\+Def}} TIM\+\_\+\+Settings\+Type\+Def\+::s\+Tick\+Base\+US}



Длительность одного тика 



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

\Hypertarget{struct_t_i_m___settings_type_def_a11151fe125960cb8e61328ffd06b7718}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sTickBasePrescaler@{sTickBasePrescaler}}
\index{sTickBasePrescaler@{sTickBasePrescaler}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sTickBasePrescaler}{sTickBasePrescaler}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_a11151fe125960cb8e61328ffd06b7718} 
uint8\+\_\+t TIM\+\_\+\+Settings\+Type\+Def\+::s\+Tick\+Base\+Prescaler}



Дополнительный делитель, для удобного деления \doxylink{struct_t_i_m___settings_type_def_a58da1b4c0f6d12d7d9fb2f170b9b9e6e}{s\+Tick\+Base\+US}. 



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

\Hypertarget{struct_t_i_m___settings_type_def_a7073358fd3a722687eb85238ab570014}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sTimAHBFreqMHz@{sTimAHBFreqMHz}}
\index{sTimAHBFreqMHz@{sTimAHBFreqMHz}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sTimAHBFreqMHz}{sTimAHBFreqMHz}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_a7073358fd3a722687eb85238ab570014} 
float TIM\+\_\+\+Settings\+Type\+Def\+::s\+Tim\+AHBFreq\+MHz}



Частота шины тактирования таймера 



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

\Hypertarget{struct_t_i_m___settings_type_def_af6057ff3f60f5e01b41d4a347b79a5e4}\index{TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}!sTimFreqHz@{sTimFreqHz}}
\index{sTimFreqHz@{sTimFreqHz}!TIM\_SettingsTypeDef@{TIM\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{sTimFreqHz}{sTimFreqHz}}
{\footnotesize\ttfamily \label{struct_t_i_m___settings_type_def_af6057ff3f60f5e01b41d4a347b79a5e4} 
float TIM\+\_\+\+Settings\+Type\+Def\+::s\+Tim\+Freq\+Hz}



Желаемая частота таймера 



Definition at line \mbox{\hyperlink{general__tim_8h_source_l00125}{125}} 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}
