Training
×

Shared Interrupts

In some PCs a single hardware interrupt line is shared with multiple interrupt sources. When a shared line signals an interrupt, all connected handlers must be executed to probe their device. INtime allows interrupt sharing only if all handlers are on the RT side (Windows itself allows interrupt sharing if all handlers are in Windows, so a single interrupt line can not be shared between Windows and RT).
To set up shared interrupt handling, the handler must be installed using the SetRtInterruptHandlerEx function. When a shared interrupt occurs, each handler is called from a system handler. The INtime Application wizard can generate the necessary code for sharing interrupts.