KL25Z - Can't clear bit PS (for pull-down)

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

KL25Z - Can't clear bit PS (for pull-down)

539件の閲覧回数
hananribo
Contributor I

Hello,

I try in KL25Z to clear bit PS (for pull-down) in any register PORx_PCRn Without success.

For example, I write the next simple command

PORTE_PCR2 &= ~PORT_PCR_PS_MASK;

There is no effect.

Why? How to resolve this?

Hanan

ラベル(1)
0 件の賞賛
返信
1 返信

394件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Hanan Ribo:

KL25 has pull-enable control, but only to enable pull-ups. Pull select is not available at any port. See the next table from KL25 Reference Manual

pastedImage_0.png

I hope this clarifies.


Regards!,
Jorge Gonzalez

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

0 件の賞賛
返信