<< Previous | Next >>

sdspi_sendingAP

int sdspi_sendingAP( sd_device * sd );

Description

Sends AP command 55 to set Alternate Command mode on the next command sent to the card. This function does not release the port sharing semaphore unless an error is encountered.

Parameter

sd
Pointer to sd_device structure of the SD card.

Return Value

0: Success
-EIO:I/O error
-ENOMEDIUM: No SD card in socket
-ESHAREDBUSY: Shared SPI port busy

Library

SDFLASH.LIB


Dynamic C Functions << Previous | Next >> rabbit.com