TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST 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("USBFS:", &SizeStruct);