chg-stn-motherboard-ti-mcu/Documentation/latex/ivec__mcal__adc__dma_8c.tex

314 lines
17 KiB
TeX

\hypertarget{ivec__mcal__adc__dma_8c}{}\doxysection{D\+:/\+M\+S\+P\+M0\+G3507\+\_\+\+M\+C\+A\+L/mspmog3507\+\_\+mcal/\+Core/\+Source/ivec\+\_\+mcal\+\_\+adc\+\_\+dma.c File Reference}
\label{ivec__mcal__adc__dma_8c}\index{D:/MSPM0G3507\_MCAL/mspmog3507\_mcal/Core/Source/ivec\_mcal\_adc\_dma.c@{D:/MSPM0G3507\_MCAL/mspmog3507\_mcal/Core/Source/ivec\_mcal\_adc\_dma.c}}
{\ttfamily \#include $<$Core\textbackslash{}\+Include\textbackslash{}ivec\+\_\+mcal\+\_\+adc\+\_\+dma.\+h$>$}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_ac8cb58c0739bc24340af7b896c014384}{x\+M\+C\+A\+L\+\_\+\+Adc\+Init}} (A\+D\+C12\+\_\+\+Regs $\ast$const adc\+\_\+inst)
\begin{DoxyCompactList}\small\item\em Initlization A\+DC with D\+MA. \end{DoxyCompactList}\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a368cb56303959284205ba88b9b01760b}{x\+M\+C\+A\+L\+\_\+\+Adc\+De\+Init}} (A\+D\+C12\+\_\+\+Regs $\ast$const adc\+\_\+inst)
\begin{DoxyCompactList}\small\item\em De-\/\+Initialize the A\+DC peripheral to their default reset values. \end{DoxyCompactList}\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a434795b35e62fbcfb4861849a414c94c}{x\+M\+C\+A\+L\+\_\+\+Adc\+Start}} (A\+D\+C12\+\_\+\+Regs $\ast$const adc\+\_\+inst)
\begin{DoxyCompactList}\small\item\em Enable A\+DC, start conversion of regular group. \end{DoxyCompactList}\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_aa04addc8765b1ad2024e57766304536a}{x\+M\+C\+A\+L\+\_\+\+Adc\+Stop}} (A\+D\+C12\+\_\+\+Regs $\ast$const adc\+\_\+inst)
\begin{DoxyCompactList}\small\item\em Stop A\+DC conversion of regular group. \end{DoxyCompactList}\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a6bca37cb7ab71bb92d2ec567a7982003}{x\+M\+C\+A\+L\+\_\+\+Dma\+Init}} (void)
\begin{DoxyCompactList}\small\item\em Initlization of D\+MA for A\+DC. \end{DoxyCompactList}\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a25ea8d77c5ec67434ece105386c7b874}{x\+M\+C\+A\+L\+\_\+\+Dma\+De\+Init}} (void)
\begin{DoxyCompactList}\small\item\em De-\/\+Initialize the D\+MA to their default reset values. \end{DoxyCompactList}\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_af4186516cdf4ccad2e739b062d8e496e}{x\+M\+C\+A\+L\+\_\+\+Dma\+Start}} (const uint8\+\_\+t u8channel, uint16\+\_\+t $\ast$p\+\_\+u16adc\+Dma)
\begin{DoxyCompactList}\small\item\em Enable D\+MA, start transfer from A\+DC to D\+MA of regular group. \end{DoxyCompactList}\item
I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a86d92e7db5108dc91502d5a118f49864}{x\+M\+C\+A\+L\+\_\+\+Dma\+Stop}} (void)
\begin{DoxyCompactList}\small\item\em Function use to set the D\+MA channel. \end{DoxyCompactList}\item
void \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a57beca8b8e3c29381f89c77272f32b68}{\+\_\+prv\+\_\+adccallback}} ()
\begin{DoxyCompactList}\small\item\em A\+DC call back function. \end{DoxyCompactList}\item
void \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a55924a8071033769a12ad0e752f67c8b}{A\+D\+C1\+\_\+\+I\+R\+Q\+Handler}} ()
\begin{DoxyCompactList}\small\item\em A\+DC I\+RQ handler. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item
static volatile bool \mbox{\hyperlink{ivec__mcal__adc__dma_8c_ae8bf595fdf07ae38cd281ee554b31e97}{g\+\_\+u32\+Adc\+Init\+Flag}} = 0
\item
static volatile bool \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a21c312fa56d5beb1ca9fae155d0a1609}{g\+\_\+u32\+Adc\+Start\+Flag}} =0
\item
static volatile bool \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a9eff7688a6f3ba4b0f1b28adc5c80a3c}{g\+\_\+u32\+Dma\+Flag}} =0
\item
static volatile bool \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a1038428a9d3b822427c438df06a8ec44}{g\+\_\+u32\+Dma\+Start}} =0
\item
static const D\+L\+\_\+\+A\+D\+C12\+\_\+\+Clock\+Config \mbox{\hyperlink{ivec__mcal__adc__dma_8c_acf01d1195f672e52c0674823195322f0}{g\+A\+D\+C12\+\_\+1\+Clock\+Config}}
\begin{DoxyCompactList}\small\item\em Configuration for A\+D\+C12\+\_\+0 clock. \end{DoxyCompactList}\item
static const D\+L\+\_\+\+D\+M\+A\+\_\+\+Config \mbox{\hyperlink{ivec__mcal__adc__dma_8c_a55d4403e4654815d9b78943f6c1672b4}{g\+D\+M\+A\+\_\+\+C\+H0\+Config}}
\begin{DoxyCompactList}\small\item\em Configuration for D\+MA. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{Function Documentation}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a57beca8b8e3c29381f89c77272f32b68}\label{ivec__mcal__adc__dma_8c_a57beca8b8e3c29381f89c77272f32b68}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!\_prv\_adccallback@{\_prv\_adccallback}}
\index{\_prv\_adccallback@{\_prv\_adccallback}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{\_prv\_adccallback()}{\_prv\_adccallback()}}
{\footnotesize\ttfamily void \+\_\+prv\+\_\+adccallback (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
A\+DC call back function.
\begin{DoxyNote}{Note}
Interruptions enabled in this function
\end{DoxyNote}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a55924a8071033769a12ad0e752f67c8b}\label{ivec__mcal__adc__dma_8c_a55924a8071033769a12ad0e752f67c8b}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!ADC1\_IRQHandler@{ADC1\_IRQHandler}}
\index{ADC1\_IRQHandler@{ADC1\_IRQHandler}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{ADC1\_IRQHandler()}{ADC1\_IRQHandler()}}
{\footnotesize\ttfamily void A\+D\+C1\+\_\+\+I\+R\+Q\+Handler (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
A\+DC I\+RQ handler.
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a368cb56303959284205ba88b9b01760b}\label{ivec__mcal__adc__dma_8c_a368cb56303959284205ba88b9b01760b}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_AdcDeInit@{xMCAL\_AdcDeInit}}
\index{xMCAL\_AdcDeInit@{xMCAL\_AdcDeInit}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_AdcDeInit()}{xMCAL\_AdcDeInit()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Adc\+De\+Init (\begin{DoxyParamCaption}\item[{A\+D\+C12\+\_\+\+Regs $\ast$const}]{adc\+\_\+inst }\end{DoxyParamCaption})}
De-\/\+Initialize the A\+DC peripheral to their default reset values.
\begin{DoxyParams}{Parameters}
{\em adc\+\_\+inst} & A\+DC handle \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_ac8cb58c0739bc24340af7b896c014384}\label{ivec__mcal__adc__dma_8c_ac8cb58c0739bc24340af7b896c014384}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_AdcInit@{xMCAL\_AdcInit}}
\index{xMCAL\_AdcInit@{xMCAL\_AdcInit}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_AdcInit()}{xMCAL\_AdcInit()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Adc\+Init (\begin{DoxyParamCaption}\item[{A\+D\+C12\+\_\+\+Regs $\ast$const}]{adc\+\_\+inst }\end{DoxyParamCaption})}
Initlization A\+DC with D\+MA.
\begin{DoxyNote}{Note}
Interruptions enabled in this function
\end{DoxyNote}
\begin{DoxyParams}{Parameters}
{\em adc\+\_\+inst} & A\+DC handle \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a434795b35e62fbcfb4861849a414c94c}\label{ivec__mcal__adc__dma_8c_a434795b35e62fbcfb4861849a414c94c}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_AdcStart@{xMCAL\_AdcStart}}
\index{xMCAL\_AdcStart@{xMCAL\_AdcStart}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_AdcStart()}{xMCAL\_AdcStart()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Adc\+Start (\begin{DoxyParamCaption}\item[{A\+D\+C12\+\_\+\+Regs $\ast$const}]{adc\+\_\+inst }\end{DoxyParamCaption})}
Enable A\+DC, start conversion of regular group.
\begin{DoxyNote}{Note}
Interruptions enabled in this function\+: None.
\end{DoxyNote}
\begin{DoxyParams}{Parameters}
{\em adc\+\_\+inst} & A\+DC handle \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_aa04addc8765b1ad2024e57766304536a}\label{ivec__mcal__adc__dma_8c_aa04addc8765b1ad2024e57766304536a}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_AdcStop@{xMCAL\_AdcStop}}
\index{xMCAL\_AdcStop@{xMCAL\_AdcStop}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_AdcStop()}{xMCAL\_AdcStop()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Adc\+Stop (\begin{DoxyParamCaption}\item[{A\+D\+C12\+\_\+\+Regs $\ast$const}]{adc\+\_\+inst }\end{DoxyParamCaption})}
Stop A\+DC conversion of regular group.
\begin{DoxyParams}{Parameters}
{\em adc\+\_\+inst} & A\+DC handle \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a25ea8d77c5ec67434ece105386c7b874}\label{ivec__mcal__adc__dma_8c_a25ea8d77c5ec67434ece105386c7b874}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_DmaDeInit@{xMCAL\_DmaDeInit}}
\index{xMCAL\_DmaDeInit@{xMCAL\_DmaDeInit}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_DmaDeInit()}{xMCAL\_DmaDeInit()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Dma\+De\+Init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
De-\/\+Initialize the D\+MA to their default reset values.
\begin{DoxyParams}{Parameters}
{\em adc\+\_\+inst} & A\+DC handle \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a6bca37cb7ab71bb92d2ec567a7982003}\label{ivec__mcal__adc__dma_8c_a6bca37cb7ab71bb92d2ec567a7982003}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_DmaInit@{xMCAL\_DmaInit}}
\index{xMCAL\_DmaInit@{xMCAL\_DmaInit}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_DmaInit()}{xMCAL\_DmaInit()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Dma\+Init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
Initlization of D\+MA for A\+DC.
\begin{DoxyNote}{Note}
Interruptions enabled in this function
\end{DoxyNote}
\begin{DoxyParams}{Parameters}
{\em adc\+\_\+inst} & A\+DC handle \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_af4186516cdf4ccad2e739b062d8e496e}\label{ivec__mcal__adc__dma_8c_af4186516cdf4ccad2e739b062d8e496e}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_DmaStart@{xMCAL\_DmaStart}}
\index{xMCAL\_DmaStart@{xMCAL\_DmaStart}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_DmaStart()}{xMCAL\_DmaStart()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Dma\+Start (\begin{DoxyParamCaption}\item[{const uint8\+\_\+t}]{u8channel, }\item[{uint16\+\_\+t $\ast$}]{p\+\_\+u16adc\+Dma }\end{DoxyParamCaption})}
Enable D\+MA, start transfer from A\+DC to D\+MA of regular group.
\begin{DoxyNote}{Note}
Interruptions enabled in this function\+: None.
\end{DoxyNote}
\begin{DoxyParams}{Parameters}
{\em u8\+Channel} & use to pass the D\+MA channel \\
\hline
{\em p\+\_\+u16adc\+Dma} & use to get the A\+DC raw \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a86d92e7db5108dc91502d5a118f49864}\label{ivec__mcal__adc__dma_8c_a86d92e7db5108dc91502d5a118f49864}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!xMCAL\_DmaStop@{xMCAL\_DmaStop}}
\index{xMCAL\_DmaStop@{xMCAL\_DmaStop}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{xMCAL\_DmaStop()}{xMCAL\_DmaStop()}}
{\footnotesize\ttfamily I\+V\+E\+C\+\_\+\+Mcal\+Status\+\_\+e x\+M\+C\+A\+L\+\_\+\+Dma\+Stop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
Function use to set the D\+MA channel.
\begin{DoxyParams}{Parameters}
{\em u8\+Channel} & use to pass the D\+MA channel \\
\hline
\end{DoxyParams}
\begin{DoxyRetVals}{Return values}
{\em I\+V\+EC} & M\+C\+AL status \\
\hline
\end{DoxyRetVals}
\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_ae8bf595fdf07ae38cd281ee554b31e97}\label{ivec__mcal__adc__dma_8c_ae8bf595fdf07ae38cd281ee554b31e97}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!g\_u32AdcInitFlag@{g\_u32AdcInitFlag}}
\index{g\_u32AdcInitFlag@{g\_u32AdcInitFlag}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{g\_u32AdcInitFlag}{g\_u32AdcInitFlag}}
{\footnotesize\ttfamily volatile bool g\+\_\+u32\+Adc\+Init\+Flag = 0\hspace{0.3cm}{\ttfamily [static]}}
A\+DC initialization flag ~\newline
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a21c312fa56d5beb1ca9fae155d0a1609}\label{ivec__mcal__adc__dma_8c_a21c312fa56d5beb1ca9fae155d0a1609}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!g\_u32AdcStartFlag@{g\_u32AdcStartFlag}}
\index{g\_u32AdcStartFlag@{g\_u32AdcStartFlag}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{g\_u32AdcStartFlag}{g\_u32AdcStartFlag}}
{\footnotesize\ttfamily volatile bool g\+\_\+u32\+Adc\+Start\+Flag =0\hspace{0.3cm}{\ttfamily [static]}}
A\+DC start -\/ stop flag ~\newline
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a9eff7688a6f3ba4b0f1b28adc5c80a3c}\label{ivec__mcal__adc__dma_8c_a9eff7688a6f3ba4b0f1b28adc5c80a3c}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!g\_u32DmaFlag@{g\_u32DmaFlag}}
\index{g\_u32DmaFlag@{g\_u32DmaFlag}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{g\_u32DmaFlag}{g\_u32DmaFlag}}
{\footnotesize\ttfamily volatile bool g\+\_\+u32\+Dma\+Flag =0\hspace{0.3cm}{\ttfamily [static]}}
D\+MA initialization flag \mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a1038428a9d3b822427c438df06a8ec44}\label{ivec__mcal__adc__dma_8c_a1038428a9d3b822427c438df06a8ec44}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!g\_u32DmaStart@{g\_u32DmaStart}}
\index{g\_u32DmaStart@{g\_u32DmaStart}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{g\_u32DmaStart}{g\_u32DmaStart}}
{\footnotesize\ttfamily volatile bool g\+\_\+u32\+Dma\+Start =0\hspace{0.3cm}{\ttfamily [static]}}
D\+MA initialization flag \mbox{\Hypertarget{ivec__mcal__adc__dma_8c_acf01d1195f672e52c0674823195322f0}\label{ivec__mcal__adc__dma_8c_acf01d1195f672e52c0674823195322f0}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!gADC12\_1ClockConfig@{gADC12\_1ClockConfig}}
\index{gADC12\_1ClockConfig@{gADC12\_1ClockConfig}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{gADC12\_1ClockConfig}{gADC12\_1ClockConfig}}
{\footnotesize\ttfamily const D\+L\+\_\+\+A\+D\+C12\+\_\+\+Clock\+Config g\+A\+D\+C12\+\_\+1\+Clock\+Config\hspace{0.3cm}{\ttfamily [static]}}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{ .clockSel = DL\_ADC12\_CLOCK\_SYSOSC,}
\DoxyCodeLine{ .divideRatio = DL\_ADC12\_CLOCK\_DIVIDE\_1,}
\DoxyCodeLine{ .freqRange = DL\_ADC12\_CLOCK\_FREQ\_RANGE\_24\_TO\_32,}
\DoxyCodeLine{\}}
\end{DoxyCode}
Configuration for A\+D\+C12\+\_\+0 clock.
\mbox{\Hypertarget{ivec__mcal__adc__dma_8c_a55d4403e4654815d9b78943f6c1672b4}\label{ivec__mcal__adc__dma_8c_a55d4403e4654815d9b78943f6c1672b4}}
\index{ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}!gDMA\_CH0Config@{gDMA\_CH0Config}}
\index{gDMA\_CH0Config@{gDMA\_CH0Config}!ivec\_mcal\_adc\_dma.c@{ivec\_mcal\_adc\_dma.c}}
\doxysubsubsection{\texorpdfstring{gDMA\_CH0Config}{gDMA\_CH0Config}}
{\footnotesize\ttfamily const D\+L\+\_\+\+D\+M\+A\+\_\+\+Config g\+D\+M\+A\+\_\+\+C\+H0\+Config\hspace{0.3cm}{\ttfamily [static]}}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{ .transferMode = DL\_DMA\_SINGLE\_TRANSFER\_MODE,}
\DoxyCodeLine{ .extendedMode = DL\_DMA\_NORMAL\_MODE,}
\DoxyCodeLine{ .destIncrement = DL\_DMA\_ADDR\_UNCHANGED,}
\DoxyCodeLine{ .srcIncrement = DL\_DMA\_ADDR\_UNCHANGED,}
\DoxyCodeLine{ .destWidth = DL\_DMA\_WIDTH\_WORD,}
\DoxyCodeLine{ .srcWidth = DL\_DMA\_WIDTH\_WORD,}
\DoxyCodeLine{ .trigger = ADC12\_1\_INST\_DMA\_TRIGGER,}
\DoxyCodeLine{ .triggerType = DL\_DMA\_TRIGGER\_TYPE\_EXTERNAL,}
\DoxyCodeLine{\}}
\end{DoxyCode}
Configuration for D\+MA.