AnsweredAssumed Answered

while(!__HAL_SD_SDIO_GET_FLAG(hsd, SDIO_FLAG_RXOVERR | SDIO_FLAG_DCRCFAIL | SDIO_FLAG_DTIMEOUT | SDIO_FLAG_DBCKEND | SDIO_FLAG_STBITERR))

Question asked by wolfpack.phillip on Jul 18, 2014
Latest reply on Jul 18, 2014 by wolfpack.phillip
I keep getting stuck in an infinite loop in this function

while(!__HAL_SD_SDIO_GET_FLAG(hsd, SDIO_FLAG_RXOVERR | SDIO_FLAG_DCRCFAIL | SDIO_FLAG_DTIMEOUT | SDIO_FLAG_DBCKEND | SDIO_FLAG_STBITERR))

and I am able to look up what the flags mean, but I was wondering if there is an easy way to tell which one is causing the problem.

Also, I am using keil v5, c++, and stm32 eval board.

Thanks.

Outcomes