Reading from GPIO_PSR/DR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Reading from GPIO_PSR/DR

711件の閲覧回数
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 返信

585件の閲覧回数
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 件の賞賛