函数:uint32_t SD_UltraHighSpeed(SD_HandleTypeDef *hsd)
错误:数组边界写入
代码 :
- uint32_t SD_hs[16] = {0};
- if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_RXFIFOHF))
- {
- for (count = 0U; count < 8U; count++)
- {
- SD_hs[(8U*loop)+count] = SDMMC_ReadFIFO(hsd->Instance);
- }
- loop += 8U;
- }