Lines Matching refs:timeout

309   uint32_t timeout = PCCARD_TIMEOUT_READ_ID, index = 0U;  in HAL_PCCARD_Read_ID()  local
336 timeout--; in HAL_PCCARD_Read_ID()
337 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_ID()
339 if (timeout == 0U) in HAL_PCCARD_Read_ID()
373 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Read_Sector() local
400 timeout--; in HAL_PCCARD_Read_Sector()
401 } while ((status == 0x80U) && timeout); in HAL_PCCARD_Read_Sector()
403 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
408 timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR; in HAL_PCCARD_Read_Sector()
414 timeout--; in HAL_PCCARD_Read_Sector()
415 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_Sector()
417 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
450 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Write_Sector() local
477 timeout--; in HAL_PCCARD_Write_Sector()
478 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Write_Sector()
480 if (timeout == 0U) in HAL_PCCARD_Write_Sector()
495 timeout--; in HAL_PCCARD_Write_Sector()
496 } while ((status != PCCARD_STATUS_WRITE_OK) && timeout); in HAL_PCCARD_Write_Sector()
498 if (timeout == 0U) in HAL_PCCARD_Write_Sector()
523 uint32_t timeout = PCCARD_TIMEOUT_ERASE_SECTOR; in HAL_PCCARD_Erase_Sector() local
552 while ((status != PCCARD_STATUS_WRITE_OK) && timeout) in HAL_PCCARD_Erase_Sector()
555 timeout--; in HAL_PCCARD_Erase_Sector()
558 if (timeout == 0U) in HAL_PCCARD_Erase_Sector()
868 uint32_t timeout = PCCARD_TIMEOUT_STATUS, status_pccard = 0U; in HAL_PCCARD_GetStatus() local
878 while ((status_pccard == PCCARD_BUSY) && timeout) in HAL_PCCARD_GetStatus()
881 timeout--; in HAL_PCCARD_GetStatus()
884 if (timeout == 0U) in HAL_PCCARD_GetStatus()