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

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

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

1,297 次查看
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 回复

1,152 次查看
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 项奖励
回复