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.
Hi,
Both
fx_media_open()andfx_media_format()APIs perform an "FX_DRIVER_INIT" request to the low-level driver.filex/common/src/fx_media_format.c
Line 165 in 048a01e
filex/common/src/fx_media_open.c
Line 265 in 048a01e
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.