Real time embedded FreeRTOS RSS feed 
Homepage FreeRTOS+ Products FreeRTOS Labs Support Forum 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 ]    [ Privacy ]    [ FreeRTOS+ Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.