Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Homepage FreeRTOS+ Products FreeRTOS Labs Integration Services Contact / Enquiries


[FreeRTOS File System Media Driver API]

typedef int ( *F_GETPHY )( F_DRIVER * pxDriver, F_PHY * pxPhy );

The implementation must populate an F_PHY structure with information about the physical properties of the disk.


pxDriver   A pointer to the F_DRIVER structure returned by the call to F_DRIVERINIT() originally used to initialise the driver being queried.

pxPhy   A pointer to an F_PHY structure to be populated by the implementation of the F_PHY() function with information on the physical properties of the disk.

0   The F_PHY structure pointed to by the pxPhy parameter was populated.

Any other value   An error code for the device, for example device not present.

Example usage:

A worked example is provided in the RAM disk driver available from this web site.

[ Back to the top ]    [ About FreeRTOS ]    [ FreeRTOS+ Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.