Is there a way to do a fast digital write on the XIAO nRF52840? On an arduino mega, for example, you would do direct port access like this…
PORTB = PORTB | B00100000; // set pin high
PORTB = PORTB & B11011111; // set pin low
I am unable to find something similar for the nRF52840.