Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
FreeRTOS:
FreeRTOS LTS:
FreeRTOS:
FreeRTOS:
AWS Reference Integrations:

F_DRIVERINIT()

[FreeRTOS File System Media Driver API]

header_file.h
F_DRIVER *( *F_DRIVERINIT )( unsigned long ulDriverParameter );
		

The implementation must initialise the interface between the FAT file system and the media driver.

The initialisation function must return a pointer to an allocated or static F_DRIVER structure that has been populated with all the driver entry points and other data as required.

Parameters:

ulDriverParameter   Available for the implementer of the interface to use for any purpose.

Returns:
NULL   The driver was not initialised.

Any other value   A pointer to a populated driver descriptor structure.

Example usage:

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



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