> "The PPDSDR registers reflect the current pin states ... when the pin is configured for GPIO."
I read that as "as compared to the pin being programmed to ALT1 or ALT2 in PAR_IRQ0H & PAR_IRQ0L".
Since you're not programming it as ALT1 or ALT2, as far as that chapter is concerned it should still be a GPIO pin.
The pin assignments work differently on different "families" of ColdFire chips. Some/many of the MCF51 work the same way the MC68HC11 did, which is that simply enabling a peripheral (like a UART) is enough for the pins to stop being GPIO and start being UART pins. The MCF52 and MCF53 have pin assignment registers that are independent of the peripherals being enabled or not. Often there can be multiple input pins that can be selected as an input to a peripheral (you can only have one) and multiple outputs (maybe you can have more than one). Sometimes the GPIO Input still works when a pin is reassigned. But the manuals don't detail this very well, You either "just have to know" or you have to reverse-engineer the internal design by writing test code. It would be a lot easier if the manuals had a "pin connection schematic"
Section 18.1 has a NOTE: "The GPIO module must be configured to enable the peripheral function of the appropriate pins", but there is no "Edge Port Peripheral" selection in that chapter for these pins. There's only GPIO, DSP/DREQ or USB.
The MCF54455 Manual has the same modules in it, but in "16.3.5.13 IRQ Pin Assignment Register (PAR_IRQ)" it says "pin configured as GPIO or external interrupt request 4 function as determined by the edge port module", which the MCF54415 manual doesn't say. It doesn't detail what "determines" what the pin does though, and my Rev 5 of that manual has corrupted graphics in the EPORT Block Diagram with the EPDDR graphic being two pages away from the main diagram.
> Once I set the GPIO as IRQ,
> > So did you find that simple ENABLING the interrupt in "... (EPIER)" stops the pin from working as a GPIO?
Is that the register that change it, or is there something else, like changing EPPAR to an Edge Mode? How did you "set the GPIO as IRQ," Simply enabling an interrupt on a GPIO pin (when the GPIO module supports interrupts) doesn't stop the GPIO from working. But this chip is different.
The RGPIO module has a register (16.3.4 RGPIO Pin Enable (RGPIO_ENB)) that is documented to change a pin from GPIO to RGPIO, but the Edge Port module isn't as clear.
Tom