AnsweredAssumed Answered

Function Call inside IVOR4 Handler_MPC5777C

Question asked by Mohammed Afsar on Mar 15, 2020
Latest reply on Mar 18, 2020 by Lukas Zadrapa

Hi,

Here is my question,

1. Can i do function call inside IVOR4 handler (Prologue and Epilogue ) in MPC5777C?  similar to this Machine_Check_Handler call ?

e_lis r0, Machine_check_handler@h
e_or2i r0, Machine_check_handler@l

mtlr r0 # Store LR

 

Idea is to calculate preemption time in External Interrupts, by adding Stop Watch start and End in Prologue and Epilogue section

if it is possible, share sample code which shows function calling in Prologue/Epilogue handler.

 

Any suggestion is highly appreciated

 

Thanks,

Afsar

Outcomes