| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sdif_18xx_43xx.h File Reference

Go to the source code of this file.

## Macros
#define | US_TIMEOUT 1000000
| Setup options for the SDIO driver.
#define | MS_ACQUIRE_DELAY (10)
#define | INIT_OP_RETRIES 50
#define | SET_OP_RETRIES 1000
#define | SDIO_BUS_WIDTH 4
#define | SD_MMC_ENUM_CLOCK 400000
#define | MMC_MAX_CLOCK 20000000
#define | MMC_LOW_BUS_MAX_CLOCK 26000000
#define | MMC_HIGH_BUS_MAX_CLOCK 52000000
#define | SD_MAX_CLOCK 25000000

## Functions
STATIC INLINE int32_t | Chip_SDIF_CardNDetect (LPC_SDMMC_T *pSDMMC)
| Detect if an SD card is inserted.
STATIC INLINE int32_t | Chip_SDIF_CardWpOn (LPC_SDMMC_T *pSDMMC)
| Detect if write protect is enabled.
void | Chip_SDIF_Init (LPC_SDMMC_T *pSDMMC)
| Initializes the SD/MMC card controller.
void | Chip_SDIF_DeInit (LPC_SDMMC_T *pSDMMC)
| Shutdown the SD/MMC card controller.
STATIC INLINE void | Chip_SDIF_PowerOff (LPC_SDMMC_T *pSDMMC)
| Disable slot power.
STATIC INLINE void | Chip_SDIF_PowerOn (LPC_SDMMC_T *pSDMMC)
| Enable slot power.
STATIC INLINE void | Chip_SDIF_SetIntMask (LPC_SDMMC_T *pSDMMC, uint32_t iVal)
| Sets the SD interface interrupt mask.
uint32_t | Chip_SDIF_GetIntStatus (LPC_SDMMC_T *pSDMMC)
| Returns the current SD status, clears pending ints, and disables all ints.