This file contains data structures and API prototypes for Interrupt Frequency Test.
This enumeration holds the status of interrupt frequency test.
This enumeration indicates if interrupt is being monitored or is being ignored for monitoring. In case if there is a failure detected for any interrupt monitoring, diagnostics test will stop monitoring that interrupt anymore by setting this variable to DIAG_INTR_OFF.
0 - Interrupt test is passed | |
1 - Interrupt test is failed | |
2 - Interrupt test is invalid |
0 - Interrupt is registered and being monitored | |
1 - Interrupt is registered but not being monitored |
[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 |
[in] intrId |
diag_interrupt_id_t
- ID for the interrupt to be unregistered |
bool | bool |
void |
void | None |
[in] intrId |
diag_interrupt_id_t
- ID for the interrupt to be updated. |
void | None |
[in] intrId |
diag_interrupt_id_t
- ID of the interrupt for which test status is requested. |
diag_interrupt_test_status_t | DIAG_INTR_PASS - Success, DIAG_INTR_FAIL - Failure, DIAG_INTR_INVALID - Indeterminate |