\hypertarget{gpio_8c}{}\doxysection{D\+:/\+M\+S\+P\+M0\+G3507\+\_\+\+M\+C\+A\+L/mspmog3507\+\_\+mcal/\+Core/\+Source/gpio.c File Reference}
\label{gpio_8c}\index{D:/MSPM0G3507\_MCAL/mspmog3507\_mcal/Core/Source/gpio.c@{D:/MSPM0G3507\_MCAL/mspmog3507\_mcal/Core/Source/gpio.c}}
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include \char`\"{}../\+Include/gpio.\+h\char`\"{}}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int8\+\_\+t \mbox{\hyperlink{gpio_8c_ad175e9af1360c572a452f01a6810743f}{mcu\+\_\+gpio\+Init\+All\+Mcal}} (void)
\item 
int8\+\_\+t \mbox{\hyperlink{gpio_8c_a0a0f2ebe87263ebaf7d2a5b82b3323f3}{mcu\+\_\+gpio\+De\+Init\+Mcal}} (G\+P\+I\+O\+\_\+\+Regs $\ast$G\+P\+I\+Ox, uint32\+\_\+t G\+P\+I\+O\+\_\+\+Pin)
\item 
void \mbox{\hyperlink{gpio_8c_a617cf0cf44f313c752e64938cc69f078}{mcu\+\_\+gpio\+Write\+Mcal}} (void $\ast$port, uint32\+\_\+t pin, uint32\+\_\+t state)
\item 
uint16\+\_\+t \mbox{\hyperlink{gpio_8c_ab06af00aff6dcb76b738d675fd006945}{mcu\+\_\+gpio\+Read\+Mcal}} (void $\ast$port, uint32\+\_\+t pin)
\item 
void \mbox{\hyperlink{gpio_8c_a6ac893a301d3f18eff66dc7a5a20dbd2}{mcu\+\_\+gpio\+Toggle\+Mcal}} (void $\ast$port, uint32\+\_\+t pin)
\item 
void \mbox{\hyperlink{gpio_8c_ac43adb1d6237423192f51fad6680cb86}{mcu\+\_\+set\+\_\+gpio\+Direction\+Mcal}} (uint32\+\_\+t pincm\+Index, bool direction)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static uint32\+\_\+t \mbox{\hyperlink{gpio_8c_a9c374bc0a8da82f26002077648439d2e}{G\+P\+I\+O\+Init\+Counter}} = 0
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gpio_8c_a0a0f2ebe87263ebaf7d2a5b82b3323f3}\label{gpio_8c_a0a0f2ebe87263ebaf7d2a5b82b3323f3}} 
\index{gpio.c@{gpio.c}!mcu\_gpioDeInitMcal@{mcu\_gpioDeInitMcal}}
\index{mcu\_gpioDeInitMcal@{mcu\_gpioDeInitMcal}!gpio.c@{gpio.c}}
\doxysubsubsection{\texorpdfstring{mcu\_gpioDeInitMcal()}{mcu\_gpioDeInitMcal()}}
{\footnotesize\ttfamily int8\+\_\+t mcu\+\_\+gpio\+De\+Init\+Mcal (\begin{DoxyParamCaption}\item[{G\+P\+I\+O\+\_\+\+Regs $\ast$}]{G\+P\+I\+Ox,  }\item[{uint32\+\_\+t}]{G\+P\+I\+O\+\_\+\+Pin }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gpio_8c_ad175e9af1360c572a452f01a6810743f}\label{gpio_8c_ad175e9af1360c572a452f01a6810743f}} 
\index{gpio.c@{gpio.c}!mcu\_gpioInitAllMcal@{mcu\_gpioInitAllMcal}}
\index{mcu\_gpioInitAllMcal@{mcu\_gpioInitAllMcal}!gpio.c@{gpio.c}}
\doxysubsubsection{\texorpdfstring{mcu\_gpioInitAllMcal()}{mcu\_gpioInitAllMcal()}}
{\footnotesize\ttfamily int8\+\_\+t mcu\+\_\+gpio\+Init\+All\+Mcal (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gpio_8c_ab06af00aff6dcb76b738d675fd006945}\label{gpio_8c_ab06af00aff6dcb76b738d675fd006945}} 
\index{gpio.c@{gpio.c}!mcu\_gpioReadMcal@{mcu\_gpioReadMcal}}
\index{mcu\_gpioReadMcal@{mcu\_gpioReadMcal}!gpio.c@{gpio.c}}
\doxysubsubsection{\texorpdfstring{mcu\_gpioReadMcal()}{mcu\_gpioReadMcal()}}
{\footnotesize\ttfamily uint16\+\_\+t mcu\+\_\+gpio\+Read\+Mcal (\begin{DoxyParamCaption}\item[{void $\ast$}]{port,  }\item[{uint32\+\_\+t}]{pin }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gpio_8c_a6ac893a301d3f18eff66dc7a5a20dbd2}\label{gpio_8c_a6ac893a301d3f18eff66dc7a5a20dbd2}} 
\index{gpio.c@{gpio.c}!mcu\_gpioToggleMcal@{mcu\_gpioToggleMcal}}
\index{mcu\_gpioToggleMcal@{mcu\_gpioToggleMcal}!gpio.c@{gpio.c}}
\doxysubsubsection{\texorpdfstring{mcu\_gpioToggleMcal()}{mcu\_gpioToggleMcal()}}
{\footnotesize\ttfamily void mcu\+\_\+gpio\+Toggle\+Mcal (\begin{DoxyParamCaption}\item[{void $\ast$}]{port,  }\item[{uint32\+\_\+t}]{pin }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gpio_8c_a617cf0cf44f313c752e64938cc69f078}\label{gpio_8c_a617cf0cf44f313c752e64938cc69f078}} 
\index{gpio.c@{gpio.c}!mcu\_gpioWriteMcal@{mcu\_gpioWriteMcal}}
\index{mcu\_gpioWriteMcal@{mcu\_gpioWriteMcal}!gpio.c@{gpio.c}}
\doxysubsubsection{\texorpdfstring{mcu\_gpioWriteMcal()}{mcu\_gpioWriteMcal()}}
{\footnotesize\ttfamily void mcu\+\_\+gpio\+Write\+Mcal (\begin{DoxyParamCaption}\item[{void $\ast$}]{port,  }\item[{uint32\+\_\+t}]{pin,  }\item[{uint32\+\_\+t}]{state }\end{DoxyParamCaption})}

\mbox{\Hypertarget{gpio_8c_ac43adb1d6237423192f51fad6680cb86}\label{gpio_8c_ac43adb1d6237423192f51fad6680cb86}} 
\index{gpio.c@{gpio.c}!mcu\_set\_gpioDirectionMcal@{mcu\_set\_gpioDirectionMcal}}
\index{mcu\_set\_gpioDirectionMcal@{mcu\_set\_gpioDirectionMcal}!gpio.c@{gpio.c}}
\doxysubsubsection{\texorpdfstring{mcu\_set\_gpioDirectionMcal()}{mcu\_set\_gpioDirectionMcal()}}
{\footnotesize\ttfamily void mcu\+\_\+set\+\_\+gpio\+Direction\+Mcal (\begin{DoxyParamCaption}\item[{uint32\+\_\+t}]{pincm\+Index,  }\item[{bool}]{direction }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{gpio_8c_a9c374bc0a8da82f26002077648439d2e}\label{gpio_8c_a9c374bc0a8da82f26002077648439d2e}} 
\index{gpio.c@{gpio.c}!GPIOInitCounter@{GPIOInitCounter}}
\index{GPIOInitCounter@{GPIOInitCounter}!gpio.c@{gpio.c}}
\doxysubsubsection{\texorpdfstring{GPIOInitCounter}{GPIOInitCounter}}
{\footnotesize\ttfamily uint32\+\_\+t G\+P\+I\+O\+Init\+Counter = 0\hspace{0.3cm}{\ttfamily [static]}}

