Hi,
Both fx_media_open() and fx_media_format() APIs perform an "FX_DRIVER_INIT" request to the low-level driver.
|
media_ptr -> fx_media_driver_request = FX_DRIVER_INIT; |
|
media_ptr -> fx_media_driver_request = FX_DRIVER_INIT; |
The low-level driver, may need to do specific processing depending on the request source APIs. (for example: erase the memory before formatting)
But there isn't any way to let the low-level driver know the caller APIs.
regards
Haithem.