32 #define TM_FATFS_H 170
433 #include "stm32f4xx.h"
434 #include "stm32f4xx_rcc.h"
435 #include "stm32f4xx_gpio.h"
437 #include "tm_stm32f4_gpio.h"
453 #ifndef FATFS_TRUNCATE_BUFFER_SIZE
454 #define FATFS_TRUNCATE_BUFFER_SIZE 256
FRESULT TM_FATFS_TruncateBeginning(FIL *fil, uint32_t index)
Truncates beginning of file.
uint32_t FreeSize
Definition: tm_stm32f4_fatfs.h:472
FRESULT TM_FATFS_DriveSize(uint32_t *total, uint32_t *free)
Gets SDCARD drive size and free space.
FATFS size structure.
Definition: tm_stm32f4_fatfs.h:470
FRESULT TM_FATFS_USBDriveSize(uint32_t *total, uint32_t *free)
Gets USB drive size and free space.
uint8_t TM_FATFS_CheckCardDetectPin(void)
Checks card detect pin (if activated) if card is inserted.
uint32_t TotalSize
Definition: tm_stm32f4_fatfs.h:471