Added todos

This commit is contained in:
Mario Hüttel 2016-09-25 19:51:19 +02:00
parent 6db78f07c2
commit 2e52153b23

View File

@ -122,6 +122,10 @@ DSTATUS SDIO_initialize(){
if (SDIO_send_CMD3(&cardInfo.rca)) if (SDIO_send_CMD3(&cardInfo.rca))
return STA_NOINIT; return STA_NOINIT;
//TODO: Set block length
//TODO: Set 4 bit mode
//TODO:
#if SDIO_ENABLE_WRITEPROT==1 #if SDIO_ENABLE_WRITEPROT==1
if (!((WRITEPROT_PORT->IDR & WRITEPROT_PIN) == WRITEPROT_ACTIVE_LEVEL)) if (!((WRITEPROT_PORT->IDR & WRITEPROT_PIN) == WRITEPROT_ACTIVE_LEVEL))
return STA_PROTECT; return STA_PROTECT;