![]() |
LPCOpen Platform
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_Type *pSDMMC) |
Initializes the MCI card controller. | |
void | IP_SDMMC_DeInit (IP_SDMMC_001_Type *pSDMMC) |
Close the MCI. | |
void | IP_SDMMC_SetBlkSize (IP_SDMMC_001_Type *pSDMMC, uint32_t bytes) |
Set block size for transfer. | |
void | IP_SDMMC_Reset (IP_SDMMC_001_Type *pSDMMC, int32_t reset) |
Reset card in slot. | |
void | IP_SDMMC_PowerOnOff (IP_SDMMC_001_Type *pSDMMC, int32_t enable) |
Enable or disable slot power. | |
int32_t | IP_SDMMC_CardWpOn (IP_SDMMC_001_Type *pSDMMC) |
Detect if write protect is enabled. | |
int32_t | IP_SDMMC_CardNDetect (IP_SDMMC_001_Type *pSDMMC) |
Detect if an SD card is inserted. | |
int32_t | IP_SDMMC_SendCmd (IP_SDMMC_001_Type *pSDMMC, uint32_t cmd, uint32_t arg) |
Function to send command to Card interface unit (CIU) | |
void | IP_SDMMC_GetResponse (IP_SDMMC_001_Type *pSDMMC, uint32_t *resp) |
Read the response from the last command. | |
void | IP_SDMMC_SetClock (IP_SDMMC_001_Type *pSDMMC, uint32_t clk_rate, uint32_t speed) |
Sets the SD bus clock speed. | |
void | IP_SDMMC_SetCardType (IP_SDMMC_001_Type *pSDMMC, uint32_t ctype) |
Function to set card type. | |
void | IP_SDMMC_SetClearIntFifo (IP_SDMMC_001_Type *pSDMMC) |
Function to clear interrupt & FIFOs. | |
uint32_t | IP_SDMMC_GetRawIntStatus (IP_SDMMC_001_Type *pSDMMC) |
Returns the raw SD interface interrupt status. | |
void | IP_SDMMC_SetRawIntStatus (IP_SDMMC_001_Type *pSDMMC, uint32_t iVal) |
Sets the raw SD interface interrupt status. | |
void | IP_SDMMC_SetIntMask (IP_SDMMC_001_Type *pSDMMC, uint32_t iVal) |
Sets the SD interface interrupt mask. | |
void | IP_SDMMC_DmaSetup (IP_SDMMC_001_Type *pSDMMC, sdif_device *psdif_dev, uint32_t addr, uint32_t size) |
Setup DMA descriptors. | |
void | IP_SDMMC_SetBlockSize (IP_SDMMC_001_Type *pSDMMC, uint32_t blk_size) |
Sets the transfer block size. | |