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


Структура настроек SPI.  




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

\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
SPI\+\_\+\+Handle\+Type\+Def \mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}
\begin{DoxyCompactList}\small\item\em HAL handle SPI. \end{DoxyCompactList}\item 
GPIO\+\_\+\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_s_p_i___settings_type_def_a6a15d48eccf92959de3a086031fdc979}{CLK\+\_\+\+GPIOx}}
\begin{DoxyCompactList}\small\item\em Порт CLK. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_s_p_i___settings_type_def_a3bcb1ed12da3544e02e6d36493669bdc}{CLK\+\_\+\+PIN}}
\begin{DoxyCompactList}\small\item\em Пин CLK. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_s_p_i___settings_type_def_a3f3748103a0b7861f6700042fd691ba1}{CLK\+\_\+\+GPIO\+\_\+\+Alternage\+Func}}
\begin{DoxyCompactList}\small\item\em Альтернативная функция для CLK. \end{DoxyCompactList}\item 
GPIO\+\_\+\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_s_p_i___settings_type_def_a0d55a2941854f61934487f3d209cfa95}{MISO\+\_\+\+GPIOx}}
\begin{DoxyCompactList}\small\item\em Порт MISO. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_s_p_i___settings_type_def_a3366c654d7ec6dd41c6a0b504dc8509a}{MISO\+\_\+\+PIN}}
\begin{DoxyCompactList}\small\item\em Пин MISO. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_s_p_i___settings_type_def_aecd7a5c6e205335b8ed229d74cd35d14}{MISO\+\_\+\+GPIO\+\_\+\+Alternage\+Func}}
\begin{DoxyCompactList}\small\item\em Альтернативная функция для MISO. \end{DoxyCompactList}\item 
GPIO\+\_\+\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_s_p_i___settings_type_def_a0af3bdb273818ff97eb4ff3cff918820}{MOSI\+\_\+\+GPIOx}}
\begin{DoxyCompactList}\small\item\em Порт MOSI. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_s_p_i___settings_type_def_a961208869faf4a7369aaf4edde75f176}{MOSI\+\_\+\+PIN}}
\begin{DoxyCompactList}\small\item\em Пин MOSI. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_s_p_i___settings_type_def_afbe75a1c36650a4a9b41fa706a4c7eab}{MOSI\+\_\+\+GPIO\+\_\+\+Alternage\+Func}}
\begin{DoxyCompactList}\small\item\em Альтернативная функция для MOSI. \end{DoxyCompactList}\item 
DMA\+\_\+\+Stream\+\_\+\+Type\+Def \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{struct_s_p_i___settings_type_def_a3cfd9469b0617a68bbd2a161ba06bb95}{DMAChannel}}
\begin{DoxyCompactList}\small\item\em Канал DMA (NULL если не нужен) \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{struct_s_p_i___settings_type_def_aa0edaa145076d2383b3e0095d156d474}{DMA\+\_\+\+CHANNEL\+\_\+X}}
\begin{DoxyCompactList}\small\item\em Номер канала DMA (0 если не нужен) \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Структура настроек SPI. 

Содержит все необходимые параметры для инициализации SPI, включая GPIO и DMA. 

Definition at line \mbox{\hyperlink{general__spi_8h_source_l00104}{104}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.



\label{doc-variable-members}
\Hypertarget{struct_s_p_i___settings_type_def_doc-variable-members}
\doxysubsection{Member Data Documentation}
\Hypertarget{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!hspi@{hspi}}
\index{hspi@{hspi}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{hspi}{hspi}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422} 
SPI\+\_\+\+Handle\+Type\+Def SPI\+\_\+\+Settings\+Type\+Def\+::hspi}



HAL handle SPI. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00106}{106}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a6a15d48eccf92959de3a086031fdc979}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!CLK\_GPIOx@{CLK\_GPIOx}}
\index{CLK\_GPIOx@{CLK\_GPIOx}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{CLK\_GPIOx}{CLK\_GPIOx}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a6a15d48eccf92959de3a086031fdc979} 
GPIO\+\_\+\+Type\+Def\texorpdfstring{$\ast$}{*} SPI\+\_\+\+Settings\+Type\+Def\+::\+CLK\+\_\+\+GPIOx}



Порт CLK. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00108}{108}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a3bcb1ed12da3544e02e6d36493669bdc}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!CLK\_PIN@{CLK\_PIN}}
\index{CLK\_PIN@{CLK\_PIN}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{CLK\_PIN}{CLK\_PIN}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a3bcb1ed12da3544e02e6d36493669bdc} 
uint32\+\_\+t SPI\+\_\+\+Settings\+Type\+Def\+::\+CLK\+\_\+\+PIN}



Пин CLK. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00109}{109}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a3f3748103a0b7861f6700042fd691ba1}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!CLK\_GPIO\_AlternageFunc@{CLK\_GPIO\_AlternageFunc}}
\index{CLK\_GPIO\_AlternageFunc@{CLK\_GPIO\_AlternageFunc}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{CLK\_GPIO\_AlternageFunc}{CLK\_GPIO\_AlternageFunc}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a3f3748103a0b7861f6700042fd691ba1} 
uint32\+\_\+t SPI\+\_\+\+Settings\+Type\+Def\+::\+CLK\+\_\+\+GPIO\+\_\+\+Alternage\+Func}



Альтернативная функция для CLK. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00110}{110}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a0d55a2941854f61934487f3d209cfa95}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!MISO\_GPIOx@{MISO\_GPIOx}}
\index{MISO\_GPIOx@{MISO\_GPIOx}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{MISO\_GPIOx}{MISO\_GPIOx}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a0d55a2941854f61934487f3d209cfa95} 
GPIO\+\_\+\+Type\+Def\texorpdfstring{$\ast$}{*} SPI\+\_\+\+Settings\+Type\+Def\+::\+MISO\+\_\+\+GPIOx}



Порт MISO. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00112}{112}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a3366c654d7ec6dd41c6a0b504dc8509a}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!MISO\_PIN@{MISO\_PIN}}
\index{MISO\_PIN@{MISO\_PIN}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{MISO\_PIN}{MISO\_PIN}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a3366c654d7ec6dd41c6a0b504dc8509a} 
uint32\+\_\+t SPI\+\_\+\+Settings\+Type\+Def\+::\+MISO\+\_\+\+PIN}



Пин MISO. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00113}{113}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_aecd7a5c6e205335b8ed229d74cd35d14}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!MISO\_GPIO\_AlternageFunc@{MISO\_GPIO\_AlternageFunc}}
\index{MISO\_GPIO\_AlternageFunc@{MISO\_GPIO\_AlternageFunc}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{MISO\_GPIO\_AlternageFunc}{MISO\_GPIO\_AlternageFunc}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_aecd7a5c6e205335b8ed229d74cd35d14} 
uint32\+\_\+t SPI\+\_\+\+Settings\+Type\+Def\+::\+MISO\+\_\+\+GPIO\+\_\+\+Alternage\+Func}



Альтернативная функция для MISO. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00114}{114}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a0af3bdb273818ff97eb4ff3cff918820}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!MOSI\_GPIOx@{MOSI\_GPIOx}}
\index{MOSI\_GPIOx@{MOSI\_GPIOx}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{MOSI\_GPIOx}{MOSI\_GPIOx}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a0af3bdb273818ff97eb4ff3cff918820} 
GPIO\+\_\+\+Type\+Def\texorpdfstring{$\ast$}{*} SPI\+\_\+\+Settings\+Type\+Def\+::\+MOSI\+\_\+\+GPIOx}



Порт MOSI. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00116}{116}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a961208869faf4a7369aaf4edde75f176}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!MOSI\_PIN@{MOSI\_PIN}}
\index{MOSI\_PIN@{MOSI\_PIN}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{MOSI\_PIN}{MOSI\_PIN}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a961208869faf4a7369aaf4edde75f176} 
uint32\+\_\+t SPI\+\_\+\+Settings\+Type\+Def\+::\+MOSI\+\_\+\+PIN}



Пин MOSI. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00117}{117}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_afbe75a1c36650a4a9b41fa706a4c7eab}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!MOSI\_GPIO\_AlternageFunc@{MOSI\_GPIO\_AlternageFunc}}
\index{MOSI\_GPIO\_AlternageFunc@{MOSI\_GPIO\_AlternageFunc}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{MOSI\_GPIO\_AlternageFunc}{MOSI\_GPIO\_AlternageFunc}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_afbe75a1c36650a4a9b41fa706a4c7eab} 
uint32\+\_\+t SPI\+\_\+\+Settings\+Type\+Def\+::\+MOSI\+\_\+\+GPIO\+\_\+\+Alternage\+Func}



Альтернативная функция для MOSI. 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00118}{118}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_a3cfd9469b0617a68bbd2a161ba06bb95}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!DMAChannel@{DMAChannel}}
\index{DMAChannel@{DMAChannel}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{DMAChannel}{DMAChannel}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_a3cfd9469b0617a68bbd2a161ba06bb95} 
DMA\+\_\+\+Stream\+\_\+\+Type\+Def\texorpdfstring{$\ast$}{*} SPI\+\_\+\+Settings\+Type\+Def\+::\+DMAChannel}



Канал DMA (NULL если не нужен) 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00120}{120}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.

\Hypertarget{struct_s_p_i___settings_type_def_aa0edaa145076d2383b3e0095d156d474}\index{SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}!DMA\_CHANNEL\_X@{DMA\_CHANNEL\_X}}
\index{DMA\_CHANNEL\_X@{DMA\_CHANNEL\_X}!SPI\_SettingsTypeDef@{SPI\_SettingsTypeDef}}
\doxysubsubsection{\texorpdfstring{DMA\_CHANNEL\_X}{DMA\_CHANNEL\_X}}
{\footnotesize\ttfamily \label{struct_s_p_i___settings_type_def_aa0edaa145076d2383b3e0095d156d474} 
uint32\+\_\+t SPI\+\_\+\+Settings\+Type\+Def\+::\+DMA\+\_\+\+CHANNEL\+\_\+X}



Номер канала DMA (0 если не нужен) 



Definition at line \mbox{\hyperlink{general__spi_8h_source_l00121}{121}} of file \mbox{\hyperlink{general__spi_8h_source}{general\+\_\+spi.\+h}}.



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