Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PSU-POWERLOGGER by
Diff: HEADERS/System.h
- Revision:
- 1:871a329fd172
- Parent:
- 0:d0c18e423b13
- Child:
- 3:d55665050fcb
--- a/HEADERS/System.h Tue Sep 18 18:35:23 2012 +0000 +++ b/HEADERS/System.h Fri Sep 21 18:06:47 2012 +0000 @@ -18,6 +18,7 @@ #define SYSTEM_STATE_INIT 0 #define SYSTEM_STATE_LOGGING 1 #define SYSTEM_STATE_IDLE 2 +#define SYSTEM_STATE_SERIAL_LOGGING 3 void EnterSystemState(BYTE NextState); void InitButton(); @@ -29,6 +30,15 @@ void UpdateHostTerminal(); extern BYTE SystemState; +extern BYTE WeAreInNormalMode; +extern char SerialLineBuffer[256]; +extern UINT SerialLineBufferPtr; + +extern FIL CurrentLogFileHandle; +extern BYTE DisplayMode; +extern UINT LinesWritten; + +#define NUMBEROFLINESBEFORESYNC 10 #define DATA_BLOCK_SIZE 1024 @@ -53,7 +63,7 @@ extern CHAR *ErrorMsg; void LogData(); void DisplayBootMsg(); - +BOOL InitSerialDataLog(); extern time_t CurrentTime_InSec; extern tm *CurrentTime;
