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
volume.c File Reference
#include "fat_sl.h"
#include "psp_string.h"
#include "volume.h"
#include "util.h"
#include "drv.h"
#include "fat.h"
#include "dir.h"
#include "file.h"
#include "../../version/ver_fat_sl.h"

Go to the source code of this file.

Classes

struct  t_FAT32_CS
 

Functions

unsigned char fn_hardformat (unsigned char fattype)
 
unsigned char _f_getvolume (void)
 
unsigned char fn_getfreespace (F_SPACE *pspace)
 
unsigned char fn_getserial (unsigned long *serial)
 
unsigned char fs_init (void)
 
unsigned char fs_delete (void)
 
unsigned char fn_initvolume (F_DRIVERINIT initfunc)
 
unsigned char fn_delvolume (void)
 

Variables

F_VOLUME gl_volume
 
F_FILE gl_file
 
char gl_sector [F_SECTOR_SIZE]
 

Function Documentation

unsigned char _f_getvolume ( void  )

Definition at line 719 of file volume.c.

unsigned char fn_delvolume ( void  )

Definition at line 972 of file volume.c.

unsigned char fn_getfreespace ( F_SPACE pspace)

Definition at line 787 of file volume.c.

unsigned char fn_getserial ( unsigned long *  serial)

Definition at line 859 of file volume.c.

unsigned char fn_hardformat ( unsigned char  fattype)

Definition at line 530 of file volume.c.

unsigned char fn_initvolume ( F_DRIVERINIT  initfunc)

Definition at line 932 of file volume.c.

unsigned char fs_delete ( void  )

Definition at line 904 of file volume.c.

unsigned char fs_init ( void  )

Definition at line 881 of file volume.c.

Variable Documentation

F_FILE gl_file

Definition at line 61 of file volume.c.

char gl_sector[F_SECTOR_SIZE]

Definition at line 62 of file volume.c.

F_VOLUME gl_volume

Definition at line 60 of file volume.c.