ModusToolbox Safety Test Library
Loading...
Searching...
No Matches
INTR (INTR STL module)

General Description

To meet the Class B requirement, check the interrupt for “incorrect frequency”.

This test is a highly system dependent and therefore the STL can only contribute the wrap up handle, which checks that a number of specific interrupts occurred at least and at most a predefined number of times.

More Information

It is assumed that Interrupt_Test (interrupt test function) is called periodically, e.g. triggered by a timer or constantly in the main loop. Each specific interrupt handler to be supervised must decrement a dedicated global variable (freq), InterruptTest(), compares that variable to predefined upper and lower bounds, returns an error, if the limits are exceeded.

API Reference

 Macros
 
 Functions