\doxysubsubsection{GPIO Init defines }
\hypertarget{group___g_p_i_o___i_n_i_t}{}\label{group___g_p_i_o___i_n_i_t}\index{GPIO Init defines@{GPIO Init defines}}


Настройка состояний кнопок и количества тиков в периоде ШИМ  


Collaboration diagram for GPIO Init defines\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=294pt]{group___g_p_i_o___i_n_i_t}
\end{center}
\end{figure}
\doxysubsubsubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653}{local\+\_\+time}}()
\begin{DoxyCompactList}\small\item\em Локальное время \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga1d42e219765ec526d99e306638ac0023}{LED\+\_\+\+PWM\+\_\+\+TICKS}}~15
\begin{DoxyCompactList}\small\item\em Количество тиков в периоде ШИМ \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_gaf2e697ac60e05813d45ea2c9c9e79c25}{LED\+\_\+\+ON}}~1
\begin{DoxyCompactList}\small\item\em Состояние пина для включения светодиода \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga80700bb63bd56ebabbb4728aa433fd29}{LED\+\_\+\+OFF}}~0
\begin{DoxyCompactList}\small\item\em Состояние пина для выключения светодиода \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga19d9e3aced311179a2914e0c9b13d0f9}{SW\+\_\+\+ON}}~1
\begin{DoxyCompactList}\small\item\em Состояние пина при нажатой кнопке \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_gacd8900c9ec0efde1da3253b718574067}{SW\+\_\+\+OFF}}~0
\begin{DoxyCompactList}\small\item\em Состояние пина при отжатой кнопке \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsubsection{Detailed Description}
Настройка состояний кнопок и количества тиков в периоде ШИМ 



\label{doc-define-members}
\Hypertarget{group___g_p_i_o___i_n_i_t_doc-define-members}
\doxysubsubsubsection{Macro Definition Documentation}
\Hypertarget{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653}\index{GPIO Init defines@{GPIO Init defines}!local\_time@{local\_time}}
\index{local\_time@{local\_time}!GPIO Init defines@{GPIO Init defines}}
\doxysubsubsubsubsection{\texorpdfstring{local\_time}{local\_time}}
{\footnotesize\ttfamily \label{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653} 
\#define local\+\_\+time(\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{HAL\_GetTick()}

\end{DoxyCode}


Локальное время 



Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00032}{32}} of file \mbox{\hyperlink{general__gpio_8h_source}{general\+\_\+gpio.\+h}}.

\Hypertarget{group___g_p_i_o___i_n_i_t_ga1d42e219765ec526d99e306638ac0023}\index{GPIO Init defines@{GPIO Init defines}!LED\_PWM\_TICKS@{LED\_PWM\_TICKS}}
\index{LED\_PWM\_TICKS@{LED\_PWM\_TICKS}!GPIO Init defines@{GPIO Init defines}}
\doxysubsubsubsubsection{\texorpdfstring{LED\_PWM\_TICKS}{LED\_PWM\_TICKS}}
{\footnotesize\ttfamily \label{group___g_p_i_o___i_n_i_t_ga1d42e219765ec526d99e306638ac0023} 
\#define LED\+\_\+\+PWM\+\_\+\+TICKS~15}



Количество тиков в периоде ШИМ 



Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00036}{36}} of file \mbox{\hyperlink{general__gpio_8h_source}{general\+\_\+gpio.\+h}}.

\Hypertarget{group___g_p_i_o___i_n_i_t_gaf2e697ac60e05813d45ea2c9c9e79c25}\index{GPIO Init defines@{GPIO Init defines}!LED\_ON@{LED\_ON}}
\index{LED\_ON@{LED\_ON}!GPIO Init defines@{GPIO Init defines}}
\doxysubsubsubsubsection{\texorpdfstring{LED\_ON}{LED\_ON}}
{\footnotesize\ttfamily \label{group___g_p_i_o___i_n_i_t_gaf2e697ac60e05813d45ea2c9c9e79c25} 
\#define LED\+\_\+\+ON~1}



Состояние пина для включения светодиода 



Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00040}{40}} of file \mbox{\hyperlink{general__gpio_8h_source}{general\+\_\+gpio.\+h}}.

\Hypertarget{group___g_p_i_o___i_n_i_t_ga80700bb63bd56ebabbb4728aa433fd29}\index{GPIO Init defines@{GPIO Init defines}!LED\_OFF@{LED\_OFF}}
\index{LED\_OFF@{LED\_OFF}!GPIO Init defines@{GPIO Init defines}}
\doxysubsubsubsubsection{\texorpdfstring{LED\_OFF}{LED\_OFF}}
{\footnotesize\ttfamily \label{group___g_p_i_o___i_n_i_t_ga80700bb63bd56ebabbb4728aa433fd29} 
\#define LED\+\_\+\+OFF~0}



Состояние пина для выключения светодиода 



Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00043}{43}} of file \mbox{\hyperlink{general__gpio_8h_source}{general\+\_\+gpio.\+h}}.

\Hypertarget{group___g_p_i_o___i_n_i_t_ga19d9e3aced311179a2914e0c9b13d0f9}\index{GPIO Init defines@{GPIO Init defines}!SW\_ON@{SW\_ON}}
\index{SW\_ON@{SW\_ON}!GPIO Init defines@{GPIO Init defines}}
\doxysubsubsubsubsection{\texorpdfstring{SW\_ON}{SW\_ON}}
{\footnotesize\ttfamily \label{group___g_p_i_o___i_n_i_t_ga19d9e3aced311179a2914e0c9b13d0f9} 
\#define SW\+\_\+\+ON~1}



Состояние пина при нажатой кнопке 



Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00047}{47}} of file \mbox{\hyperlink{general__gpio_8h_source}{general\+\_\+gpio.\+h}}.

\Hypertarget{group___g_p_i_o___i_n_i_t_gacd8900c9ec0efde1da3253b718574067}\index{GPIO Init defines@{GPIO Init defines}!SW\_OFF@{SW\_OFF}}
\index{SW\_OFF@{SW\_OFF}!GPIO Init defines@{GPIO Init defines}}
\doxysubsubsubsubsection{\texorpdfstring{SW\_OFF}{SW\_OFF}}
{\footnotesize\ttfamily \label{group___g_p_i_o___i_n_i_t_gacd8900c9ec0efde1da3253b718574067} 
\#define SW\+\_\+\+OFF~0}



Состояние пина при отжатой кнопке 



Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00050}{50}} of file \mbox{\hyperlink{general__gpio_8h_source}{general\+\_\+gpio.\+h}}.

