XIAO nRF52840 fast digitalRead?

Tell me how to rewrite this line of code using nrf_gpio_port_in_read. I use pins P0.2 and P0.3. I want to check how fast it will work.