Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nm_bsp_interrupt_ctrl

Synchronous enable/disable of WINC to host interrupts.

Functions

void nm_bsp_interrupt_ctrl (uint8 u8Enable)
 Enable/Disable interrupts from the WINC. More...
 

void nm_bsp_interrupt_ctrl ( uint8  u8Enable)

Enable/Disable interrupts from the WINC.

This function can be used to enable/disable the WINC to host interrupts, depending on how the driver is implemented. It is an internal driver function and shouldn't be called by the application.

Parameters
[in]u8Enable
  • '0' disable interrupts.
  • '1' enable interrupts.
Precondition
The interrupt must be registered using nm_bsp_register_isr first.
Note
Implementation of this function is host dependent and called by HIF layer.
See Also
tpfNmBspIsr, nm_bsp_register_isr
Returns
None

References EXTINT_CALLBACK_TYPE_DETECT, extint_chan_disable_callback(), and extint_chan_enable_callback().

Referenced by hif_handle_isr(), hif_set_rx_done(), and isr().