|
AM263Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
61 #include <drivers/hw_include/csl_types.h>
62 #include <drivers/hw_include/cslr_mmcsd.h>
83 #define MMCSD_MODE_BLOCKING ((uint32_t) 0U)
84 #define MMCSD_MODE_CALLBACK ((uint32_t) 1U)
107 int32_t transferStatus);
void MMCSD_Params_init(MMCSD_Params *mmcsdParams)
Initialize data structure with defaults.
uint32_t eventId
Definition: mmcsd.h:149
MMCSD_Attrs * attrs
Definition: mmcsd.h:200
uint32_t baseAddr
Definition: mmcsd.h:137
MMCSD_Config gMmcsdConfig[]
Externally defined driver configuration array.
void * MMCSD_Handle
Definition: mmcsd.h:88
uint32_t intrPriority
Definition: mmcsd.h:145
MMCSDLLD_InitObject mmcsdLldInitObject
Definition: mmcsd.h:181
MMCSD_Handle MMCSD_getHandle(uint32_t index)
This function returns the handle of an open MMCSD Instance from the instance index.
MMCSD_txnCallbackFxn txnCallbackFxn
Definition: mmcsd.h:128
bool autoAssignMaxSpeed
Definition: mmcsd.h:155
MMCSD_txnCallbackFxn txnCallbackFxn
Definition: mmcsd.h:186
MMCSD LLD Driver API/interface file.
int32_t MMCSD_read(MMCSD_Handle handle, uint8_t *buf, uint32_t startBlk, uint32_t numBlks)
Function to perform block reads from the MMC/SD media.
SemaphoreP_Object xferCompleteSemObj
Definition: mmcsd.h:173
MMCSD_Handle MMCSD_open(uint32_t index, const MMCSD_Params *openParams)
This function opens a given MMCSD peripheral.
void MMCSD_deinit(void)
This function de-initializes the MMCSD module.
MMCSD_Object * object
Definition: mmcsd.h:202
bool isOpen
Definition: mmcsd.h:169
uint32_t cardType
Definition: mmcsd.h:167
uint32_t MMCSD_getBlockCount(MMCSD_Handle handle)
This function returns the block count of User Data Area of the MMC/SD media connected to the MMCSD co...
uint32_t busWidth
Definition: mmcsd.h:153
MMCSDLLD_Handle mmcsdLldHandle
Definition: mmcsd.h:179
MMCSD Driver Initialization Object.
Definition: mmcsd_lld.h:323
uint32_t inputClk
Definition: mmcsd.h:139
uint32_t cardType
Definition: mmcsd.h:151
MMCSDLLD_Object mmcsdLldObject
Definition: mmcsd.h:177
SemaphoreP_Object mutex
Definition: mmcsd.h:171
uint32_t intrNum
Definition: mmcsd.h:147
MMCSD Driver Object.
Definition: mmcsd_lld.h:356
bool enableDma
Definition: mmcsd.h:141
HwiP_Object hwiObj
Definition: mmcsd.h:175
uint8_t * dataBuf
Definition: mmcsd.h:124
bool intrEnable
Definition: mmcsd.h:143
int32_t MMCSD_write(MMCSD_Handle handle, uint8_t *buf, uint32_t startBlk, uint32_t numBlks)
Function to perform block writes to the MMC/SD media.
MMCSD instance attributes - used during initialization.
Definition: mmcsd.h:117
uint32_t MMCSD_getBlockSize(MMCSD_Handle handle)
This function returns the block size of the MMC/SD media connected to the MMCSD controller.
MMCSD driver object.
Definition: mmcsd.h:166
Opaque Hwi object used with the Hwi APIs.
Definition: HwiP.h:93
void * deviceData
Definition: mmcsd.h:120
uint32_t uaBusSpeed
Definition: mmcsd.h:157
void MMCSD_close(MMCSD_Handle handle)
Function to close a MMCSD peripheral specified by the MMCSD handle.
MMCSD Global configuration.
Definition: mmcsd.h:199
Opaque semaphore object used with the semaphore APIs.
Definition: SemaphoreP.h:59
MMCSD instance attributes - used during init time.
Definition: mmcsd.h:136
uint8_t transferMode
Definition: mmcsd.h:126
uint32_t gMmcsdConfigNum
Externally defined driver configuration array size.
uint32_t transferMode
Definition: mmcsd.h:184
void(* MMCSD_txnCallbackFxn)(MMCSD_Handle mmcsdHandle, int32_t transferStatus)
MMCSD callback function.
Definition: mmcsd.h:106
void MMCSD_init(void)
This function initializes the MMCSD module.