\section{include/sys/timeout.h File Reference}
\label{timeout_8h}\index{include/sys/timeout.h@{include/sys/timeout.h}}
Internal Interface: Powerdown Timer Routines. 

\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf DEFAULT\_\-SHUTOFF\_\-TIME}\ (15$\ast$60)
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf shutoff\_\-init} (void)
\item 
void {\bf shutoff\_\-restart} (void)
\item 
void {\bf autoshutoff\_\-check} (void)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
volatile unsigned int {\bf auto\_\-shutoff\_\-counter}
\item 
unsigned int {\bf auto\_\-shutoff\_\-period}
\item 
unsigned int {\bf auto\_\-shutoff\_\-secs}
\item 
volatile unsigned int {\bf auto\_\-shutoff\_\-elapsed}
\item 
volatile unsigned int {\bf idle\_\-powerdown}
\end{CompactItemize}


\subsection{Detailed Description}
Internal Interface: Powerdown Timer Routines. 

\begin{Desc}
\item[Author:]Rossz Vamos-Wentworth $<${\tt rossw@jps.net}$>$\end{Desc}


Definition in file {\bf timeout.h}.

\subsection{Define Documentation}
\index{timeout.h@{timeout.h}!DEFAULT_SHUTOFF_TIME@{DEFAULT\_\-SHUTOFF\_\-TIME}}
\index{DEFAULT_SHUTOFF_TIME@{DEFAULT\_\-SHUTOFF\_\-TIME}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DEFAULT\_\-SHUTOFF\_\-TIME\ (15$\ast$60)}\label{timeout_8h_a0}




Definition at line 39 of file timeout.h.

\subsection{Function Documentation}
\index{timeout.h@{timeout.h}!autoshutoff_check@{autoshutoff\_\-check}}
\index{autoshutoff_check@{autoshutoff\_\-check}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void autoshutoff\_\-check (void)}\label{timeout_8h_a8}


\index{timeout.h@{timeout.h}!shutoff_init@{shutoff\_\-init}}
\index{shutoff_init@{shutoff\_\-init}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void shutoff\_\-init (void)}\label{timeout_8h_a6}




Referenced by kmain().\index{timeout.h@{timeout.h}!shutoff_restart@{shutoff\_\-restart}}
\index{shutoff_restart@{shutoff\_\-restart}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void shutoff\_\-restart (void)}\label{timeout_8h_a7}




\subsection{Variable Documentation}
\index{timeout.h@{timeout.h}!auto_shutoff_counter@{auto\_\-shutoff\_\-counter}}
\index{auto_shutoff_counter@{auto\_\-shutoff\_\-counter}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int {\bf auto\_\-shutoff\_\-counter}}\label{timeout_8h_a1}


\index{timeout.h@{timeout.h}!auto_shutoff_elapsed@{auto\_\-shutoff\_\-elapsed}}
\index{auto_shutoff_elapsed@{auto\_\-shutoff\_\-elapsed}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int {\bf auto\_\-shutoff\_\-elapsed}}\label{timeout_8h_a4}


\index{timeout.h@{timeout.h}!auto_shutoff_period@{auto\_\-shutoff\_\-period}}
\index{auto_shutoff_period@{auto\_\-shutoff\_\-period}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf auto\_\-shutoff\_\-period}}\label{timeout_8h_a2}


\index{timeout.h@{timeout.h}!auto_shutoff_secs@{auto\_\-shutoff\_\-secs}}
\index{auto_shutoff_secs@{auto\_\-shutoff\_\-secs}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf auto\_\-shutoff\_\-secs}}\label{timeout_8h_a3}


\index{timeout.h@{timeout.h}!idle_powerdown@{idle\_\-powerdown}}
\index{idle_powerdown@{idle\_\-powerdown}!timeout.h@{timeout.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}volatile unsigned int {\bf idle\_\-powerdown}}\label{timeout_8h_a5}


