/**************************************************

 * File: scan.h         Project by: David Hodgdon *

 * Class: ECE476        Instructor: Bruce Land    *         

 *************************************************/
#ifndef SERIAL_H
#define SERIAL_H

enum SerialCmd{SerialOpenFile=-20, SerialNextChar, SerialResetPointer,SerialNextCharDATA, SerialResetPointerDATA,SerialFailureOpeningFile, SerialSuccessOpeningFile,SerialRequestInput};

void SerialReopenFileDATA(int num);
char SerialGetChar();
char SerialUseDATA();
char SerialUseCode();  
void SerialReopenFile(int num);
void initialize_uart();
#ifdef ATMEL

#if 0
char SerialFOpen(flash char * filename);  
#else

char SerialFOpen(char * filename); 
#endif

#else 
char SerialFOpen(char * filename);
#endif


#endif