Searched refs:status_pccard (Results 1 – 4 of 4) sorted by relevance
868 uint32_t timeout = PCCARD_TIMEOUT_STATUS, status_pccard = 0U; in HAL_PCCARD_GetStatus() local876 status_pccard = *(__IO uint8_t *)(PCCARD_IO_SPACE_PRIMARY_ADDR | ATA_STATUS_CMD_ALTERNATE); in HAL_PCCARD_GetStatus()878 while ((status_pccard == PCCARD_BUSY) && timeout) in HAL_PCCARD_GetStatus()880 status_pccard = *(__IO uint8_t *)(PCCARD_IO_SPACE_PRIMARY_ADDR | ATA_STATUS_CMD_ALTERNATE); in HAL_PCCARD_GetStatus()886 status_pccard = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_GetStatus()890 return (HAL_PCCARD_StatusTypeDef) status_pccard; in HAL_PCCARD_GetStatus()904 uint8_t data = 0U, status_pccard = PCCARD_BUSY; in HAL_PCCARD_ReadStatus() local917 status_pccard = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_ReadStatus()921 status_pccard = PCCARD_READY; in HAL_PCCARD_ReadStatus()924 return (HAL_PCCARD_StatusTypeDef) status_pccard; in HAL_PCCARD_ReadStatus()
869 uint32_t timeout = PCCARD_TIMEOUT_STATUS, status_pccard = 0U; in HAL_PCCARD_GetStatus() local877 status_pccard = *(__IO uint8_t *)(PCCARD_IO_SPACE_PRIMARY_ADDR | ATA_STATUS_CMD_ALTERNATE); in HAL_PCCARD_GetStatus()879 while ((status_pccard == PCCARD_BUSY) && timeout) in HAL_PCCARD_GetStatus()881 status_pccard = *(__IO uint8_t *)(PCCARD_IO_SPACE_PRIMARY_ADDR | ATA_STATUS_CMD_ALTERNATE); in HAL_PCCARD_GetStatus()887 status_pccard = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_GetStatus()891 return (HAL_PCCARD_StatusTypeDef) status_pccard; in HAL_PCCARD_GetStatus()905 uint8_t data = 0U, status_pccard = PCCARD_BUSY; in HAL_PCCARD_ReadStatus() local918 status_pccard = PCCARD_TIMEOUT_ERROR; in HAL_PCCARD_ReadStatus()922 status_pccard = PCCARD_READY; in HAL_PCCARD_ReadStatus()925 return (HAL_PCCARD_StatusTypeDef) status_pccard; in HAL_PCCARD_ReadStatus()