I wonder if GPIO could safely be used for byte writes to the OUT port. I have an 8bit (+control signals) peripheral connected to the GPIO and so far I was doing read-modify-write, which is slow and not all that atomic either.
I have used the peripheral (and the code to drive it) on LPC13xx CPU, which has a bit-masking GPIO - you mask out bits to keep and bits to modify by writing to different address, and that was really handy for this use case. But nRF51 doesn't have such a feature.
I have only now noticed the nrf_gpio.h uses byte access to the (sections of the) OUT port, apparently to the same effect although with 8bit granularity. So, is this the official, supported way to do masked GPIO writes? Are those still 1or 2 cycle writes? Is there some other/better way to modify a group of pins?