Coder Social home page Coder Social logo

ez-fat32's Introduction

轻量级FAT32文件系统。功能有:读取文件(夹)、创建新文件(夹)、向文件中写入数据。

向上层提供的API函数声明在FATFS.H中,如下:
FS_Status   Search_inDir(FS_Object *CurDir, FS_Object *Target, u8 *Target_Name, u8 Object);
u8         *ReadFile(FS_Object *Target_File);
void        SetFileClustoFst(FS_Object *Target_File);
FS_Status   OpenFile(FS_Object *Target, u8 *FullName);
void        LsDir(FS_Object *CurDir);

FS_Status   CreateNewObject(FS_Object *CurDir, FS_Object *Target, u8 *Target_Name, u8 Object);
void        WriteFile(FS_Object *Target_File, u8 *dataBuf, u32 dataLength);

移植时需实现的底层接口函数在Interface.C中。声明如下:
void Disk_ReadSec(u32 Addr, u32 *DataBuf);

void Disk_WriteSec(u32 Addr, u32 *DataBuf);


u16 UnicodeToGb2312(u16 Unicode);

ez-fat32's People

Contributors

gk969 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.