|
enum | cy_en_sd_host_cmd_type_t {
CY_SD_HOST_CMD_NORMAL = 0U,
CY_SD_HOST_CMD_SUSPEND = 1U,
CY_SD_HOST_CMD_RESUME = 2U,
CY_SD_HOST_CMD_ABORT = 3U
} |
| SD command types. More...
|
|
enum | cy_en_sd_host_auto_cmd_t {
CY_SD_HOST_AUTO_CMD_NONE = 0U,
CY_SD_HOST_AUTO_CMD_12 = 1U,
CY_SD_HOST_AUTO_CMD_23 = 2U,
CY_SD_HOST_AUTO_CMD_AUTO = 3U
} |
| SD Host auto command enable selection. More...
|
|
enum | cy_en_sd_host_reset_t {
CY_SD_HOST_RESET_DATALINE = 0U,
CY_SD_HOST_RESET_CMD_LINE = 1U,
CY_SD_HOST_RESET_ALL = 2U
} |
| SD Host reset types. More...
|
|
enum | cy_en_sd_host_adma_error_t {
CY_SD_HOST_ADMA_ST_STOP = 0U,
CY_SD_HOST_ADMA_ST_FDS = 1U,
CY_SD_HOST_ADMA_ST_TFR = 3U,
CY_SD_HOST_ADMA_LEN_ERR = 4U
} |
| SD Host error interrupt types. More...
|
|
enum | cy_en_sd_host_auto_cmd_status_t {
CY_SD_HOST_AUTO_CMD12_NOT_EXEC = 0U,
CY_SD_HOST_AUTO_CMD_TOUT_ERR = 1U,
CY_SD_HOST_AUTO_CMD_CRC_ERR = 2U,
CY_SD_HOST_AUTO_CMD_EBIT_ERR = 3U,
CY_SD_HOST_AUTO_CMD_IDX_ERR = 4U,
CY_SD_HOST_AUTO_CMD_RESP_ERR = 5U,
CY_SD_HOST_CMD_NOT_ISSUED_AUTO_CMD12 = 7U
} |
| Auto CMD Status error codes. More...
|
|
enum | cy_en_sd_host_status_t {
CY_SD_HOST_SUCCESS = 0U,
CY_SD_HOST_ERROR = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 1U,
CY_SD_HOST_ERROR_INVALID_PARAMETER = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 2U,
CY_SD_HOST_ERROR_OPERATION_IN_PROGRESS = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 3U,
CY_SD_HOST_ERROR_UNINITIALIZED = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 4U,
CY_SD_HOST_ERROR_TIMEOUT = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 5U,
CY_SD_HOST_OPERATION_INPROGRESS = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 6U,
CY_SD_HOST_ERROR_UNUSABLE_CARD = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 7U,
CY_SD_HOST_ERROR_DISCONNECTED = CY_SD_HOST_ID | CY_PDL_STATUS_ERROR | 8U
} |
| SD host error codes. More...
|
|
enum | cy_en_sd_host_bus_width_t {
CY_SD_HOST_BUS_WIDTH_1_BIT = 0U,
CY_SD_HOST_BUS_WIDTH_4_BIT = 1U,
CY_SD_HOST_BUS_WIDTH_8_BIT = 2U
} |
| The widths of the data bus. More...
|
|
enum | cy_en_sd_host_bus_speed_mode_t {
CY_SD_HOST_BUS_SPEED_DEFAULT = 0U,
CY_SD_HOST_BUS_SPEED_HIGHSPEED = 1U,
CY_SD_HOST_BUS_SPEED_SDR12_5 = 2U,
CY_SD_HOST_BUS_SPEED_SDR25 = 3U,
CY_SD_HOST_BUS_SPEED_SDR50 = 4U,
CY_SD_HOST_BUS_SPEED_EMMC_LEGACY = 5U,
CY_SD_HOST_BUS_SPEED_EMMC_HIGHSPEED_SDR = 6U
} |
| The bus speed modes. More...
|
|
enum | cy_en_sd_host_io_voltage_t {
CY_SD_HOST_IO_VOLT_3_3V = 0U,
CY_SD_HOST_IO_VOLT_1_8V = 1U
} |
| The SD bus voltage select. More...
|
|
enum | cy_en_sd_host_erase_type_t {
CY_SD_HOST_ERASE_ERASE = 0U,
CY_SD_HOST_ERASE_DISCARD = 1U,
CY_SD_HOST_ERASE_FULE = 2U,
CY_SD_HOST_ERASE_SECURE = 3U,
CY_SD_HOST_ERASE_SECURE_TRIM_STEP_2 = 4U,
CY_SD_HOST_ERASE_SECURE_TRIM_STEP_1 = 5U,
CY_SD_HOST_ERASE_TRIM = 6U
} |
| Erase type. More...
|
|
enum | cy_en_sd_host_card_type_t {
CY_SD_HOST_SD = 0U,
CY_SD_HOST_SDIO = 1U,
CY_SD_HOST_EMMC = 2U,
CY_SD_HOST_COMBO = 3U,
CY_SD_HOST_UNUSABLE = 4U,
CY_SD_HOST_NOT_EMMC = 5U
} |
| Card type. More...
|
|
enum | cy_en_sd_host_card_capacity_t {
CY_SD_HOST_SDSC = 0U,
CY_SD_HOST_SDHC = 1U,
CY_SD_HOST_EMMC_LESS_2G = 0U,
CY_SD_HOST_EMMC_GREATER_2G = 1U,
CY_SD_HOST_SDXC = 2U,
CY_SD_HOST_UNSUPPORTED = 4U
} |
| The card capacity type. More...
|
|
enum | cy_en_sd_host_response_type_t {
CY_SD_HOST_RESPONSE_NONE = 0U,
CY_SD_HOST_RESPONSE_LEN_136 = 1U,
CY_SD_HOST_RESPONSE_LEN_48 = 2U,
CY_SD_HOST_RESPONSE_LEN_48B = 3U
} |
| SDHC response types. More...
|
|
enum | cy_en_sd_host_dma_type_t {
CY_SD_HOST_DMA_SDMA = 0U,
CY_SD_HOST_DMA_ADMA2 = 2U,
CY_SD_HOST_DMA_ADMA2_ADMA3 = 3U
} |
| The DMA type enum. More...
|
|
enum | cy_en_sd_host_write_protect_t {
CY_SD_HOST_PERMANENT = 0U,
CY_SD_HOST_ENABLE_TEMPORARY = 1U,
CY_SD_HOST_DISABLE_TEMPORARY = 2U
} |
| Write Protect type enum. More...
|
|