3.3.24.1 Functions
-
bool DIAG_INTERRUPT_Register (diag_interrupt_id_t id, uint16_t refCount, uint16_t tolerance, uint16_t fdtiCount)
This API registers an interrupt for diagnosis. When any interrupt is registered, diag_interrupt_params_t parameters are initialized with user defined values and are later updated or monitored by DIAG_INTERRUPT_Frequency function. .
-
void DIAG_INTERRUPT_Initialize (void)
This API configures the callback function for reference periodic interrupt, and starts the reference timer.
-
void DIAG_INTERRUPT_UpdateInterruptCounter (diag_interrupt_id_t id)
This API increments the intr_counter for the registered interrupt.
-
diag_interrupt_test_status_t DIAG_INTERRUPT_GetResult (diag_interrupt_id_t id)
This API returns the result frequency diagnosis for required interrupt.
-
bool DIAG_INTERRUPT_Unregister (diag_interrupt_id_t id)
This API unregisters an interrupt from frequency diagnosis.