I'm wondering if the port and pin function can be used together to configure a set of pins.
For _port_dir_set, I assume it sets the whole port to the designated direction. Can I then use individual pin functions to change some? For instance, if I set port 0 direction to output, can I then change P0.03 to input with nrf_gpio_pin_dir_set?
I'd like to be able to set or clear a group of pins using a mask. Do _port_set and _port_clear only alter the pins that match the mask, without glitches on the non-masked pins?