Host API
The host has to implement a set of functions to enable the driver to access multiple resources (Firmware, GPIOs, memory, buses, and so on). The implementation of these functions is dependent on the platform and type of operating system used. The list of functions required to be implemented by the host are located in
sl_wfx_host_api.h
. For each function, you can find additional information in their Doxygen header or in the
HOST_API
group.
The first set of functions initializes the host and retrieves the firmware information and the PDS information.
The host also needs to provide GPIO access to the FMAC driver.
The following function is used to transmit a message to the WFx chip.
In addition, several functions serve to manage the confirmations and indications coming from WFx.
These functions allocate or free memory.
These functions are used to manage bus access.
These functions support the chosen communication bus.
The following function is used to log debug info. Active only if SL_WFX_DEBUG_MASK is not null.
These functions support SecureLink. Active only if SL_WFX_USE_SECURE_LINK is defined.