![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Go to the source code of this file.
Enumerations | |
| enum | CHIP_SDC_RET_CODE_T { SDC_RET_OK = 0, SDC_RET_CMD_FAILED = -1, SDC_RET_BAD_PARAMETERS = -2, SDC_RET_BUS_NOT_IDLE = -3, SDC_RET_TIMEOUT = -4, SDC_RET_ERR_STATE = -5, SDC_RET_NOT_READY = -6, SDC_RET_FAILED = -7 } |
| SDC Return code definitions. More... | |
Functions | |
| void | Chip_SDC_Init (LPC_SDC_T *pSDC) |
| Initialize SDC peripheral. | |
| void | Chip_SDC_SetClock (LPC_SDC_T *pSDC, uint32_t freq) |
| Set the clock frequency for SDC peripheral. | |
| void | Chip_SDC_DeInit (LPC_SDC_T *pSDC) |
| Deinitialise SDC peripheral. | |
| STATIC INLINE void | Chip_SDC_SetIntMask (LPC_SDC_T *pSDC, uint32_t iVal) |
| Sets the interrupt mask in SDC peripheral. | |
| STATIC INLINE uint32_t | Chip_SDC_GetStatus (LPC_SDC_T *pSDC) |
| Returns the current SDC status. | |