lpc54 SDMMC. Some trivial naming improvements.

This commit is contained in:
Gregory Nutt 2017-12-22 07:19:13 -06:00
parent cd48087c58
commit 7add46bab5
2 changed files with 5 additions and 5 deletions

View File

@ -216,7 +216,7 @@
#define SDMMC_INT_SBE (1 << 13) /* Bit 13: Start-bit error */
#define SDMMC_INT_ACD (1 << 14) /* Bit 14: Auto command done */
#define SDMMC_INT_EBE (1 << 15) /* Bit 15: End-bit error (read)/Write no CRC */
#define SDMMC_INT_SDMMC (1 << 16) /* Bit 16: Mask SD/MMC interrupt */
#define SDMMC_INT_SDMMC (1 << 16) /* Bit 16: SD/MMC interrupt */
/* Bits 17-31: Reserved */
#define SDMMC_INT_ALL (0x1ffff)

View File

@ -290,7 +290,7 @@ static void lpc54_endtransfer(struct lpc54_dev_s *priv, sdio_eventset_t wkupeven
/* Interrupt Handling *******************************************************/
static int lpc54_interrupt(int irq, void *context, FAR void *arg);
static int lpc54_sdmmc_interrupt(int irq, void *context, FAR void *arg);
/* SD Card Interface Methods ************************************************/
@ -904,7 +904,7 @@ static void lpc54_endtransfer(struct lpc54_dev_s *priv, sdio_eventset_t wkupeven
}
/****************************************************************************
* Name: lpc54_interrupt
* Name: lpc54_sdmmc_interrupt
*
* Description:
* SD card interrupt handler
@ -917,7 +917,7 @@ static void lpc54_endtransfer(struct lpc54_dev_s *priv, sdio_eventset_t wkupeven
*
****************************************************************************/
static int lpc54_interrupt(int irq, void *context, FAR void *arg)
static int lpc54_sdmmc_interrupt(int irq, void *context, FAR void *arg)
{
struct lpc54_dev_s *priv = &g_scard_dev;
uint32_t enabled;
@ -1507,7 +1507,7 @@ static int lpc54_attach(FAR struct sdio_dev_s *dev)
/* Attach the SD card interrupt handler */
ret = irq_attach(LPC54_IRQ_SDMMC, lpc54_interrupt, NULL);
ret = irq_attach(LPC54_IRQ_SDMMC, lpc54_sdmmc_interrupt, NULL);
if (ret == OK)
{
/* Disable all interrupts at the SD card controller and clear static