Hi, I set up a 2 GPIOTE interupts like this:
in main.c:
APP_GPIOTE_INIT(3);
err_code = app_gpiote_user_register(&mainUser, 0x00000000, (1 << RF_GPIO2), powerButtonInt); APP_ERROR_CHECK(err_code);
err_code = app_gpiote_user_enable(mainUser);
APP_ERROR_CHECK(err_code);
and then later in another file:
uint32_t err_code;
err_code = app_gpiote_user_register(&radioUser, 0x00000000, (1 << RF_GPIO0), radioInt);
APP_ERROR_CHECK(err_code);
err_code = app_gpiote_user_enable(radioUser); //leave it disabled for now
APP_ERROR_CHECK(err_code);
But my interrupt functions never get hit. I cannot understand why. Any idea where I can start to look?