<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Function Call inside IVOR4 Handler_MPC5777C in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Function-Call-inside-IVOR4-Handler-MPC5777C/m-p/1032561#M8207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2020 12:35:10 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2020-03-18T12:35:10Z</dc:date>
    <item>
      <title>Function Call inside IVOR4 Handler_MPC5777C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Function-Call-inside-IVOR4-Handler-MPC5777C/m-p/1032560#M8206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is my question,&lt;/P&gt;&lt;P&gt;1. Can i do function call inside IVOR4 handler (Prologue and&amp;nbsp;Epilogue ) in MPC5777C?&amp;nbsp; similar to this Machine_Check_Handler call ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;e_lis r0, Machine_check_handler@h&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_or2i r0, Machine_check_handler@l&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mtlr r0 # Store LR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Idea is to calculate preemption time in External Interrupts, by adding Stop Watch start and End in Prologue and Epilogue section&lt;/P&gt;&lt;P&gt;if it is possible, share&amp;nbsp;sample code which shows function calling in &lt;SPAN&gt;Prologue&lt;/SPAN&gt;/&lt;SPAN&gt;Epilogue&lt;/SPAN&gt;&amp;nbsp;handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Any suggestion is highly appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Afsar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Mar 2020 14:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Function-Call-inside-IVOR4-Handler-MPC5777C/m-p/1032560#M8206</guid>
      <dc:creator>afsar_mohammed</dc:creator>
      <dc:date>2020-03-15T14:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function Call inside IVOR4 Handler_MPC5777C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Function-Call-inside-IVOR4-Handler-MPC5777C/m-p/1032561#M8207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 12:35:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Function-Call-inside-IVOR4-Handler-MPC5777C/m-p/1032561#M8207</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-03-18T12:35:10Z</dc:date>
    </item>
  </channel>
</rss>

