AnsweredAssumed Answered

Initialize GPIO

Question asked by Blake Hodder on Feb 25, 2013
Latest reply on Feb 25, 2013 by TomE

I am new to freescale and am trying to initialize GPIO pins without using MQX. I am trying to initialize the data direction of the ports with the following:

 

MCF_GPIO_DDRTI_DDRTI0,MCF_GPIO_DDRTI = 0;

 

this does not seem to work. Could someone point me in the right direction as to how to accomplish this. I am use to using PICs and the TRIS register.

 

Thanks,

 

Blake

Outcomes