hlo sir , In my code there are 4 gpio interrupts,
if they comes at same time which will execute first.
There is any optional to assign priority to each gpio interrupts .
hlo sir , In my code there are 4 gpio interrupts,
if they comes at same time which will execute first.
There is any optional to assign priority to each gpio interrupts .
Hi.
Are you talking about the GPIOTE peripheral? Or are you talking about 4 different peripherals?
4 different peripherals:
The interrupt with the highest interrupt priority will execute first.
You can set the interrupt priority for your different peripherals in the sdk_config.h file
GPIOTE peripheral:
If they come in at the same time, it is not possible to know which interrupt will be executed, and only one interrupt will be executed most likely, the other 3 will be missed. You should add some sort of delay between the interrupts.
Best regards,
Andreas
i am using gpiote peripheral for all 4 interrupt .so there is no option for assigning priority to gpiote interrupts .thank for the replay
pls reply sir
Hi.
Sorry, I did not read your last reply as a question.
No, there is no option to do this, as I tried to explain in my previous reply.
Best regards,
Andreas
Hi.
Sorry, I did not read your last reply as a question.
No, there is no option to do this, as I tried to explain in my previous reply.
Best regards,
Andreas