De-initialization of the BSP (<strong>B</strong>oard <strong>S</strong>upport <strong>P</strong>ackage).
This function should be called only after a successful call to nm_bsp_init.
Functions | |
sint8 | nm_bsp_deinit (void) |
De-iInitialize BSP. More... | |
sint8 nm_bsp_deinit | ( | void | ) |
De-iInitialize BSP.
This function is used to de-initialize the BSP and turn off the WINC board.
The nm_bsp_deinit is the last function that should be called after the application has finished and before the WINC is switched off. A call to this function will turn 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, since it won't be properly de-initialized.
References IOPORT_PIN_LEVEL_LOW, ioport_set_pin_level(), and M2M_SUCCESS.