This example demonstrates High and Low priority events received from the MCU_ESM through the application-registered callback. It also shows routing and clearing of events to the MCU_SAFETY_ERRORn pin.
ESM Example Application
TIMER_ESM_init: Init MCU ESM complete
ESM example init complete
Any clear of MCU_SAFETY_ERRORn pin will first wait 10 usecs
Minimum Time Interval is 2000 usecs
ESM timer initialization complete
Starting Test Case 0
Use Case 0 completed: Input Event Trigger = Step completed successfully,
Event Handler Complete = Step completed successfully,
MCU_SAFETY_ERRORn Pin Clear = Step completed successfully
Starting Test Case 1
Use Case 1 completed: Input Event Trigger = Step completed successfully,
Event Handler Complete = Step completed successfully,
MCU_SAFETY_ERRORn Pin Clear = Step completed successfully
Starting Test Case 2
Use Case 2 completed: Input Event Trigger = Step completed successfully,
Event Handler Complete = Step completed successfully,
MCU_SAFETY_ERRORn Pin Clear = Step completed successfully
ESM Example Application summary
-------------------------------
Completed 3 Test Cases
Received 1 High Priority Interrupts
Received 1 Low Priority Interrupts
Received 1 Config Priority Interrupts
Test Case Event Log
------------------
Test Case 0: ESM Call back function called : grpChannel 0x2, index 0x1, intSrc 0x41
ESM instance #1, ESM interrupt type = High Priority ESM event
Test Case 1: ESM Call back function called : grpChannel 0x1, index 0x0, intSrc 0x0
ESM instance #1, ESM interrupt type = Config ESM event
Test Case 2: ESM Call back function called : grpChannel 0x1, index 0x3, intSrc 0x23
ESM instance #1, ESM interrupt type = Low Priority ESM event
ESM Example Application: Complete
All tests have passed!!