The sdmmc osa adapter provide interface of os adapter.
status_t SDMMC_OSAEventCreate |
( |
void * |
eventHandle | ) |
|
- Parameters
-
- Return values
-
kStatus_Fail | or kStatus_Success. |
status_t SDMMC_OSAEventWait |
( |
void * |
eventHandle, |
|
|
uint32_t |
eventType, |
|
|
uint32_t |
timeoutMilliseconds, |
|
|
uint32_t * |
event |
|
) |
| |
- Parameters
-
eventHandle | The event type |
eventType | Timeout time in milliseconds. |
timeoutMilliseconds | timeout value in ms. |
event | event flags. |
- Return values
-
kStatus_Fail | or kStatus_Success. |
status_t SDMMC_OSAEventSet |
( |
void * |
eventHandle, |
|
|
uint32_t |
eventType |
|
) |
| |
- Parameters
-
eventHandle | event handle. |
eventType | The event type |
- Return values
-
kStatus_Fail | or kStatus_Success. |
status_t SDMMC_OSAEventGet |
( |
void * |
eventHandle, |
|
|
uint32_t |
mask, |
|
|
uint32_t * |
flag |
|
) |
| |
- Parameters
-
eventHandle | event handle. |
mask | event mask. |
flag | pointer to store event value. |
- Return values
-
kStatus_Fail | or kStatus_Success. |
status_t SDMMC_OSAEventClear |
( |
void * |
eventHandle, |
|
|
uint32_t |
eventType |
|
) |
| |
- Parameters
-
eventHandle | event handle. |
eventType | The event type |
- Return values
-
kStatus_Fail | or kStatus_Success. |
status_t SDMMC_OSAEventDestroy |
( |
void * |
eventHandle | ) |
|
- Parameters
-
eventHandle | The event handle. |
void SDMMC_OSADelay |
( |
uint32_t |
milliseconds | ) |
|
- Parameters
-
milliseconds | time to delay |