How to get a configuration of a single pin

Hi

I want to know how to get a configuration of a single pin .

I added this function to the blinky example.

But it keeps reporting -ENOSYS.

Testing environment: ncs2.8.0  nRF52840DK

My test code is as follows.

Related