![]() |
Morse Micro IoT SDK
2.9.7
|
API for communicating with the WLAN transceiver over an SDIO interface.
Modules | |
| SDIO Utilities | |
| Useful macros and inline utilities function for use by SDIO and SPI HALs. | |
Data Structures | |
| struct | mmhal_wlan_sdio_cmd53_write_args |
| Arguments structure for mmhal_wlan_sdio_cmd53_write(). More... | |
| struct | mmhal_wlan_sdio_cmd53_read_args |
| Arguments structure for mmhal_wlan_sdio_cmd53_read(). More... | |
Enumerations | |
| enum | mmhal_sdio_error_codes { MMHAL_SDIO_INVALID_ARGUMENT = -1 , MMHAL_SDIO_HW_ERROR = -2 , MMHAL_SDIO_CMD_TIMEOUT = -3 , MMHAL_SDIO_CMD_CRC_ERROR = -4 , MMHAL_SDIO_DATA_TIMEOUT = -5 , MMHAL_SDIO_DATA_CRC_ERROR = -6 , MMHAL_SDIO_DATA_UNDERFLOW = -7 , MMHAL_SDIO_DATA_OVERRUN = -8 , MMHAL_SDIO_OTHER_ERROR = -9 } |
Enumeration of error codes that may be returned from mmhal_wlan_sdio_XXX() functions. More... | |
Functions | |
| int | mmhal_wlan_sdio_startup (void) |
| Perform transport specific startup. More... | |
| int | mmhal_wlan_sdio_cmd (uint8_t cmd_idx, uint32_t arg, uint32_t *rsp) |
| Execute an SDIO command without data. More... | |
| int | mmhal_wlan_sdio_cmd53_write (const struct mmhal_wlan_sdio_cmd53_write_args *args) |
| Execute an SDIO CMD53 write. More... | |
| int | mmhal_wlan_sdio_cmd53_read (const struct mmhal_wlan_sdio_cmd53_read_args *args) |
| Execute an SDIO CMD53 read. More... | |
Enumeration of error codes that may be returned from mmhal_wlan_sdio_XXX() functions.
Definition at line 487 of file mmhal_wlan.h.
| int mmhal_wlan_sdio_cmd | ( | uint8_t | cmd_idx, |
| uint32_t | arg, | ||
| uint32_t * | rsp | ||
| ) |
Execute an SDIO command without data.
| [in] | cmd_idx | The Command Index. |
| [in] | arg | Command argument. This corresponds to the 32 bits of the command between the Command Index field and the CRC7 field. |
| [out] | rsp | The contents of the command response between the Command Index field and the CRC7 field. May be NULL if the response is not required. The returned value is undefined if the return code is not zero. |
| int mmhal_wlan_sdio_cmd53_read | ( | const struct mmhal_wlan_sdio_cmd53_read_args * | args | ) |
Execute an SDIO CMD53 read.
| args | The read arguments. |
| int mmhal_wlan_sdio_cmd53_write | ( | const struct mmhal_wlan_sdio_cmd53_write_args * | args | ) |
Execute an SDIO CMD53 write.
| args | The write arguments. |
| int mmhal_wlan_sdio_startup | ( | void | ) |
Perform transport specific startup.