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_register_isr

nm_bsp_register_isr
[Function]

Register ISR (Interrupt Service Routine) in the initialization of HIF (Host Interface) Layer. More...

Functions

void nm_bsp_register_isr (tpfNmBspIsr pfIsr)
 Register the host interface interrupt service routine. WINC board utilize SPI interface to communicate with the host. This function register the SPI interrupt the notify the host whenever there is an outstanding message from the WINC board. The function should be called during the initialization of the host interface. It an internal driver function and shouldn't be called by the application.

Detailed Description

Register ISR (Interrupt Service Routine) in the initialization of HIF (Host Interface) Layer.

When the interrupt trigger the BSP layer should call the pfisr function once inside the interrupt.


Function Documentation

void nm_bsp_register_isr ( tpfNmBspIsr  pfIsr )

Register the host interface interrupt service routine. WINC board utilize SPI interface to communicate with the host. This function register the SPI interrupt the notify the host whenever there is an outstanding message from the WINC board. The function should be called during the initialization of the host interface. It an internal driver function and shouldn't be called by the application.

Parameters:
[in]tpfNmBspIsrpfIsr Pointer to ISR handler in HIF
Warning:
Make sure that ISR for IRQ pin for WINC is disabled by default in your implementation.
Note:
Implementation of this function is host dependent and called by HIF layer.
See also:
tpfNmBspIsr
Returns:
None