Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more
Initialization for BSP (Board Support Package) such as Reset and Chip Enable Pins for WINC, delays, register ISR, enable/disable IRQ for WINC, ...etc. More...
| Functions | |
| sint8 | nm_bsp_init (void) | 
| This function is used to initialize the Board Support Package (BSP) in order to prepare the WINC before it start working. | |
Detailed Description
Initialization for BSP (Board Support Package) such as Reset and Chip Enable Pins for WINC, delays, register ISR, enable/disable IRQ for WINC, ...etc.
You must use this function in the head of your application to enable WINC and Host Driver to communicate with each other.
Function Documentation
| sint8 nm_bsp_init | ( | void | ) | 
This function is used to initialize the Board Support Package (BSP) in order to prepare the WINC before it start working.
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 user can use any of the WINC API functions again. After the function initialize the WINC. Hard reset must be applied to start the WINC board.
- Note:
- Implementation of this function is host dependent.
- Warning:
- inappropriate use of this function will lead to unavailability of host-chip communication.
 
- See also:
- nm_bsp_deinit, nm_bsp_reset
- Returns:
- The function returns M2M_SUCCESS for successful operations and a negative value otherwise.
Generated on Wed Jul 13 2022 16:32:38 by
 1.7.2
 1.7.2