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
Hi,
you can jump to a function once necessary content is saved to stack. That means after execution of prologue and before jumping to ISR handler. That also means that if you call the function at beginning of an ISR and at the end, effect will be the same.
Regards,
Lukas