// SCI Functions.h
// Header file containing declarations associated with SCI Functions.cpp

#pragma once
#ifndef __SCI_FUNCTIONS_H__
#define __SCI_FUNCTIONS_H__


//declaring objects
class CSerial; //forward declaration
extern char* SRecordFilename; //filename of record
extern unsigned char StartAddressMSB;  //address to which application will be loaded (in hex),
extern unsigned char StartAddressLSB;  //also the line from which the program will execute
extern int BaudRate;  //SCI Baud Rate
extern int SCIPort; //selected SCI port


//declaring functions
short SRecordByteCount(char* SRecordFilename);
int SCI_interface(void);
void SCI_s_line_process(char *line, CSerial *Serial, unsigned char *checkSumTotal);

#endif
