Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nm_bsp_init

Initialize BSP.

Functions

sint8 nm_bsp_init (void)
 Initialization for bsp (Board Support Package) such as Reset and Chip Enable Pins for WILC, delays, register ISR, enable/disable IRQ for WILC, ...etc.
You must use this function in the head of your application to enable WILC and Host Driver communicate each other. More...
 

sint8 nm_bsp_init ( void  )

Initialization for bsp (Board Support Package) such as Reset and Chip Enable Pins for WILC, delays, register ISR, enable/disable IRQ for WILC, ...etc.
You must use this function in the head of your application to enable WILC and Host Driver communicate each other.

Warning
Missing use will lead to unavailability of host communication.
Note
Implementation of this function is host dependent.
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.

References gpfIsr, init_chip_pins(), nm_bsp_reset(), and NULL.

Referenced by os_m2m_wifi_init_imp(), and serial_bridge().