\documentclass[11pt,dvips]{article}
\usepackage{epsfig}
\usepackage{fancyheadings}
\setlength{\parskip}{2ex}
%\setlength{\parindent}{0em}
\hoffset=-55pt
\voffset=-60pt
\textheight=9in
\textwidth=6.5in
\parindent=0pt
\parskip=10pt
\pagestyle{fancy}
\lhead{\bfseries EE 308 }
\chead{\bfseries }
\rhead{\bfseries Spring 1998}
\lfoot{\bfseries }
\cfoot{\thepage}
\rfoot{\bfseries }
\setlength{\headrulewidth}{0.5pt}
\begin{document}


\begin{center}
{\bf USING INPUT CAPTURE ON THE HC12}\\
\end{center}

\begin{enumerate}
\item In the main program:
\begin{enumerate}
\item Turn on timer subsystem (TSCR reg)
\item Set prescaler (TMSK2 reg)
\item Set up PTx as IC (TIOS reg)
\item Set edge to capture (TCTL 3-4 regs)
\item Clear Flag (TFLG1 reg)
\item Enable Int if using (TMSK1 reg)
\end{enumerate}
\item In interrupt service routine (or main program if not using interrupts):
\begin{enumerate}
\item Read time of edge from TCx
\item Clear flag (TFLG1 reg)
\end{enumerate}
\end{enumerate}


\end{document}
