 
					
				
		
#include <stdio.h>#include "common.h"#include "m52233DEMO.h"int main() {    MCF_GPIO_DDRTA = 0; // Inputs    MCF_GPIO_PTAPAR = 0; // GPIO Pins    MCF_GPIO_PTCPAR = 0; // GPIO Pins    MCF_GPIO_DDRTC = 0x0F; // Outputs    MCF_GPIO_PORTTC = 0; // Turn LEDs off    while (1) {        uint8 ta, tc;        ta = MCF_GPIO_PORTTA;        tc = 0;        if (ta&1) tc |= 1;        if (ta&2) tc |= 2;        if (ta&4) tc |= 4;        if (ta&8) tc |= 8;        MCF_GPIO_PORTTC = tc;    }} 
					
				
		
 
					
				
		
