Question 1: I am using GPIO external interrupt. Does this interrupt belong to GPIOTE PORT EVENT by default?
Question 2: How to configure low precision GPIOTE?
Question 3: How to configure GPIOTE PORT EVENT?
Question 1: I am using GPIO external interrupt. Does this interrupt belong to GPIOTE PORT EVENT by default?
Question 2: How to configure low precision GPIOTE?
Question 3: How to configure GPIOTE PORT EVENT?
Hi Ethan,
A GPIO PORT EVENT is triggered when the DETECT signal goes high, which happens when the SENSE condition is met. First you need to make sure you have the SENSE condition enabled:
https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/gpio.html#ariaid-title17
Then you can use the sense-edge-mask in your devicetree to enable PORT detection for the pins. This is how you set the sense-edge-mask:
So what it means is that, if you are using an external interrupt and this SENSE condition is satisfied, then a GPIO PORT EVENT will take place.
Moreover, low precision GPIOTE is GPIO PORT EVENT.
Hope this helps you.
Regards,
Priyanka
Then you can use the sense-edge-mask in your devicetree to enable PORT detection for the pins. This is how you set the sense-edge-mask:
I use the sense-edge-mask in devicetree to enable PORT detection for the pins,But if I need to use GPIO (GPIO Tasks&Events),How should I configure it?
It only needs to be deleted the sense-edge-mask in devicetree ?I need to get confirmation on this。
Then you can use the sense-edge-mask in your devicetree to enable PORT detection for the pins. This is how you set the sense-edge-mask:
I use the sense-edge-mask in devicetree to enable PORT detection for the pins,But if I need to use GPIO (GPIO Tasks&Events),How should I configure it?
It only needs to be deleted the sense-edge-mask in devicetree ?I need to get confirmation on this。