1st release (without comment)

RMS_UART.h

Committer:
nsrwsurasak
Date:
2016-09-15
Revision:
0:bc10ea82aec3
Child:
1:5e6c5fbd48d6

File content as of revision 0:bc10ea82aec3:

#ifndef RMS_UART_H
#define RMS_UART_H

#define EXT_SERIAL              1
#define MSG_BUF_SIZE            25
#define MSG2CMD                 2
#define MSG2FILENAME            (MSG_BUF_SIZE - MSG2CMD)
#define CONTENT_BUF_SIZE        6000

#define BPS_9600                9600
#define BPS_14400               14400

void Init_SerialDevice();
void RxMsgInterruptCallback();
void DoTheMsgCmd();
void DoTheContent();
void GetListFileCmd();
void CheckReadEditCmd();
void GetFileName();
void SendContentToFile();
void GetCmdError();
void ClearCmdIndexAndBuf();
void ClearContentIndexAndBuf();

#endif