Training
×

Interrupt Thread

The second parameter in SetRtInterruptHandler specifies the maximum number of outstanding interrupt signals that can be queued before INtime disables that interrupt level.
The call to WaitForRtInterrupt enables the level when the number of outstanding interrupt signals is less than the specified maximum. 
The SetRtInterruptHandler call does not enable the interrupt level when the byMaxInt parameter is greater than zero.  This occurs when the WaitForRtInterrupt is executed the first time.