Address line configuration setting in GPIF Designer | Cypress Semiconductor
Support & Community
Address line configuration setting in GPIF Designer
I am using the GPIF Designer. I use PE7 for another hardware function . I have 'right-clicked' in the Block Diagram tab and cleared the ADR8 box (the line went grey). But when I look at the gpif.c file generated I see:
// Configure GPIF Address pins, output initial value,
PORTCCFG = 0xFF; // [7:0] as alt. func. GPIFADR[7:0]
OEC = 0xFF; // and as outputs
PORTECFG |= 0x80; //  as alt. func. GPIFADR
OEE |= 0x80; // and as output
This seems to be setting PE7 as an output (I need it as an input). I can obviously manually edit gpif.c, but if someone modifies the design later and regenerates gpif.c this will cause a problem.
Is there a way to stop GPIF Designer from affecting PE7?