Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <file_config.h> int ioc_uninit ( FAT_VI* vi); /* Pointer to media control block */
The function ioc_uninit de-initializes the FAT Media Device. The parameter vi is a pointer specifying the media control block.
The function is included in the library RL-FlashFS. The prototype is defined in the file File_Config.h.
This function calls the UnInit function of the underlying SPI, MCI, or NAND media driver.
ioc_getcb, ioc_init, ioc_read_info, ioc_read_sect, ioc_write_sect
#include <File_Config.h> FAT_VI *mc0; /* Media Control Block */ int main (void) { Media_INFO info; .. mc0 = ioc_getcb (NULL); /* Default drive is M0: */ if (ioc_init (mc0) == 0) { ioc_read_info (&info, mc0); lcd_print ("PC Interface"); .. ioc_uninit (mc0); / Stop using SD Card for Mass Storage. */ } else { lcd_print ("Card Failure!"); } .. }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
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.