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