Hi,
My customer is evaluating LwIP demo code downloaded from below.
https://git.ti.com/cgit/hercules_examples/hercules_examples/tree/Application/LwIP?h=master
In the below file, line#13 and later;
\hercules_examples-master\Application\ActiveWebserver\1.1.0\utils\lwiplib.c
lwIPTimer(void) { // // Increment the lwIP Ethernet timer. // EMACTxIntPulseDisable(EMAC_0_BASE, EMAC_CTRL_0_BASE, 0, 0); EMACRxIntPulseDisable(EMAC_0_BASE, EMAC_CTRL_0_BASE, 0, 0); g_ui32LocalTimer += 10; lwIPServiceTimers(); EMACTxIntPulseEnable(EMAC_0_BASE, EMAC_CTRL_0_BASE, 0, 0); EMACRxIntPulseEnable(EMAC_0_BASE, EMAC_CTRL_0_BASE, 0, 0); }
What below four functions do and why they are needed?
EMACTxIntPulseDisable()
EMACRxIntPulseDisable()
EMACTxIntPulseEnable()
EMACRxIntPulseEnable()
Thanks and regards,
Koichiro Tashiro