93#define MCI_INITIAL_SPEED 400000
141extern void MCID_Init(
sMcid *pMcid,
142 Hsmci *pMci, uint8_t bID, uint32_t dwMck,
146extern void MCID_Reset(
sMcid *pMcid);
148extern void MCID_SetSlot(
Hsmci *pMci, uint8_t slot);
150extern uint32_t MCID_Lock(
sMcid *pMcid, uint8_t bSlot);
152extern uint32_t MCID_Release(
sMcid *pMcid);
154extern void MCID_Handler(
sMcid *pMcid);
156extern uint32_t MCID_SendCmd(
sMcid *pMcid,
void *pCmd);
158extern uint32_t MCID_CancelCmd(
sMcid *pMcid);
160extern uint32_t MCID_IsCmdCompleted(
sMcid *pMcid);
162extern uint32_t MCID_IOCtrl(
sMcid *pMcid, uint32_t bCtl, uint32_t param);
struct _Mcid sMcid
MCI Driver.
Hsmci hardware registers.
Definition: component_hsmci.h:41
MCI Driver.
Definition: mcid.h:110
uint32_t dwDmaCh
Definition: mcid.h:120
uint8_t reserved
Definition: mcid.h:130
sXdmad * pXdmad
Definition: mcid.h:114
uint8_t bID
Definition: mcid.h:126
void * pCmd
Definition: mcid.h:116
uint32_t dwXfrNdx
Definition: mcid.h:122
uint32_t dwXSize
Definition: mcid.h:124
uint32_t dwMck
Definition: mcid.h:118
Hsmci * pMciHw
Definition: mcid.h:112
volatile uint8_t bState
Definition: mcid.h:132
uint8_t bPolling
Definition: mcid.h:128