32 lines
733 B
C
Raw Permalink Normal View History

2016-12-10 15:32:03 +01:00
#pragma once
#include "common.h"
#include "ff.h"
2016-12-19 14:32:22 +01:00
// init SD card filesystem - required(?) for everything else
2016-12-10 15:32:03 +01:00
bool InitSDCardFS();
// init fill external fileystem
bool InitExtFS();
// mount and init image file system
bool InitImgFS(const char* path);
// deinitialize external filesystem
void DeinitExtFS();
// deinitialize SD card filesystem
void DeinitSDCardFS();
// dismount drives of a certain type
void DismountDriveType(u32 type);
2016-12-19 14:32:22 +01:00
// returns the mount state of the SD card
bool CheckSDMountState(void);
2016-12-10 15:32:03 +01:00
// get number of mounted file system (only for FATFS filesystems)
int GetMountedFSNum(const char* path);
// get mounted file system object (only for FATFS filesystems)
FATFS* GetMountedFSObject(const char* path);