\hypertarget{_defines_8h}{\section{C\-:/\-Users/\-Ondra/\-Desktop/\-Wheelchair Control M\-C\-U/\-Defines.h File Reference}
\label{_defines_8h}\index{C\-:/\-Users/\-Ondra/\-Desktop/\-Wheelchair Control M\-C\-U/\-Defines.\-h@{C\-:/\-Users/\-Ondra/\-Desktop/\-Wheelchair Control M\-C\-U/\-Defines.\-h}}
}
{\ttfamily \#include $<$avr/io.\-h$>$}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structt___config_struct}{t\-\_\-\-Config\-Struct}
\item 
struct \hyperlink{structt___i_s_rs_shared_struct}{t\-\_\-\-I\-S\-Rs\-Shared\-Struct}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group___wheelchair_control_ga8d94b369f4bd967ee0a908bd0e3a3703}{G\-L\-O\-B\-A\-L\-\_\-\-I\-N\-T\-E\-R\-R\-U\-P\-T\-S\-\_\-\-E\-N\-A\-B\-L\-E}()~asm(\char`\"{}sei\char`\"{})
\item 
\#define \hyperlink{group___wheelchair_control_gaf76ecd4ad974f2528e71b648bb3efad8}{G\-L\-O\-B\-A\-L\-\_\-\-I\-N\-T\-E\-R\-R\-U\-P\-T\-S\-\_\-\-D\-I\-S\-A\-B\-L\-E}()~asm(\char`\"{}cli\char`\"{})
\item 
\#define \hyperlink{group___wheelchair_control_ga7f47a09c8922dd2653f82adead8d4602}{W\-A\-T\-C\-H\-D\-O\-G\-\_\-\-R\-E\-S\-E\-T}()~asm(\char`\"{}W\-D\-R\char`\"{})
\item 
\#define \hyperlink{group___wheelchair_control_ga9c5cb807f967fc250d576163cdb6195c}{W\-A\-T\-C\-H\-D\-O\-G\-\_\-\-I\-N\-I\-T\-I\-A\-L\-I\-Z\-E}()~\hyperlink{group___wheelchair_control_ga7f47a09c8922dd2653f82adead8d4602}{W\-A\-T\-C\-H\-D\-O\-G\-\_\-\-R\-E\-S\-E\-T}(); W\-D\-T\-C\-R = ( (1$<$$<$W\-D\-E) $|$ 0x05 )
\item 
\#define \hyperlink{group___wheelchair_control_ga008839ecf2d029c61c4e228dd45ac40f}{S\-R\-F08\-\_\-\-R\-A\-N\-G\-E}~(2500)
\item 
\#define \hyperlink{group___wheelchair_control_ga3b1fb7ffb8acee009d2aa270ada7aa1f}{S\-R\-F08\-\_\-\-G\-A\-I\-N}~(0x03)
\item 
\#define \hyperlink{group___wheelchair_control_gaf8ec4b39e3df75b660e14d19bec7e950}{S\-R\-F08\-\_\-\-L\-O\-W\-E\-S\-T\-\_\-\-A\-D\-D\-R}~(0x\-E0)
\item 
\#define \hyperlink{group___wheelchair_control_ga59b44beee9400f2c2a490f2ccbb5f345}{S\-R\-F08\-\_\-\-H\-I\-G\-H\-E\-S\-T\-\_\-\-A\-D\-D\-R}~(0x\-E8)
\item 
\#define \hyperlink{group___wheelchair_control_ga17ae80300a19853baae9dc086d18bb38}{S\-C\-L\-\_\-\-C\-L\-O\-C\-K}~(50000\-U\-L)
\item 
\#define \hyperlink{group___wheelchair_control_gaf764871cd04d244b8696a05572203cc2}{R\-I\-G\-H\-T\-\_\-\-W\-H\-E\-E\-L\-\_\-\-D\-I\-R}~( P\-I\-N\-D \& (1 $<$$<$ P\-D7) )
\item 
\#define \hyperlink{group___wheelchair_control_ga68cb31201bd8f70cf03f1704dc05548f}{L\-E\-F\-T\-\_\-\-W\-H\-E\-E\-L\-\_\-\-D\-I\-R}~( P\-I\-N\-D \& (1 $<$$<$ P\-D6) )
\item 
\#define \hyperlink{group___wheelchair_control_ga04374f3e0c2867d149ff886babedf7e5}{R\-I\-G\-H\-T\-\_\-\-W\-H\-E\-E\-L\-\_\-\-S\-T\-E\-P}~( P\-I\-N\-D \& (1 $<$$<$ P\-D3) )
\item 
\#define \hyperlink{group___wheelchair_control_ga6b83eac3d01292550760867bfb7ded4b}{L\-E\-F\-T\-\_\-\-W\-H\-E\-E\-L\-\_\-\-S\-T\-E\-P}~( P\-I\-N\-D \& (1 $<$$<$ P\-D2) )
\item 
\#define \hyperlink{group___wheelchair_control_ga7e21a8fbffe10de11f8a9551793f4b8c}{U\-C\-H\-A\-R\-\_\-\-T\-O\-\_\-\-R\-C\-\_\-\-S\-I\-G\-N\-A\-L}~(247)
\item 
\#define \hyperlink{group___wheelchair_control_ga35c6e14ffaa710baea0e32275d589048}{S\-P\-E\-E\-D\-\_\-\-O\-F\-F\-S\-E\-T}~(128)
\item 
\#define \hyperlink{group___wheelchair_control_ga8aaf955edd66991dd843a882e99872b6}{R\-E\-A\-R\-\_\-\-C\-O\-R\-R\-E\-C\-T\-I\-O\-N\-\_\-\-O\-F\-F\-S\-E\-T}~(128)
\item 
\#define \hyperlink{group___wheelchair_control_ga8afec1d25a629d35bc7e90bb03f344b5}{R\-E\-G\-\_\-\-O\-U\-T\-P\-U\-T\-\_\-\-M\-A\-X}~(255)
\item 
\#define \hyperlink{group___wheelchair_control_ga6e055578e4fc947914facd4b3cbf86d5}{R\-E\-G\-\_\-\-O\-U\-T\-P\-U\-T\-\_\-\-M\-I\-N}~(0)
\item 
\#define \hyperlink{group___wheelchair_control_gaf7478eb08826062b129b2f68f196e2fd}{I\-N\-T\-E\-G\-R\-A\-T\-O\-R\-\_\-\-M\-A\-X}~(2550)
\item 
\#define \hyperlink{group___wheelchair_control_gabf2e2c75b146e67991dfcfcdfb52653b}{I\-N\-T\-E\-G\-R\-A\-T\-O\-R\-\_\-\-M\-I\-N}~(-\/2550)
\item 
\#define \hyperlink{group___wheelchair_control_ga43bafb28b29491ec7f871319b5a3b2f8}{F\-\_\-\-C\-P\-U}~(16e6)
\item 
\#define \hyperlink{group___wheelchair_control_ga6a031e44eebf7b9ac3b455e0f925d883}{S\-T\-E\-E\-R\-I\-N\-G\-\_\-\-W\-H\-E\-E\-L\-\_\-\-L\-E\-F\-T}~(\hyperlink{group___wheelchair_control_gaa93f0eb578d23995850d61f7d61c55c1}{F\-A\-L\-S\-E})
\item 
\#define \hyperlink{group___wheelchair_control_ga4038aa06973c63c99d388354da44ad05}{L\-E\-D\-\_\-\-I\-N}~(1 $<$$<$ P\-A1)
\item 
\#define \hyperlink{group___wheelchair_control_ga916128c66228f04bfe04c69a5bc5a322}{L\-E\-D\-\_\-\-O\-U\-T}~(1 $<$$<$ P\-A2)
\item 
\#define \hyperlink{group___wheelchair_control_ga351b19362bfade54dddccdce0bf14672}{B\-L\-I\-N\-K\-\_\-\-L\-E\-D\-S\-\_\-\-M\-S}(D\-U\-R\-A\-T\-I\-O\-N)~P\-O\-R\-T\-A $|$= (\hyperlink{group___wheelchair_control_ga4038aa06973c63c99d388354da44ad05}{L\-E\-D\-\_\-\-I\-N} $|$ \hyperlink{group___wheelchair_control_ga916128c66228f04bfe04c69a5bc5a322}{L\-E\-D\-\_\-\-O\-U\-T}); \hyperlink{group___wheelchair_control_gac1341fc2a18c0266e91eb05376f310fc}{D\-E\-L\-A\-Y\-\_\-\-M\-S}(D\-U\-R\-A\-T\-I\-O\-N); P\-O\-R\-T\-A \&= $\sim$(\hyperlink{group___wheelchair_control_ga4038aa06973c63c99d388354da44ad05}{L\-E\-D\-\_\-\-I\-N} $|$ \hyperlink{group___wheelchair_control_ga916128c66228f04bfe04c69a5bc5a322}{L\-E\-D\-\_\-\-O\-U\-T}); \hyperlink{group___wheelchair_control_gac1341fc2a18c0266e91eb05376f310fc}{D\-E\-L\-A\-Y\-\_\-\-M\-S}(D\-U\-R\-A\-T\-I\-O\-N)
\item 
\#define \hyperlink{group___wheelchair_control_ga5d77ca68a435d89e0b6f17fb9b93f6cb}{D\-E\-L\-A\-Y\-\_\-\-U\-S}(D\-U\-R\-A\-T\-I\-O\-N)~\-\_\-delay\-\_\-us(D\-U\-R\-A\-T\-I\-O\-N)
\item 
\#define \hyperlink{group___wheelchair_control_gac1341fc2a18c0266e91eb05376f310fc}{D\-E\-L\-A\-Y\-\_\-\-M\-S}(D\-U\-R\-A\-T\-I\-O\-N)~\-\_\-delay\-\_\-ms(D\-U\-R\-A\-T\-I\-O\-N)
\item 
\#define \hyperlink{group___wheelchair_control_ga67e1a0785771088aef629195709f67d0}{P\-I\-\_\-\-M\-R\-A\-D}~(3141)
\item 
\#define \hyperlink{group___wheelchair_control_ga0f066932d63fcabd7d9ef372f68afd3e}{T\-W\-O\-\_\-\-P\-I\-\_\-\-M\-R\-A\-D}~(6283)
\item 
\#define \hyperlink{group___wheelchair_control_gaa60b851dbb88ffbd2c4c34a5080e1a9f}{W\-H\-E\-E\-L\-\_\-\-I\-N\-C\-R\-E\-M\-E\-N\-T\-\_\-\-S\-C\-A\-L\-E}~(10)
\item 
\#define \hyperlink{group___wheelchair_control_gabcc26831b806eb64b755f439d52fa227}{R\-E\-G\-\_\-\-A\-N\-G\-L\-E\-\_\-\-E\-P\-S\-I\-L\-O\-N}~(0.\-1)
\item 
\#define \hyperlink{group___wheelchair_control_ga0898a58a8634f783828a686860cda0d5}{W\-T\-E\-M\-P\-\_\-\-S\-C\-A\-L\-E}~(10)
\item 
\#define \hyperlink{group___wheelchair_control_gacfe2afb19996339f03ea89f35eada71d}{O\-M\-E\-G\-A\-\_\-\-S\-C\-A\-L\-E}~(0.\-1)
\item 
\#define \hyperlink{group___wheelchair_control_gaade6ae83ba3d5da22271533e1d96866f}{U\-A\-R\-T\-\_\-\-W\-A\-T\-C\-H\-D\-O\-G\-\_\-\-T\-I\-M\-E\-O\-U\-T}~(20)
\item 
\#define \hyperlink{group___wheelchair_control_ga93be2ebf32ee4cbe6ff213a2ec792012}{T\-I\-M\-E\-R\-\_\-0\-\_\-\-R\-E\-S\-E\-T}()~(T\-C\-N\-T0 = 0x00);
\item 
\#define \hyperlink{group___wheelchair_control_gabc1180949587ffcd5bc654cb51277030}{T\-I\-M\-E\-R\-\_\-1\-\_\-\-O\-F\-F}()~(T\-C\-C\-R1\-B = 0x18);
\item 
\#define \hyperlink{group___wheelchair_control_gab17c2ee42b9fd467a4b5714f50072661}{T\-I\-M\-E\-R2\-\_\-\-O\-V\-F\-\_\-\-I\-N\-T\-\_\-\-E\-N\-A\-B\-L\-E}()~(T\-I\-M\-S\-K $|$= (1$<$$<$T\-O\-I\-E2))
\item 
\#define \hyperlink{group___wheelchair_control_ga4e570cb99270fb3f7cd2348291d7adfa}{T\-I\-M\-E\-R2\-\_\-\-O\-V\-F\-\_\-\-I\-N\-T\-\_\-\-D\-I\-S\-A\-B\-L\-E}()~(T\-I\-M\-S\-K \&= $\sim$(1$<$$<$T\-O\-I\-E2))
\item 
\#define \hyperlink{group___wheelchair_control_ga23d6280e6e14a1797bc4aa9a83c44aa3}{E\-N\-C\-O\-D\-E\-R\-\_\-\-I\-N\-T\-E\-R\-R\-U\-P\-T\-\_\-\-E\-N\-A\-B\-L\-E}()~(G\-I\-C\-R $|$= (0x\-C0))
\item 
\#define \hyperlink{group___wheelchair_control_gaab9cf555808529f5755146b77159e0d3}{E\-N\-C\-O\-D\-E\-R\-\_\-\-I\-N\-T\-E\-R\-R\-U\-P\-T\-\_\-\-D\-I\-S\-A\-B\-L\-E}()~(G\-I\-C\-R \&= $\sim$(0x\-C0))
\item 
\#define \hyperlink{group___wheelchair_control_ga9f914e81939d35f94bfc8fdb8019e5da}{S\-R\-F08\-\_\-\-S\-A\-F\-E\-T\-Y\-\_\-\-R\-A\-N\-G\-E}~(10)
\item 
\#define \hyperlink{group___wheelchair_control_gaa93f0eb578d23995850d61f7d61c55c1}{F\-A\-L\-S\-E}~(0)
\item 
\#define \hyperlink{group___wheelchair_control_gaa8cecfc5c5c054d2875c03e77b7be15d}{T\-R\-U\-E}~(!\hyperlink{group___wheelchair_control_gaa93f0eb578d23995850d61f7d61c55c1}{F\-A\-L\-S\-E})
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group___wheelchair_control_gae1966cb0bf15b683e2452b1047b361f2}{Timer2\-Intervals} 
\item 
enum \hyperlink{group___wheelchair_control_ga43ae641911c4d4831a4507435382f144}{Rx\-Packet\-Byte} 
\item 
enum \hyperlink{group___wheelchair_control_gae1613725bf596668bf4684938654f9f4}{Tx\-Packet\-Byte} 
\item 
enum \hyperlink{group___wheelchair_control_gaa3a30006a1f70da9e1994437137855cd}{Packet\-Headers} 
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This file contains necessary definitions \& macros 

Definition in file \hyperlink{_defines_8h_source}{Defines.\-h}.

