Microchip® Advanced Software Framework

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

Synchrnonous enable/disable interrupts fucntion.

Synchronous enable/disable of WINC to host interrupts.

Functions

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

void nm_bsp_interrupt_ctrl ( uint8  u8Enable)

Enable/Disable interrupts.

Enable/Disable interrupts from the WINC.

Parameters
[in]u8Enable'0' disable interrupts. '1' enable interrupts
See Also
tpfNmBspIsr
Note
Implementation of this function is host dependent and called by HIF layer.
Returns
None

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