MDD_CFBT_SectorRead Function

Microchip MDD File System Interface

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

SectorRead reads 512 bytes of data from the card starting at the sector address specified by sector_addr and stores them in the location pointed to by 'buffer'.

Preconditions

None

Parameters
Parameters 
Description 
sector_addr 
Sector address, each sector contains 512-byte 
buffer 
Buffer where data will be stored, see 'ram_acs.h' for 'block' definition. 'Block' is dependent on whether internal or external memory is used 
Returns

TRUE - Sector read FALSE - Sector could not be read

Side Effects

None

Remarks

None

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.