Host API
The host has to implement a set of functions to enable the driver to access multiple resources (Firmware, GPIOs, memory, buses...). The implementation of these functions are dependent on the platform and type of operating system used. The list of functions required to be implemented by the host are located in the
sl_wfx_host_api.h
file. For each function, you can find additional information in their Doxygen header or in the
HOST_API
group.
The first set of functions is responsible for the initialization of the host and retrieving the firmware information and the PDS information.
The host also needs to provide GPIO access to the FMAC driver.
In addition, several functions serve to manage the confirmations and indications coming from WFx.
These functions allocate or free memory.
The last set of required functions are supporting the chosen communication bus.