Reading from GPIO_PSR/DR

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reading from GPIO_PSR/DR

1,665 次查看
adelindobre
Contributor I

Hello, 

I have a question with the GPIO Read Mode sequence. After writing value to data_register (GPIO_DR), should be able to read the same state from the GPIO_PSR after I have configured GPIO direction register to input? I saw that reading in input mode, the value from GPIO_DR is updated after I wrote something, but this is not the case for GPIO_PSR.

Thanks for your help!

标签 (1)
0 项奖励
回复
1 回复

1,539 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  look at the following https://community.nxp.com/message/304791 


Have a great day,
Yuri

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

0 项奖励
回复