LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sdc_001.c File Reference
#include "sdc_001.h"

Go to the source code of this file.

Functions

static void writeDelay (void)
 
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_Init (IP_SDC_001_T *pSDC)
 Initialize the SDC card controller.
 
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.
 
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.
 

Function Documentation

static void writeDelay ( void  )
static

Definition at line 38 of file sdc_001.c.