MDD_CFPMP_SectorWrite Function

MDD File System Interface Library

MDDFS Interface Library Help
MDD_CFPMP_SectorWrite Function
C
BYTE MDD_CFPMP_SectorWrite(
    DWORD lda, 
    BYTE * buf, 
    BYTE allowWriteToZero
);
Description

SectorWrite sends 512 bytes of data from the location pointed to by 'buffer' to the card starting at the sector address specified by sector_addr.

Preconditions

None

Parameters
Parameters 
Description 
sector_addr 
Sector address, each sector contains 512 bytes 
buffer 
Buffer where data will be read from 
allowWriteToZero 
allows write to the MBR sector 
Returns

TRUE - Sector written FALSE - Sector could not be written

Side Effects

None

Remarks

None

Microchip MDD File System Interface 1.4.2 - [Oct 15, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.