AnsweredAssumed Answered

How to use Port C and D as general purpose I/O

Question asked by Adonis Qin on Jun 20, 2015
Latest reply on Jun 25, 2015 by Adonis Qin

Hi, I'v very new on freescale, now I'm using S12X chip and I want use port c and d to control some LED.


but port C and D in S12X is using for EBI in default.

It's said: When not used with the alternative function, these pins can be used as general purpose I/O.


My question is: how to disable EBI and use port C D as general I/O?


Please show me code if possible.


Thank you for you reply.