Surasak Nasuriwong / FileManager

Dependencies:   SDFileSystem

Dependents:   RwSDCard_Xml_GPS

Revision:
3:6e08d0bba1bb
Parent:
2:18e004a47f52
Child:
4:ec62bf823914
--- a/FileManager.h	Tue May 10 11:09:47 2016 +0000
+++ b/FileManager.h	Sun May 15 09:56:42 2016 +0000
@@ -1,3 +1,5 @@
+/* ###############  Constant Defination  ################## */
+
 #define DEVICE_NAME             "sd"
 
 // DEVICE_NAME must be put in between "/" for file name 
@@ -20,6 +22,8 @@
 
 #define RMS_HEADER_TIME         "Time"
 
+
+/* ###############  Enum  ################## */
 typedef enum  {
     STATE_FINDING,    /** Finding */
     STATE_FOUND_DATA,  /** Found Data tag */
@@ -29,11 +33,15 @@
 } ReadingFileState;
 
 
+/* ###############  Structure   ################## */
+
 typedef struct {
     char varName[VAR_NAME_MAX_SIZE];
     char varAddress[VAR_ADDR_MAX_SIZE+1];
 } Variable_Data_TypeDef;
 
+
+/* ###############  Function Prototype  ################## */
 void readSetupFile();
 void delete_file(char filename[]);
 int GPSInterval();