PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
General Purpose Macros
PDL API Reference » SD Host (SD Host Controller) » Macros

## General Description

## Macros
#define | CY_SD_HOST_DRV_VERSION_MAJOR 2
| Driver major version.
#define | CY_SD_HOST_DRV_VERSION_MINOR 40
| Driver minor version.
#define | CY_SD_HOST_ID CY_PDL_DRV_ID(0x3AU)
| SD_HOST PDL ID.
#define | CY_SD_HOST_BLOCK_SIZE (512UL)
| The SD memory card block size.
#define | CY_SD_HOST_SDSC_ADDR_SHIFT (9U)
| This constant is used to get the address for the SDSC card using the shift operation instead of multiply to 512.
#define | CY_SD_HOST_CLK_25M (25UL * 1000UL * 1000UL)
| Clk = 25 MHz.
#define | CY_SD_HOST_CLK_50M (50UL * 1000UL * 1000UL)
| Clk = 50 MHz.
#define | CY_SD_HOST_CLK_100M (100UL * 1000UL * 1000UL)
| Clk = 100 MHz.
#define | CY_SD_HOST_CLK_RAMP_UP_TIME_MS (100UL)
| The host power ramp up time.
#define | CY_SD_HOST_CLK_RAMP_UP_TIME_US_WAKEUP (1U)
| The default host power ramp up time during wake up from deep sleep.
#define | CY_SD_HOST_ADMA_NOP (0x0UL)
| Does not execute the current line and go to next line.
#define | CY_SD_HOST_ADMA_RSV (0x2UL)
| Reserved.
#define | CY_SD_HOST_ADMA_TRAN (0x4UL)
| Transfers data of one descriptor line.
#define | CY_SD_HOST_ADMA_LINK (0x6UL)
| The link to another descriptor.
#define | CY_SD_HOST_ADMA3_CMD (0x1UL)
| The Command descriptor.
#define | CY_SD_HOST_ADMA3_INTEGRATED (0x7UL)
| The Integrated descriptor.
#define | CY_SD_HOST_ADMA2_DESCR_SIZE (0x2UL)
| The ADMA2 descriptor size.
#define | CY_SD_HOST_ADMA_ATTR_VALID_POS (0U)
| The ADMA Attr Valid position.
#define | CY_SD_HOST_ADMA_ATTR_END_POS (1U)
| The ADMA Attr End position.
#define | CY_SD_HOST_ADMA_ATTR_INT_POS (2U)
| The ADMA Attr Int position.
#define | CY_SD_HOST_ADMA_ACT_POS (3U)
| The ADMA Act position.
#define | CY_SD_HOST_ADMA_RESERVED2_POS (6U)
| The ADMA Reserved2 position.
#define | CY_SD_HOST_ADMA_LEN_POS (16U)
| The ADMA Len position.