Fast digital write on XIAO nRF52840

Hello,

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…

pinMode(13, OUTPUT);
PORTB = PORTB | B00100000; // set pin high
PORTB = PORTB & B11011111; // set pin low

I am unable to find something similar for the nRF52840.

Thank you!

Any help here would be appreciated.

Looks like it’s possible ?

HTH
GL :-p