Hi Denis,
The Kinetis GPIO Data Input Register reliably reflect the state of the pin, without regard to the GPIO Data Direction Register setting.
Here you can see the test result of example gpio_led_output:
This example toggle led(GPIOC pin 8 configured as as output), we are able to see the GPIOC_PDIR[8] toggle during debug.


Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------