\hypertarget{power_8h}{}\doxysubsection{power.\+h File Reference}
\label{power_8h}\index{power.h@{power.h}}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{power_8h_a7154fa3046d3387af8d6c5f489bf7194}{clock\+\_\+prescale\+\_\+get}}()~(clock\+\_\+div\+\_\+t)(C\+L\+K\+PR \& (\mbox{\hyperlink{group__avr__stdint_gaba7bc1797add20fe3efdf37ced1182c5}{uint8\+\_\+t}})((1$<$$<$C\+L\+K\+P\+S0)$\vert$(1$<$$<$C\+L\+K\+P\+S1)$\vert$(1$<$$<$C\+L\+K\+P\+S2)$\vert$(1$<$$<$C\+L\+K\+P\+S3)))
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static \+\_\+\+\_\+inline void \mbox{\hyperlink{power_8h_a577a0eebac2a6c2d105e61d9c8f04140}{\+\_\+\+\_\+attribute\+\_\+\+\_\+}} ((\+\_\+\+\_\+always\+\_\+inline\+\_\+\+\_\+)) \+\_\+\+\_\+power\+\_\+all\+\_\+enable()
\item 
void \mbox{\hyperlink{group__avr__power_gae2d32c0c4f18f0019e680354bcc1c3ef}{clock\+\_\+prescale\+\_\+set}} (clock\+\_\+div\+\_\+t \+\_\+\+\_\+x)
\end{DoxyCompactItemize}


\doxysubsubsection{Macro Definition Documentation}
\mbox{\Hypertarget{power_8h_a7154fa3046d3387af8d6c5f489bf7194}\label{power_8h_a7154fa3046d3387af8d6c5f489bf7194}} 
\index{power.h@{power.h}!clock\_prescale\_get@{clock\_prescale\_get}}
\index{clock\_prescale\_get@{clock\_prescale\_get}!power.h@{power.h}}
\doxyparagraph{\texorpdfstring{clock\_prescale\_get}{clock\_prescale\_get}}
{\footnotesize\ttfamily \#define clock\+\_\+prescale\+\_\+get(\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})~(clock\+\_\+div\+\_\+t)(C\+L\+K\+PR \& (\mbox{\hyperlink{group__avr__stdint_gaba7bc1797add20fe3efdf37ced1182c5}{uint8\+\_\+t}})((1$<$$<$C\+L\+K\+P\+S0)$\vert$(1$<$$<$C\+L\+K\+P\+S1)$\vert$(1$<$$<$C\+L\+K\+P\+S2)$\vert$(1$<$$<$C\+L\+K\+P\+S3)))}

Gets and returns the clock prescaler register setting. The return type is {\ttfamily clock\+\_\+div\+\_\+t}.

\begin{DoxyNote}{Note}
For device with X\+T\+AL Divide Control Register (X\+D\+IV), return can actually range from 1 to 129. Care should be taken has the return value could differ from the typedef enum clock\+\_\+div\+\_\+t. This should only happen if clock\+\_\+prescale\+\_\+set was previously called with a value other than those defined by {\ttfamily clock\+\_\+div\+\_\+t}. 
\end{DoxyNote}


\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{power_8h_a577a0eebac2a6c2d105e61d9c8f04140}\label{power_8h_a577a0eebac2a6c2d105e61d9c8f04140}} 
\index{power.h@{power.h}!\_\_attribute\_\_@{\_\_attribute\_\_}}
\index{\_\_attribute\_\_@{\_\_attribute\_\_}!power.h@{power.h}}
\doxyparagraph{\texorpdfstring{\_\_attribute\_\_()}{\_\_attribute\_\_()}}
{\footnotesize\ttfamily static \+\_\+\+\_\+inline void \+\_\+\+\_\+attribute\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{(\+\_\+\+\_\+always\+\_\+inline\+\_\+\+\_\+)}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

