Content originally posted in LPCWare by thieulam on Sun Jun 14 01:20:13 MST 2015
Hello!
I'm working with ethernet mac module inside the LPC2468.(i use iar for arm v6.5).
I need a interrupt service routine for the RxDone event.
It works, but i have a problem clearing the interrupt flag.
All works if i clear the flag with:
void EthRxIntrHandler (void)
{
INTCLEAR=0x0f; //THIS CLEAR 4 FLAGS!!
VICADDRESS = 0;
}
But NOT with:
void EthRxIntrHandler (void)
{
INTCLEAR_bit.RXDONEINTCLR=1;
VICADDRESS = 0;
}
Can you help me?
Regards , Luca