#include "DataStorage.h"
#include "cpu.h"
#include "TIMotorLIB.h"
Go to the source code of this file.
Defines | |
#define | STATUS_FAIL 0 |
#define | STATUS_SUCCESS 1 |
Functions | |
void | InitXintfTIMotorLIB (void) |
void | InitFlash (void) |
Uint16 | CsmUnlock () |
void | InitDataStorageBuffer (STORAGEMODE mode) |
Variables | |
Uint16 | dataStorageBuffer [BUFSIZE] |
Uint16 * | dataPtr |
Uint16 * | begin |
Uint16 * | end |
Uint32 * | actualPos |
Uint16 | clearDataStorage |
STORAGEMODE | storageMode |
volatile int | flashlock = 0 |
#define STATUS_FAIL 0 |
Definition at line 262 of file DataStorage.c.
#define STATUS_SUCCESS 1 |
Definition at line 263 of file DataStorage.c.
Uint16 CsmUnlock | ( | ) |
Definition at line 267 of file DataStorage.c.
void InitDataStorageBuffer | ( | STORAGEMODE | mode | ) |
Initializes Buffer to hold data into internal memory
mode,: | Data storage can be configured to OVERWRITE, NOVERWRITE. In OVERWRITE mode, the writing mechanism is restarted once the buffer end is reached, In NOVERWRITE the writing is stopped at the end buffer. |
Definition at line 306 of file DataStorage.c.
void InitFlash | ( | void | ) |
Definition at line 216 of file DataStorage.c.
void InitXintfTIMotorLIB | ( | void | ) |
----------------------------------------------------------------------------- Configure GPIO interface to external memory (XIntZ7):
Definition at line 203 of file DataStorage.c.
Uint32* actualPos |
Definition at line 35 of file DataStorage.c.
Uint16* begin |
Definition at line 33 of file DataStorage.c.
Uint16 clearDataStorage |
Definition at line 36 of file DataStorage.c.
Uint16* dataPtr |
Definition at line 32 of file DataStorage.c.
Uint16 dataStorageBuffer[BUFSIZE] |
Definition at line 31 of file DataStorage.c.
Uint16* end |
Definition at line 34 of file DataStorage.c.
volatile int flashlock = 0 |
Definition at line 51 of file DataStorage.c.
Definition at line 37 of file DataStorage.c.