I use the app_gpiote_user_register to set GPIO port 1 pin, but this registers only 32-bit mask, so it can only to setting port 0.
If I want to use the port 1 pin for app_qpiote, how can I fix it?
I use the app_gpiote_user_register to set GPIO port 1 pin, but this registers only 32-bit mask, so it can only to setting port 0.
If I want to use the port 1 pin for app_qpiote, how can I fix it?
Unfortunately, it does not look like using app_gpiote is feasible for port1 as this library is designed to work with 32bit masking and not 64 bit masking.
I recommend you use nrfx_gpiote instead of the app_gpiote.
You are right, I tried to modify the mask bit from 32-bit to 64-bit, but that is incorrect and can not work.
I use the nrfx_gpiote and try to modify the NRFX_GPIOTE_CONFIG_IN_SENSE_TOGGLE hi_accuracy setting to false.
It can operate normally.