![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "sys_config.h"#include "cmsis.h"Go to the source code of this file.
Data Structures | |
| struct | IP_SDC_001_T |
| SD/MMC card Interface (SDC) register block structure. More... | |
| struct | IP_SDC_001_RESP_T |
| SDC Command Response structure. More... | |
| struct | IP_SDC_001_DATA_TRANSFER_T |
| SDC Data Transfer Setup structure. More... | |
Functions | |
| void | IP_SDC_PowerControl (IP_SDC_001_T *pSDC, IP_SDC_001_PWR_CTRL_T pwrMode, uint32_t flag) |
| Set the power state of SDC peripheral. | |
| void | IP_SDC_SetClockDiv (IP_SDC_001_T *pSDC, uint8_t div) |
| Set clock divider value for SDC peripheral. | |
| void | IP_SDC_ClockControl (IP_SDC_001_T *pSDC, IP_SDC_001_CLOCK_CTRL_T ctrlType, FunctionalState NewState) |
| Set or Reset clock control of SDC peripheral. | |
| void | IP_SDC_SetCommand (IP_SDC_001_T *pSDC, uint32_t Cmd, uint32_t Arg) |
| Set SDC Command Information. | |
| void | IP_SDC_ResetCommand (IP_SDC_001_T *pSDC) |
| Reset SDC Command Information. | |
| void | IP_SDC_GetResp (IP_SDC_001_T *pSDC, IP_SDC_001_RESP_T *pResp) |
| Get SDC Response. | |
| STATIC INLINE void | IP_SDC_SetDataTimer (IP_SDC_001_T *pSDC, uint32_t timeout) |
| Set SDC Data Timeout Period. | |
| void | IP_SDC_SetDataTransfer (IP_SDC_001_T *pSDC, IP_SDC_001_DATA_TRANSFER_T *pTransfer) |
| Set SDC Data Transfer Information. | |
| void | IP_SDC_WriteFIFO (IP_SDC_001_T *pSDC, uint32_t *pSrc, bool bFirstHalf) |
| Write Data to FIFO. | |
| void | IP_SDC_ReadFIFO (IP_SDC_001_T *pSDC, uint32_t *pDst, bool bFirstHalf) |
| Write Data to FIFO. | |
| STATIC INLINE uint32_t | IP_SDC_GetStatus (IP_SDC_001_T *pSDC) |
| Get status of SDC Peripheral. | |
| STATIC INLINE void | IP_SDC_ClearStatus (IP_SDC_001_T *pSDC, uint32_t flag) |
| Clear status of SDC Peripheral. | |
| STATIC INLINE void | IP_SDC_SetIntMask (IP_SDC_001_T *pSDC, uint32_t mask) |
| Set interrupt mask for SDC Peripheral. | |
| void | IP_SDC_Init (IP_SDC_001_T *pSDC) |
| Initialize the SDC card controller. | |
| STATIC INLINE void | IP_SDC_DeInit (IP_SDC_001_T *pSDC) |
| Deinitialise the SDC peripheral. | |