-
Notifications
You must be signed in to change notification settings - Fork 0
/
wr_flash.h
37 lines (32 loc) · 1.11 KB
/
wr_flash.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//*****************************************************************************
//
// wr_flash.h - Walking Robot's Flash Memory Manager
//
//*****************************************************************************
#ifndef __WR_FLASH_H__
#define __WR_FLASH_H__
//*****************************************************************************
//
// If building with a C++ compiler, make all of the definitions in this header
// have a C binding.
//
//*****************************************************************************
#ifdef __cplusplus
extern "C"
{
#endif
void WRFlashInit();
void WRFlashCleanBuffer();
void WRFlashWriteToBuffer(unsigned char*, unsigned long);
void WRFlashReadFromBuffer(unsigned char*, unsigned long);
void WRFlashLoadBuffer(unsigned long);
void WRFlashSaveBuffer(unsigned long);
//*****************************************************************************
//
// Mark the end of the C bindings section for C++ compilers.
//
//*****************************************************************************
#ifdef __cplusplus
}
#endif
#endif // __WR_FLASH_H__