Mistake on this page?
Report an issue in GitHub or email us
Functions
WHD Bus API

Allows WHD to operate with specific SDIO/SPI bus. More...

Functions

uint32_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...
 
uint32_t whd_bus_spi_attach (whd_driver_t whd_driver, whd_spi_config_t *whd_config, cyhal_spi_t *spi_obj)
 Attach the WLAN Device to a specific SPI bus. More...
 
void whd_bus_spi_detach (whd_driver_t whd_driver)
 Detach the WLAN Device to a specific SPI bus. More...
 

Detailed Description

Allows WHD to operate with specific SDIO/SPI bus.

Function Documentation

uint32_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
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
uint32_t whd_bus_spi_attach ( whd_driver_t  whd_driver,
whd_spi_config_t whd_config,
cyhal_spi_t *  spi_obj 
)

Attach the WLAN Device to a specific SPI bus.

Parameters
whd_driverPointer to handle instance of the driver
whd_configConfiguration for SPI bus
spi_objThe SPI hardware interface, from the Level 3 CY HW APIs
Returns
WHD_SUCCESS or Error code
void whd_bus_spi_detach ( whd_driver_t  whd_driver)

Detach the WLAN Device to a specific SPI bus.

Parameters
whd_driverPointer to handle instance of the driver
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.