Added todos
This commit is contained in:
parent
6db78f07c2
commit
2e52153b23
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user