C API for BALTECH SDK

§ brp_FlashFS_GetMemoryInfo()

brp_errcode brp_FlashFS_GetMemoryInfo ( brp_protocol  protocol,
unsigned *  TotalMem,
unsigned *  FreeMem 
)

This command checks the consistency of the file system and retrieves information about the available dataflash memory space.

Parameters
[in]protocolused to execute the command
[out]TotalMemTotal amount of dataflash space (in Bytes).
[out]FreeMemFree amount of dataflash space (in Bytes).