How to read out the status of output GPIO port level

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to read out the status of output GPIO port level

Jump to solution
1,382 Views
Hozumi
Contributor I

Can we read out the status of output GPIO port level?

The background of using it for fault monitoring.
If we can do that, please provide us the information of proper registers and their control sequences.

0 Kudos
1 Solution
1,378 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Hozumi,

Whenever a pin is configured in any digital pin muxing mode, the input buffer for that pin is enabled allowing the pin state to be read via the corresponding GPIO Port Data Input Register (GPIO_PDIR).

pin state to be read.pngFigure 4-1. Signal Multiplexing.png

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
1,379 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Hozumi,

Whenever a pin is configured in any digital pin muxing mode, the input buffer for that pin is enabled allowing the pin state to be read via the corresponding GPIO Port Data Input Register (GPIO_PDIR).

pin state to be read.pngFigure 4-1. Signal Multiplexing.png

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos