Hi Folks,
I investigate the liblwip files (.c and .h) which is coming from TivaC driver library and targets to manage the high level initialization of LwIP, providing thread for package processing and handle MAC interrupts.
As I see, in the current implementation if an interrupt raised from the MAC controller, the interrupt handler put the interrupt status into a queue and disable any further interrupts. On the other site, an FreeRTOS thread is waiting for this queue, process the status info, and reenable interrupts.
Could anybody explain me what is the rational behind of this implemtation? Why are interrupts disabled at the end of the interrupt handler and enabled in the thread?
Regards,
Norbert