1、map
/** data ready interrupt*/
GPIOIntMapFunc(INT_BANK, (1 << INT_PIN), GPIO_INT_TRIG_TYPE_LOW_LEVEL,
(GPIO_INT_FUNC_HANDLE_T)prvIntHandler, NULL);
2、enable
/** enable IO the interrupt */
GPIOIntEnable(NT_BANK, (1 << INT_PIN));
1、map
/** data ready interrupt*/
GPIOIntMapFunc(INT_BANK, (1 << INT_PIN), GPIO_INT_TRIG_TYPE_LOW_LEVEL,
(GPIO_INT_FUNC_HANDLE_T)prvIntHandler, NULL);
2、enable
/** enable IO the interrupt */
GPIOIntEnable(NT_BANK, (1 << INT_PIN));