Infineon Logo Wi-Fi Host Driver (WHD) Public API Reference Guide
 
WHD Bus API

General Description

Allows WHD to operate with specific SDIO/SPI bus.

Functions

whd_result_t whd_bus_sdio_attach (whd_driver_t whd_driver, whd_sdio_config_t *whd_config, cyhal_sdio_t *sdio_obj)
 Attach the WLAN Device to a specific SDIO bus. More...
 
void whd_bus_sdio_detach (whd_driver_t whd_driver)
 Detach the WLAN Device to a specific SDIO bus. More...
 

Function Documentation

◆ whd_bus_sdio_attach()

whd_result_t whd_bus_sdio_attach ( whd_driver_t  whd_driver,
whd_sdio_config_t whd_config,
cyhal_sdio_t *  sdio_obj 
)

Attach the WLAN Device to a specific SDIO bus.

Parameters
whd_driverPointer to handle instance of the driver
whd_configConfiguration for SDIO bus
sdio_objThe SDHC hardware interface, from the Level 3 CY HW APIs
Returns
WHD_SUCCESS or Error code

◆ whd_bus_sdio_detach()

void whd_bus_sdio_detach ( whd_driver_t  whd_driver)

Detach the WLAN Device to a specific SDIO bus.

Parameters
whd_driverPointer to handle instance of the driver