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

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

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

893 Views
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

Labels (1)
0 Kudos
Reply
1 Reply

748 Views
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 Kudos
Reply