MPFSPutArray Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MPFSPutArray Function
C
WORD MPFSPutArray(
    MPFS_HANDLE hMPFS, 
    BYTE* cData, 
    WORD wLen
);
Description

Writes an array of data to the MPFS image.

Preconditions

MPFSFormat was sucessfully called.

Parameters
Parameters 
Description 
the file handle for writing 
cData 
the array of bytes to write 
wLen 
how many bytes to write 
Returns

The number of bytes successfully written.

Remarks

For EEPROM, the actual write may not initialize until the internal write page is full. To ensure that previously written data gets stored, MPFSPutEnd must be called after the last call to MPFSPutArray.

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