Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

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.


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