#include <file_config.h>
BOOL UnInit (
U32 mode); /* Uninit mode; IO or Media */
Description
The function UnInit de-initializes the FAT driver.
The parameter mode specifies the
de-initialization mode:
Mode
Description
DM_IO
De-initialize IO peripherals.
DM_MEDIA
De-initialize the storage media.
The function is part of the FAT
Driver. The prototype is defined in the file
File_Config.h. Developers must customize the function.
The function is called twice by the function funinit.
First, with the argument DM_MEDIA; next, with the argument
DM_IO.
Use the function during run-time when the drive volume has to be
disabled. For example, for reducing power consumption. Afterwards,
call only the function finit for re-initializing the
drive.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.