Lines Matching refs:timeout
310 uint32_t timeout = PCCARD_TIMEOUT_READ_ID, index = 0U; in HAL_PCCARD_Read_ID() local
337 timeout--; in HAL_PCCARD_Read_ID()
338 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_ID()
340 if (timeout == 0U) in HAL_PCCARD_Read_ID()
374 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Read_Sector() local
401 timeout--; in HAL_PCCARD_Read_Sector()
402 } while ((status == 0x80U) && timeout); in HAL_PCCARD_Read_Sector()
404 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
409 timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR; in HAL_PCCARD_Read_Sector()
415 timeout--; in HAL_PCCARD_Read_Sector()
416 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_Sector()
418 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
451 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Write_Sector() local
478 timeout--; in HAL_PCCARD_Write_Sector()
479 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Write_Sector()
481 if (timeout == 0U) in HAL_PCCARD_Write_Sector()
496 timeout--; in HAL_PCCARD_Write_Sector()
497 } while ((status != PCCARD_STATUS_WRITE_OK) && timeout); in HAL_PCCARD_Write_Sector()
499 if (timeout == 0U) in HAL_PCCARD_Write_Sector()
524 uint32_t timeout = PCCARD_TIMEOUT_ERASE_SECTOR; in HAL_PCCARD_Erase_Sector() local
553 while ((status != PCCARD_STATUS_WRITE_OK) && timeout) in HAL_PCCARD_Erase_Sector()
556 timeout--; in HAL_PCCARD_Erase_Sector()
559 if (timeout == 0U) in HAL_PCCARD_Erase_Sector()
869 uint32_t timeout = PCCARD_TIMEOUT_STATUS, status_pccard = 0U; in HAL_PCCARD_GetStatus() local
879 while ((status_pccard == PCCARD_BUSY) && timeout) in HAL_PCCARD_GetStatus()
882 timeout--; in HAL_PCCARD_GetStatus()
885 if (timeout == 0U) in HAL_PCCARD_GetStatus()