AnsweredAssumed Answered

How to configure GPIO as output port for MPC5604B(32 bit)

Question asked by Shri K on Mar 4, 2012
Latest reply on May 10, 2012 by Shri K

i'am new to this MPC5604B 32 bit controller.i wanted to make port F as output port.how do i make it. And i need to send 16bit data out of these port continuosly .how do i do it.Will this piece of code work.Thank you.

 

for(j=0;j<16;j++)

{

SIU.PCR[80 + j].R = 0x0200;

}

while(1)

{

SIU.PGPDO[2].R = 0x0000FFFF;

}

 

Outcomes