Defines | |
#define | SDIOEMB_SLOTS_MAX 4 |
#define | SDIOEMB_FDRIVERS_MAX 4 |
#define | SDIOEMB_FDEVS_MAX 8 |
#define | SDIOEMB_CARD_INIT_RETRY_MAX 3 |
#define | SDIOEMB_CARD_READY_TIMEOUT_MS 100 |
#define | SDIOEMB_CARD_IS_REMOVABLE 1 |
#define | SDIOEMB_CSPI_REG_PADDING 1 |
#define | SDIOEMB_CSPI_BURST_PADDING 2 |
Defaults are provided in sdio_config.h.
#define SDIOEMB_CARD_INIT_RETRY_MAX 3 |
Maximum number of times to try to initialize a card.
#define SDIOEMB_CARD_IS_REMOVABLE 1 |
Non-zero if the card is removable, zero if the card is always inserted (e.g., it's wired directly to the SD host controller).
A thread is used when detecting removable cards.
#define SDIOEMB_CARD_READY_TIMEOUT_MS 100 |
Time (in ms) to wait for the card to become ready during the initialization sequence.
#define SDIOEMB_CSPI_BURST_PADDING 2 |
Amount of CSPI burst padding in octets. The default of 2 should be fine for all chips and bus speeds less than 25 MHz.
#define SDIOEMB_CSPI_REG_PADDING 1 |
Amount of CSPI register padding in octets. The default of 0 should be fine for all chips and bus speeds less than 25 MHz.
#define SDIOEMB_FDEVS_MAX 8 |
Maximum number of functions supported by the core.
Referenced by sdioemb_driver_register(), and sdioemb_driver_unregister().
#define SDIOEMB_FDRIVERS_MAX 4 |
Maxium number of function drivers that may be registered with the core.
Referenced by sdioemb_driver_register(), and sdioemb_driver_unregister().
#define SDIOEMB_SLOTS_MAX 4 |
Maximum number of SDIO slots that may be registered with the core.