The function Init initializes the FAT driver. The parameter
mode specifies the initialization mode and can
have the following values:
Mode
Description
DM_IO
Initialize the IO peripherals.
DM_MEDIA
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 twice by the function finit on system startup. First, with the
argument DM_IO to initialize the peripherals, system clocks,
configure interrupts, ... Second, with the argument
DM_MEDIA.
In the MSD Driver, this function initializes the USB host stack
and USB host controller hardware and allows enumeration of USB MSC
Devices if such a device is connected to the USB host bus.
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.