ModusToolbox Safety Test Library
Loading...
Searching...
No Matches

General Description

Functions

uint8_t SelfTest_Interrupt (TCPWM_Type *base, uint32_t cntNum)
 This function performs the interrupt execution self test.
void SelfTest_Interrupt_ISR_TIMER (void)
 Handle Interrupt Service Routine.

Function Documentation

◆ SelfTest_Interrupt()

uint8_t SelfTest_Interrupt ( TCPWM_Type * base,
uint32_t cntNum )

This function performs the interrupt execution self test.

This function checks the interrupt isr from Timer.

Parameters
baseThe pointer to a TCPWM instance
cntNumThe Counter instance number in the selected TCPWM
Note
Use a TCPWM counter and interrupt source dedicated to this self-test. The application must route the selected counter interrupt to SelfTest_Interrupt_ISR_TIMER, and the counter interrupt state is consumed by the test.
Returns
OK_STATUS (0) - Test passed
ERROR_STATUS (1) - Test failed

◆ SelfTest_Interrupt_ISR_TIMER()

void SelfTest_Interrupt_ISR_TIMER ( void )

Handle Interrupt Service Routine.

Source - Timer.