Software Requirement Reference ID : SW_INTERRUPT_FREQUENCY_TEST_01. For the DIAG_INTERRUPT_Frequency API to monitor the interrupt modules for frequency test, the modules are added to interrupt module structure using this API.
bool DIAG_INTERRUPT_Register(
diag_interrupt_id_t intrId, uint16_t refCount, uint16_t tolerance, uint16_t ftti
)
[in] intrId |
diag_interrupt_id_t
- ID for interrupt to be monitored |
[in] refCount |
uint16_t
- The expected number of interrupts within monitoring period |
[in] tolerance |
uint16_t
- Limit for deviation in the counter |
[in] ftti |
uint16_t
- Count which when reaches zero checks the interrupt frequency. If fttiCount is non-zero, that means the interrupt frequency check should be skipped for that instance and intr_counter should not be incremented |
bool | bool |