📄 ff.c
字号:
/************************************
* ff.c *
* small flash file system (chain) *
* design by Liulixun *
* create at 04-12-2007 *
* update: 04-12-2007 *
************************************/
#include "includes.h"
typedef struct _FF
{
unsigned int idx; // the only index
unsigned
}
typedef struct _FHead
{
unsigned char stx;
unsigned int len; // file length
unsigned int idx; // the only index
unsigned int addr; // file address
unsigned int prev; // address of preview file
unsigned int next; // address of next file
unsigned char status; // status: FF: empty, F0: occuped, 00: erased
unsigned char *cont;
unsigned char etx;
unsigned char lrc;
}FHead;
int FFWrite()
{
}
int FFread()
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -