Only p0.00 to p0.03 event can trigger an interupt in nrf 51822?
By nRF51 Series Reference Manual v1.0 ,I find that it only have CONFIG[n] (n=0..3) in GPIOTE, does it means that only p0.00 p0.01 p0.02 p0.03 could trigger an interupt?
Thanks ! dong.
Only p0.00 to p0.03 event can trigger an interupt in nrf 51822?
By nRF51 Series Reference Manual v1.0 ,I find that it only have CONFIG[n] (n=0..3) in GPIOTE, does it means that only p0.00 p0.01 p0.02 p0.03 could trigger an interupt?
Thanks ! dong.
Hi,
No, it means that you have 4 GPIOTE tasks and event channels that can be used. The input/output of this peripheral can be configured at runtime, and it can for instance be used to generate a PWM on any of the GPIOs available.
If you want to generate a wake-up-on-pin, you should use the PORT event of the GPIOTE. The PORT event is generated by setting Sense level (in NRF_GPIO->PIN_CNF[] register) on a GPIO and keeping this active. See the "pin_change_int_example" in the SDK if you're insterested in this
BR Håkon
Thanks for you answer! You mean all the GPIO PIN(From p0.00 to p0.30) can generated interrupt through 4 channels ???
Dong Thanks!
Thanks for you answer! You mean all the GPIO PIN(From p0.00 to p0.30) can generated interrupt through 4 channels ???
Dong Thanks!