Delta / NNN50_WIFI_API

Dependents:   NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more

Embed: (wiki syntax)

« Back to documentation index

nm_bsp_deinit

nm_bsp_deinit
[Function]

De-initialization for BSP ((Board Support Package)). More...

Functions

sint8 nm_bsp_deinit (void)
 This function is used to de-initialize the BSP and turn off the WINC board.

Detailed Description

De-initialization for BSP ((Board Support Package)).

This function should be called only after a successful call to nm_bsp_init.


Function Documentation

sint8 nm_bsp_deinit ( void   )

This function is used to de-initialize the BSP and turn off the WINC board.

Precondition:
The BSP should be initialized through nm_bsp_init first. The nm_bsp_deinit is the last function that should be called after the application has finished and before the WINC is switched off. The function call turns off the WINC board by setting CHIP_EN and RESET_N signals low.Every function call of "nm_bsp_init" should be matched with a call to nm_bsp_deinit. Failure to do so may result in the WINC consuming higher power than expected.
Note:
Implementation of this function is host dependent.
Warning:
misuse may lead to unknown behavior in case of soft reset.
See also:
nm_bsp_init
Returns:
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.