<< Previous | Next >>

sdspi_debounce

int sdspi_debounce( sd_device * sd );

Description

This function waits for and debounces the card insertion switch. When it returns True (1), then a card is fully inserted.

Parameter

sd
The device structure for the SD card.

Return Value

1: Success, card fully inserted
0: No card present

Library

SDFLASH.LIB


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