Document API IEC60730 Library
|
#include <sl_iec60730.h>
Public Attributes | |
volatile SL_IEC60730_IRQ_TYPE_VARIABLE * | irq_count |
const sl_iec60730_irq_execution_bounds_t * | irq_bounds |
uint8_t | size |
Struct contains a pointer variable point to the number of execution interrupts and the boundary of each interrupt count variable. OEMs use this structure to init value. Defines SL_IEC60730_IRQ_TYPE_VARIABLE using for set type variable irq_count. This count is used by the test to step through each entry in irq_bounds to determine if the count for each interrupt exceeds expected min/max bounds. OEM code is responsible for incrementing irq_count of this array corresponding to the IRQ described by the corresponding element in irq_bounds. The incrementing instruction should only be placed inside the IRQ referred to by the element. The element will be reset to 0 by the interrupt plausibility check executing in sl_iec60730_test_clock_tick(). The interrupt plausibility test, which executes at the end of a test clock period, compares the number of ISR executions for each ISR as defined in the irq_count array. A count outside the defined bounds results in a safe state entry.