TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
Get

Gets total and free memory sizes of any drive

Parameters
*strPointer to string for drive to be checked
*SizeStructPointer to empty TM_FATFS_Size_t structure to store data about memory
Return values
FRESULTstructure members. If data are valid, FR_OK is returned memory sizes of USB device: TM_FATFS_GetDriveSize("USB:", &SizeStruct);