AnsweredAssumed Answered

SDIO_STA_STBITERR & SDIO_STA_STBITER

Question asked by lecordier.guy.001 on Apr 9, 2018
Latest reply on Apr 9, 2018 by Imen D

Dear ST team,

 

from STM32Cube F4 V1.21.0
in the stm32f4xxhal_sd.c there are some

#ifdef SDIO_STA_STBITER
    __HAL_SD_ENABLE_IT(hsd, (SDIO_IT_DCRCFAIL | SDIO_IT_DTIMEOUT | SDIO_IT_TXUNDERR | SDIO_IT_STBITERR));   
#else /* SDIO_STA_STBITERR not defined */
    __HAL_SD_ENABLE_IT(hsd, (SDIO_IT_DCRCFAIL | SDIO_IT_DTIMEOUT | SDIO_IT_TXUNDERR));   
#endif /* SDIO_STA_STBITERR */

but some are
#ifdef SDIO_STA_STBITERR
and other are
#ifdef SDIO_STA_STBITER

mistyping or wanted ?


Best regards

Outcomes