ff.c
来自「mifarea卡程序mifarea卡程序mifarea卡程序」· C语言 代码 · 共 42 行
C
42 行
/************************************
* 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 + =
减小字号Ctrl + -
显示快捷键?