Handling of interrupts
The software components Ethernet Device Driver for Standard MAC (EDDS) and Ethernet Device Driver for IRTE (EDDI) are responsible for handling send and receive interrupts from the Ethernet adapter. To handle these interrupts, two event modes will be supported:
- Interrupt driven mode: The EDD is called every time an interrupt occurs. The interrupt triggers the event to call the EDD.
- Polling mode: The EDD is called in a cyclic manner. A polling thread triggers the event to call the EDD.
Note
The cyclic real-time-communication of the PN Driver relies on this event. If the event does not occur, the EDD cannot send any frames!
Polling mode
The sample implementation for PN Driver using the EDDS currently supports only polling mode. For polling mode, the system must fulfill the requirements for polling mode as described in section How EPS enables the event mechanism.
The sample implementation for PN Driver using the EDDI currently supports polling mode and interrupt mode for the CP1625 Host use case.