MAV'RIC
|
Functions | |
int | test_fat_fs_test (BYTE pdrv, UINT ncyc, DWORD *buff, UINT sz_buff) |
To test the low layer of the disk. More... | |
void | test_fat_fs_low_layer (void) |
A function to test the low layer (read/write bytes to the SD card) | |
FRESULT | test_fat_fs_open_append (FIL *fp, const char *path, BYTE opening_opt) |
Open the file path and seek the end to append. More... | |
This file can be used to test the low and mid layer of writing to SD card for fat fs use.
FRESULT test_fat_fs_open_append | ( | FIL * | fp, |
const char * | path, | ||
BYTE | opening_opt | ||
) |
Open the file path and seek the end to append.
fp | [OUT] File object to create |
path | [IN] File name to be opened |
opening_opt | The opening file options |
int test_fat_fs_test | ( | BYTE | pdrv, |
UINT | ncyc, | ||
DWORD * | buff, | ||
UINT | sz_buff | ||
) |
To test the low layer of the disk.
pdrv | Physical drive number to be checked (all data on the drive will be lost) |
ncyc | Number of test cycles |
buff | Pointer to the working buffer |
sz_buff | Size of the working buffer in unit of byte |