void m2m_hw_gpio_int_enable(INT32 io)
Description: the function enables the selected GPIO port to generate interrupts. When interrupt occurs, the control calls the M2M_onInterrupt(…) application callback function contained in the
M2M_hwEvents.c
file, refer to document [1].
The interrupts are generated on both edges:
Parameters:
io: GPIO
port number
NOTE: for HE910/UE910 series, the GPIO port number 5 and 10 cannot generate interrupts.
For LE910 V2 series, the GPIO port number 5, 8, and 10, cannot generate interrupts