SAM4S-EK_FreeRTOS+FAT-SL  1.0
An example project to test the functionality of FreeRTOS+FAT-SL using SD card as data storage medium
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
fat.c File Reference
#include "../../api/fat_sl.h"
#include "fat.h"
#include "util.h"
#include "volume.h"
#include "drv.h"
#include "../../version/ver_fat_sl.h"

Go to the source code of this file.

Functions

unsigned char _f_writefatsector (void)
 
unsigned char _f_getfatsector (unsigned long sector)
 
unsigned char _f_setclustervalue (unsigned long cluster, unsigned long _tdata)
 
unsigned char _f_getclustervalue (unsigned long cluster, unsigned long *pvalue)
 
void _f_clustertopos (unsigned long cluster, F_POS *pos)
 
unsigned char _f_getcurrsector (void)
 
unsigned char _f_alloccluster (unsigned long *pcluster)
 
unsigned char _f_removechain (unsigned long cluster)
 

Function Documentation

unsigned char _f_alloccluster ( unsigned long *  pcluster)

Definition at line 512 of file fat.c.

void _f_clustertopos ( unsigned long  cluster,
F_POS pos 
)

Definition at line 431 of file fat.c.

unsigned char _f_getclustervalue ( unsigned long  cluster,
unsigned long *  pvalue 
)

Definition at line 302 of file fat.c.

unsigned char _f_getcurrsector ( void  )

Definition at line 471 of file fat.c.

unsigned char _f_getfatsector ( unsigned long  sector)

Definition at line 112 of file fat.c.

unsigned char _f_removechain ( unsigned long  cluster)

Definition at line 564 of file fat.c.

unsigned char _f_setclustervalue ( unsigned long  cluster,
unsigned long  _tdata 
)

Definition at line 163 of file fat.c.

unsigned char _f_writefatsector ( void  )

Definition at line 64 of file fat.c.