![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "sdmmc_001.h"Go to the source code of this file.
Functions | |
| void | IP_SDMMC_Init (IP_SDMMC_001_T *pSDMMC) |
| Initializes the MCI card controller. | |
| void | IP_SDMMC_DeInit (IP_SDMMC_001_T *pSDMMC) |
| Close the MCI. | |
| void | IP_SDMMC_SetBlkSize (IP_SDMMC_001_T *pSDMMC, uint32_t bytes) |
| Set block size for transfer. | |
| void | IP_SDMMC_Reset (IP_SDMMC_001_T *pSDMMC, int32_t reset) |
| Reset card in slot. | |
| int32_t | IP_SDMMC_SendCmd (IP_SDMMC_001_T *pSDMMC, uint32_t cmd, uint32_t arg) |
| Function to send command to Card interface unit (CIU) | |
| void | IP_SDMMC_GetResponse (IP_SDMMC_001_T *pSDMMC, uint32_t *resp) |
| Read the response from the last command. | |
| void | IP_SDMMC_SetClock (IP_SDMMC_001_T *pSDMMC, uint32_t clk_rate, uint32_t speed) |
| Sets the SD bus clock speed. | |
| void | IP_SDMMC_SetCardType (IP_SDMMC_001_T *pSDMMC, uint32_t ctype) |
| Function to set card type. | |
| void | IP_SDMMC_SetClearIntFifo (IP_SDMMC_001_T *pSDMMC) |
| Function to clear interrupt & FIFOs. | |
| uint32_t | IP_SDMMC_GetRawIntStatus (IP_SDMMC_001_T *pSDMMC) |
| Returns the raw SD interface interrupt status. | |
| void | IP_SDMMC_SetRawIntStatus (IP_SDMMC_001_T *pSDMMC, uint32_t iVal) |
| Sets the raw SD interface interrupt status. | |
| void | IP_SDMMC_SetIntMask (IP_SDMMC_001_T *pSDMMC, uint32_t iVal) |
| Sets the SD interface interrupt mask. | |
| void | IP_SDMMC_DmaSetup (IP_SDMMC_001_T *pSDMMC, sdif_device *psdif_dev, uint32_t addr, uint32_t size) |
| Setup DMA descriptors. | |
| void | IP_SDMMC_SetBlkSizeByteCnt (IP_SDMMC_001_T *pSDMMC, uint32_t blk_size) |
| Set block size and byte count for transfer. | |
| void | IP_SDMMC_SetByteCnt (IP_SDMMC_001_T *pSDMMC, uint32_t bytes) |
| Set byte count for transfer. | |