Im trying to set up the parallel port E on the rcm4010, but i cant make it work. This is my code.
WrPortI(PEDDR, &PEDDRShadow, 0x00);
WrPortI(PEDCR, &PEDCRShadow, 0x00);
lectura = BitRdPortI(PEDR, 2);
printf("Lectura datos= %d