MPFSFormat Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MPFSFormat Function
C
MPFS_HANDLE MPFSFormat();
Description

Prepares the MPFS image for writing and locks the image so that other processes may not access it.

Preconditions

None

Returns

An MPFS handle that can be used for MPFSPut commands, or MPFS_INVALID_HANDLE when the EEPROM failed to initialize for writing.

Remarks

In order to prevent misreads, the MPFS will be inaccessible until MPFSClose is called. This function is not available when the MPFS is stored in internal Flash program memory.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.