I'am using SPI protocol for SD card communication , now i have to implement protocol using interrupt mean when slave detect then only spi should works because iam using bare metal programming , when sd card absent that should not have to stop the remaining tasks.