Mikroelektronika MIKROE-738 Datenbogen
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
mikroC PRO for PIC32
MikroElektronika
373
Mmc_Fat_Rewrite
Mmc_Fat_Append
Mmc_Fat_Delete
Prototype
void Mmc_Fat_Rewrite();
Description Opens the currently assigned file for writing. If the file is not empty its content will be erased.
Parameters None.
Returns
Parameters None.
Returns
Nothing.
Requires
MMC/SD card and MMC library must be initialized for file operations. See Mmc_Fat_Init.
The file must be previously assigned. See Mmc_Fat_Assign.
Example
// open file for writing
Mmc_Fat_Rewrite();
Notes
None.
Prototype
void Mmc_Fat_Append();
Description Opens the currently assigned file for appending. Upon this function execution file pointers will be
positioned after the last byte in the file, so any subsequent file write operation will start from there.
Parameters None.
Returns
Returns
Nothing.
Requires
MMC/SD card and MMC library must be initialized for file operations. See Mmc_Fat_Init.
The file must be previously assigned. See Mmc_Fat_Assign.
Example
// open file for appending
Mmc_Fat_Append();
Notes
None.
Prototype
void Mmc_Fat_Delete();
Description Deletes currently assigned file from MMC/SD card.
Parameters None.
Returns
Parameters None.
Returns
Nothing.
Requires
MMC/SD card and MMC library must be initialized for file operations. See Mmc_Fat_Init.
The file must be previously assigned. See Mmc_Fat_Assign.
Example
// delete current file
Mmc_Fat_Delete();
Notes
None.