interrupt in DSPS project
Hello Dialog Team,
My board is basic DK.
I try to add buttion interrupt function which I found in 'reporter'project to DSPS project.
I add these functions:
void app_button_press_cb(void) {light up LED}
void app_button_enable(void)
also add driver:
wkupct_quadec.c
GPIO definition:
#define GPIO_BUTTON_PORT GPIO_PORT_0
#define GPIO_BUTTON_PIN GPIO_PIN_7
void app_button_enable() in this function:
wkupct_enable_irq(0x80, 0x80, 1, 2); // P0_7