You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

doc.txt 718B

1234567891011121314151617181920212223242526272829303132333435
  1. lwip/api/tcpip.c: tcpip_init -> tcpip_thread
  2. lwip/core/netif.c: netif_add
  3. lwip/arch/lpc17_emac.c: lpc_enetif_init -> packet_rx, packet_tx
  4. === tcpip_thread ===
  5. while (true):
  6. sys_timeouts_mbox_fetch(&mbox, (void **)&msg)
  7. ...
  8. Feeding the tcpip_thread mbox:
  9. tcpip_input
  10. tcpip_callback_with_block
  11. tcpip_timeout
  12. tcpip_untimeout
  13. tcpip_apimsg
  14. tcpip_netifapi
  15. === packet_rx ===
  16. while (true):
  17. sys_arch_sem_wait(&lpc_enetif->RxSem, osWaitForever)
  18. ...
  19. Feeding the RX semaphore:
  20. ENET_IRQHandler
  21. === packet_tx ===
  22. while (true):
  23. sys_arch_sem_wait(&lpc_enetif->TxCleanSem, osWaitForever)
  24. ...
  25. Feeding the TX semaphore:
  26. ENET_IRQHandler