well, I am not too sure what all I have to set up. to get the edge port interrupts to work was real simple, i just used:
MCF_EPORT_EPPAR = 0
| MCF_EPORT_EPPAR_EPPA1_RISING
| MCF_EPORT_EPPAR_EPPA4_RISING
| MCF_EPORT_EPPAR_EPPA5_RISING
| MCF_EPORT_EPPAR_EPPA7_LEVEL;
mcf5xxx_set_handler(64 + 4, sw1_handler);
mcf5xxx_set_handler(64 + 5, sw2_handler);
mcf5xxx_set_handler(64 + 7, abort_handler);
mcf5xxx_irq_enable();
and that got me running on the three buttons on the eval board. now, i have tried to set up the PIT0 interrupt likewise with:
mcf5xxx_set_handler(64 + 55,quad_handler);
MCF_INTC_ICR55 = 0
| MCF_INTC_ICR_IP(6)
| MCF_INTC_ICR_IL(6); //set priorities
mcf5xxx_irq_enable();
but as of now, the system is stuck (not interrupting like it should). when i debug the program, it sits in the main loop, it is not like it runs to a bad address or something. I am using codewarrior v6.2, and I have attached my whole file for you (a little bloated, but hopefully that helps more than the cutting/pasting!)
Thanks again,
Trevor