Initialization for BSP (<strong>B</strong>oard <strong>S</strong>upport <strong>P</strong>ackage) such as Reset and Chip Enable Pins for WINC, delays, register ISR, enable/disable IRQ for WINC, etc.
You must use this function at the head of your application to enable WINC and Host Driver to communicate with each other.
Functions | |
sint8 | nm_bsp_init (void) |
Initialize BSP. More... | |
sint8 nm_bsp_init | ( | void | ) |
Initialize BSP.
This function is used to initialize the Board Support Package (BSP) in order to prepare the WINC before any WINC API calls.
The nm_bsp_init function is the first function that should be called at the beginning of every application to initialize the BSP and the WINC board. Otherwise, the rest of the BSP function calls will return with failure. This function should also be called after the WINC has been switched off with a successful call to nm_bsp_deinit in order to reinitialize the BSP before the Application can use any of the WINC APIs again. After the function initializes the WINC, a hard reset must be applied to start the WINC board by calling nm_bsp_reset.
References delay_init, gpfIsr, init_chip_pins(), nm_bsp_reset(), and NULL.
Referenced by main(), and wifi_init().