\section{gen\_\-regs Namespace Reference}
\label{namespacegen__regs}\index{gen\_\-regs@{gen\_\-regs}}


\subsection*{Functions}
\begin{CompactItemize}
\item 
def {\bf prescaler\_\-module}
\item 
def {\bf prescaler\_\-clk}
\item 
def {\bf prescaler\_\-module\_\-end}
\item 
def {\bf prescaler\_\-print}
\item 
def {\bf timer\_\-intrp}
\item 
def {\bf timer\_\-intrp\_\-print}
\item 
def {\bf regs\_\-parse}
\item 
def {\bf regs\_\-print}
\item 
def {\bf pins\_\-parse}
\item 
def {\bf pins\_\-end}
\item 
def {\bf pins\_\-print}
\item 
def {\bf start\_\-element}
\item 
def {\bf end\_\-element}
\item 
def {\bf char\_\-data}
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
list {\bf not\_\-a\_\-register}
\item 
list {\bf curtree} = [$\,$]
\item 
list {\bf curattrtree} = [$\,$]
\item 
int {\bf prescaler\_\-timer\_\-num} = 1
\item 
dictionary {\bf prescaler\_\-timers} = \{\}
\item 
dictionary {\bf timer\_\-dict} = \{\}
\item 
dictionary {\bf sigtimer\_\-OV\_\-dict} = \{\}
\item 
dictionary {\bf sigtimer\_\-OC\_\-dict} = \{\}
\item 
dictionary {\bf sigtimer\_\-IC\_\-dict} = \{\}
\item 
dictionary {\bf bits} = \{\}
\item 
dictionary {\bf regs} = \{\}
\item 
{\bf alt\_\-name} = None
\item 
{\bf pin\_\-name} = None
\item 
dictionary {\bf pins\_\-dict} = \{\}
\item 
tuple {\bf p} = xml.parsers.expat.ParserCreate()
\item 
tuple {\bf f} = open(sys.argv[1])
\end{CompactItemize}


\subsection{Function Documentation}
\index{gen\_\-regs@{gen\_\-regs}!char\_\-data@{char\_\-data}}
\index{char\_\-data@{char\_\-data}!gen_regs@{gen\_\-regs}}
\subsubsection[char\_\-data]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::char\_\-data ( {\em data})}\label{namespacegen__regs_48c536e285bb8282615f9c2c8e861e73}




Definition at line 295 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!end\_\-element@{end\_\-element}}
\index{end\_\-element@{end\_\-element}!gen_regs@{gen\_\-regs}}
\subsubsection[end\_\-element]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::end\_\-element ( {\em name})}\label{namespacegen__regs_63dcd1924e5cc9d9bc107eac488aadea}




Definition at line 285 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!pins\_\-end@{pins\_\-end}}
\index{pins\_\-end@{pins\_\-end}!gen_regs@{gen\_\-regs}}
\subsubsection[pins\_\-end]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::pins\_\-end ()}\label{namespacegen__regs_a2c36f4957fe5cf3452585a0a6762e53}




Definition at line 245 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!pins\_\-parse@{pins\_\-parse}}
\index{pins\_\-parse@{pins\_\-parse}!gen_regs@{gen\_\-regs}}
\subsubsection[pins\_\-parse]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::pins\_\-parse ( {\em data})}\label{namespacegen__regs_3f2ba473ddc709160526574515c0787b}




Definition at line 225 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!pins\_\-print@{pins\_\-print}}
\index{pins\_\-print@{pins\_\-print}!gen_regs@{gen\_\-regs}}
\subsubsection[pins\_\-print]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::pins\_\-print ()}\label{namespacegen__regs_05b1ba808c6e152b5834d50e4025affb}




Definition at line 259 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!prescaler\_\-clk@{prescaler\_\-clk}}
\index{prescaler\_\-clk@{prescaler\_\-clk}!gen_regs@{gen\_\-regs}}
\subsubsection[prescaler\_\-clk]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::prescaler\_\-clk ()}\label{namespacegen__regs_ca46047fda775e364abd9e1fb993108b}




Definition at line 35 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!prescaler\_\-module@{prescaler\_\-module}}
\index{prescaler\_\-module@{prescaler\_\-module}!gen_regs@{gen\_\-regs}}
\subsubsection[prescaler\_\-module]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::prescaler\_\-module ()}\label{namespacegen__regs_46e640b1689f2fde5180e40952e50388}




Definition at line 22 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!prescaler\_\-module\_\-end@{prescaler\_\-module\_\-end}}
\index{prescaler\_\-module\_\-end@{prescaler\_\-module\_\-end}!gen_regs@{gen\_\-regs}}
\subsubsection[prescaler\_\-module\_\-end]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::prescaler\_\-module\_\-end ()}\label{namespacegen__regs_97b31df4ad5374d267050683663902d2}




Definition at line 65 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!prescaler\_\-print@{prescaler\_\-print}}
\index{prescaler\_\-print@{prescaler\_\-print}!gen_regs@{gen\_\-regs}}
\subsubsection[prescaler\_\-print]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::prescaler\_\-print ()}\label{namespacegen__regs_87aa5e2268837b41fd326838097bfa83}




Definition at line 75 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!regs\_\-parse@{regs\_\-parse}}
\index{regs\_\-parse@{regs\_\-parse}!gen_regs@{gen\_\-regs}}
\subsubsection[regs\_\-parse]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::regs\_\-parse ()}\label{namespacegen__regs_657aae57104a44478f72ef0eb668a5f0}




Definition at line 185 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!regs\_\-print@{regs\_\-print}}
\index{regs\_\-print@{regs\_\-print}!gen_regs@{gen\_\-regs}}
\subsubsection[regs\_\-print]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::regs\_\-print ()}\label{namespacegen__regs_07618a1ac031f4426bfe2a6b037e2633}




Definition at line 203 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!start\_\-element@{start\_\-element}}
\index{start\_\-element@{start\_\-element}!gen_regs@{gen\_\-regs}}
\subsubsection[start\_\-element]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::start\_\-element ( {\em name}, \/   {\em attrs})}\label{namespacegen__regs_2470a992b13ed9a6e68d6235641bd9a9}




Definition at line 273 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!timer\_\-intrp@{timer\_\-intrp}}
\index{timer\_\-intrp@{timer\_\-intrp}!gen_regs@{gen\_\-regs}}
\subsubsection[timer\_\-intrp]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::timer\_\-intrp ( {\em data})}\label{namespacegen__regs_bf4d54bfd2ff88de182c722bed0c113b}




Definition at line 108 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!timer\_\-intrp\_\-print@{timer\_\-intrp\_\-print}}
\index{timer\_\-intrp\_\-print@{timer\_\-intrp\_\-print}!gen_regs@{gen\_\-regs}}
\subsubsection[timer\_\-intrp\_\-print]{\setlength{\rightskip}{0pt plus 5cm}def gen\_\-regs::timer\_\-intrp\_\-print ()}\label{namespacegen__regs_5cc93ba3a99e5488b66fd51ce6695baa}




Definition at line 132 of file gen\_\-regs.py.

\subsection{Variable Documentation}
\index{gen\_\-regs@{gen\_\-regs}!alt\_\-name@{alt\_\-name}}
\index{alt\_\-name@{alt\_\-name}!gen_regs@{gen\_\-regs}}
\subsubsection[alt\_\-name]{\setlength{\rightskip}{0pt plus 5cm}{\bf gen\_\-regs::alt\_\-name} = None}\label{namespacegen__regs_bc0dd447ec91ee1c40a9dc569812bdd7}




Definition at line 221 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!bits@{bits}}
\index{bits@{bits}!gen_regs@{gen\_\-regs}}
\subsubsection[bits]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::bits} = \{\}}\label{namespacegen__regs_c616134f40b16aa38eceb2da734e0c96}




Definition at line 182 of file gen\_\-regs.py.

Referenced by MD5Final().\index{gen\_\-regs@{gen\_\-regs}!curattrtree@{curattrtree}}
\index{curattrtree@{curattrtree}!gen_regs@{gen\_\-regs}}
\subsubsection[curattrtree]{\setlength{\rightskip}{0pt plus 5cm}list {\bf gen\_\-regs::curattrtree} = [$\,$]}\label{namespacegen__regs_5cbc2e14a7abc2fabae7acdc806d1489}




Definition at line 14 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!curtree@{curtree}}
\index{curtree@{curtree}!gen_regs@{gen\_\-regs}}
\subsubsection[curtree]{\setlength{\rightskip}{0pt plus 5cm}list {\bf gen\_\-regs::curtree} = [$\,$]}\label{namespacegen__regs_73a5fd7e8963e50159658dd40b71e31a}




Definition at line 13 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!f@{f}}
\index{f@{f}!gen_regs@{gen\_\-regs}}
\subsubsection[f]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf gen\_\-regs::f} = open(sys.argv[1])}\label{namespacegen__regs_6c2f629fa7cfe8c794fd79cd861c8a7e}




Definition at line 333 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!not\_\-a\_\-register@{not\_\-a\_\-register}}
\index{not\_\-a\_\-register@{not\_\-a\_\-register}!gen_regs@{gen\_\-regs}}
\subsubsection[not\_\-a\_\-register]{\setlength{\rightskip}{0pt plus 5cm}list {\bf gen\_\-regs::not\_\-a\_\-register}}\label{namespacegen__regs_fda7e667c1f17f8d01a9662745aebfe2}


\textbf{Initial value:}

\begin{Code}\begin{verbatim}["IO_START_ADDR",
                "IO_STOP_ADDR",
                "EXT_IO_START_ADDR",
                "EXT_IO_STOP_ADDR",
                "MEM_START_ADDR",
                "MEM_STOP_ADDR",
                ]
\end{verbatim}
\end{Code}


Definition at line 6 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!p@{p}}
\index{p@{p}!gen_regs@{gen\_\-regs}}
\subsubsection[p]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf gen\_\-regs::p} = xml.parsers.expat.ParserCreate()}\label{namespacegen__regs_9dd0a93b6c01746f99e12eb72cca3bc1}




Definition at line 327 of file gen\_\-regs.py.

Referenced by AX12\_\-ping(), AX12\_\-read\_\-byte(), AX12\_\-read\_\-int(), AX12\_\-reset(), AX12\_\-set\_\-position2(), AX12\_\-set\_\-position3(), AX12\_\-write\_\-byte(), AX12\_\-write\_\-int(), biquad\_\-do\_\-filter(), get\_\-scancode(), pid\_\-do\_\-filter(), trajectory\_\-goto\_\-d\_\-a\_\-rel(), and trajectory\_\-goto\_\-xy\_\-rel().\index{gen\_\-regs@{gen\_\-regs}!pin\_\-name@{pin\_\-name}}
\index{pin\_\-name@{pin\_\-name}!gen_regs@{gen\_\-regs}}
\subsubsection[pin\_\-name]{\setlength{\rightskip}{0pt plus 5cm}{\bf gen\_\-regs::pin\_\-name} = None}\label{namespacegen__regs_17be0827aba0930f2d191f3460b557cc}




Definition at line 222 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!pins\_\-dict@{pins\_\-dict}}
\index{pins\_\-dict@{pins\_\-dict}!gen_regs@{gen\_\-regs}}
\subsubsection[pins\_\-dict]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::pins\_\-dict} = \{\}}\label{namespacegen__regs_f1ad597eab5b93e6af26e18cde2d8667}




Definition at line 223 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!prescaler\_\-timer\_\-num@{prescaler\_\-timer\_\-num}}
\index{prescaler\_\-timer\_\-num@{prescaler\_\-timer\_\-num}!gen_regs@{gen\_\-regs}}
\subsubsection[prescaler\_\-timer\_\-num]{\setlength{\rightskip}{0pt plus 5cm}int {\bf gen\_\-regs::prescaler\_\-timer\_\-num} = 1}\label{namespacegen__regs_b0434a370fe47fa7ce5b1606fd144471}




Definition at line 19 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!prescaler\_\-timers@{prescaler\_\-timers}}
\index{prescaler\_\-timers@{prescaler\_\-timers}!gen_regs@{gen\_\-regs}}
\subsubsection[prescaler\_\-timers]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::prescaler\_\-timers} = \{\}}\label{namespacegen__regs_9ea525894bab2d753bca37b54a036e9b}




Definition at line 20 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!regs@{regs}}
\index{regs@{regs}!gen_regs@{gen\_\-regs}}
\subsubsection[regs]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::regs} = \{\}}\label{namespacegen__regs_0822c50985dccb2653317198ed3dfc19}




Definition at line 183 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!sigtimer\_\-IC\_\-dict@{sigtimer\_\-IC\_\-dict}}
\index{sigtimer\_\-IC\_\-dict@{sigtimer\_\-IC\_\-dict}!gen_regs@{gen\_\-regs}}
\subsubsection[sigtimer\_\-IC\_\-dict]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::sigtimer\_\-IC\_\-dict} = \{\}}\label{namespacegen__regs_c71151855bd9e9500527f66d65dd107c}




Definition at line 106 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!sigtimer\_\-OC\_\-dict@{sigtimer\_\-OC\_\-dict}}
\index{sigtimer\_\-OC\_\-dict@{sigtimer\_\-OC\_\-dict}!gen_regs@{gen\_\-regs}}
\subsubsection[sigtimer\_\-OC\_\-dict]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::sigtimer\_\-OC\_\-dict} = \{\}}\label{namespacegen__regs_a47b99702f67440968702b5195e1ae8b}




Definition at line 105 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!sigtimer\_\-OV\_\-dict@{sigtimer\_\-OV\_\-dict}}
\index{sigtimer\_\-OV\_\-dict@{sigtimer\_\-OV\_\-dict}!gen_regs@{gen\_\-regs}}
\subsubsection[sigtimer\_\-OV\_\-dict]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::sigtimer\_\-OV\_\-dict} = \{\}}\label{namespacegen__regs_3c473817306f933d7d9c1417c11b8788}




Definition at line 104 of file gen\_\-regs.py.\index{gen\_\-regs@{gen\_\-regs}!timer\_\-dict@{timer\_\-dict}}
\index{timer\_\-dict@{timer\_\-dict}!gen_regs@{gen\_\-regs}}
\subsubsection[timer\_\-dict]{\setlength{\rightskip}{0pt plus 5cm}dictionary {\bf gen\_\-regs::timer\_\-dict} = \{\}}\label{namespacegen__regs_292eb09e9a67aeaad867ec0563a2ee70}




Definition at line 103 of file gen\_\-regs.py.