#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 invoked 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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.