Network Packet Transmission Overview
A device’s transmit complete interrupt signals μC/TCP-IP that another transmit packet is available to be transmitted or be queued for transmit by the device.
Figure 7-3 The figure below shows the relationship between a device’s transmit complete interrupt, its transmit complete ISR handling and μC/TCP-IP’s network interface transmit.
Panel |
---|
...
|
...
|
...
|
...
Panel | ||
---|---|---|
| ||
(1) The μC/TCP-IP’s Network Interface Transmit calls |
...
(2) When a device is ready and/or available to transmit a packet, the device generates an interrupt which calls the device’s BSP-level ISR handler. |
...
(3) The device’s BSP-level ISR handler determines which network interface number the specific device’s interrupt is signaling and then calls |
...
(4) The specific device ISR handlers |
...
(5) μC/TCP-IP’s Network Interface Transmit’s call to |
...
(6) The Network Interface Transmit then calls the specific network interface and device transmit handler functions to prepare the packet for transmission by the device. |