arch/arm/src/imxrt/imxrt_usdhc.c: Implements SDIO and Multi-card support for i.MX RT.

This commit is contained in:
Dave Marples 2019-07-03 12:42:09 -06:00 committed by Gregory Nutt
parent 1395938260
commit 093f98c2bb
2 changed files with 862 additions and 583 deletions

File diff suppressed because it is too large Load Diff

View File

@ -51,6 +51,25 @@
* Public Function Prototypes
****************************************************************************/
/****************************************************************************
* Name: imxrt_usdhc_set_sdio_card_isr
*
* Description:
* SDIO card generates interrupt via SDIO_DATA_1 pin.
* Called by board-specific logic to register an ISR for SDIO card.
*
* Input Parameters:
* func - callback function.
* arg - arg to be passed to the function.
*
* Returned Value:
* None
*
****************************************************************************/
void imxrt_usdhc_set_sdio_card_isr(FAR struct sdio_dev_s *dev,
int (*func)(void *), void *arg);
/****************************************************************************
* Name: imxrt_usdhc_initialize
*
@ -61,7 +80,8 @@
* slotno - Not used.
*
* Returned Value:
* A reference to an USDIO interface structure. NULL is returned on failures.
* A reference to an USDIO interface structure. NULL is returned on
* failures.
*
****************************************************************************/