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

F_PHY structure

Type
Name
Description
unsigned short number_of_cylinders Historical, not normally used.
unsigned short sector_per_track Historical, not normally used.
unsigned short number_of_heads Historical, not normally used.
unsigned long number_of_sectors The total number of physical sectors available on the media.
unsigned char media_descriptor Set to F_MEDIADESC_REMOVABLE if the media is removable.

Set to F_MEDIADESC_FIX if the media is fixed (not removable).

unsigned short bytes_per_sector Must be 512.


F_DRIVER structure

Type
Name
Description
int separated Non-zero if the driver is separated.
unsigned long user_data The file system does not use this field. It is available to the implementer of the driver to use for any purpose.
void * user_ptr The file system does not use this field. It is available to the implementer of the driver to use for any purpose.
F_WRITESECTOR writesector A pointer to the driver's F_WRITESECTOR() function implementation.
F_READSECTOR readsector A pointer to the driver's F_READSECTOR() function implementation.
F_GETPHY getphy A pointer to the driver's F_GETPHY() function implementation.
F_GETSTATUS getstatus A pointer to the driver's F_GETSTATUS() function implementation.
F_RELEASE release A pointer to the driver's F_RELEASE() function implementation.



[ 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.