MDD_SDSPI_WriteProtectState Function

Microchip MDD File System Interface

MDDFS Interface Library Help
MDD_SDSPI_WriteProtectState Function
C
BYTE MDD_SDSPI_WriteProtectState();
Description

The MDD_SDSPI_WriteProtectState function will determine if the SD card is write protected by checking the electrical signal that corresponds to the physical write-protect switch.

Preconditions

The MDD_WriteProtectState function pointer must be pointing to this function.

Return Values
Return Values 
Description 
TRUE 
The card is write-protected 
The card is not write-protected 
Side Effects

None.

Remarks

None

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