Hello,
I am developing my own application using nRF Connect SDK with the nRF5340.
I want to drive multiple GPIO pins at the same time using the function gpio_port_set_masked(), but I can't understand what is the port argument that I need to pass to it.
I want to set PIN 10, 11, 12 and 13 to 0, so I was thinking to use
gpio_port_set_masked(TODO, 0b1111 << 9, 0);
But I can't find any reference on what to pass in TODO.
What do I have to define in the devicetree? What and how should I call in the main.c of the application?
Any help is appreciated.
Thanks