MDD_CFPMP_SectorWrite Function

Microchip MDD File System Interface

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.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.