<?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 How to pause interrupts in S32K144 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678885#M916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to pause interrupts in S32K144&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2017 01:26:47 GMT</pubDate>
    <dc:creator>panda_fei</dc:creator>
    <dc:date>2017-06-30T01:26:47Z</dc:date>
    <item>
      <title>How to pause interrupts in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678885#M916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to pause interrupts in S32K144&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 01:26:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678885#M916</guid>
      <dc:creator>panda_fei</dc:creator>
      <dc:date>2017-06-30T01:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to pause interrupts in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678886#M917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can disable and enable interrupts using functions from fsl_core_cm4.h (S32 Design studio).&lt;/P&gt;&lt;P&gt;ENABLE_INTERRUPTS();&amp;nbsp;&amp;nbsp; // &amp;nbsp;or __asm("&lt;SPAN style="text-decoration: underline;"&gt;cpsie&lt;/SPAN&gt; i");&lt;/P&gt;&lt;P&gt;DISABLE_INTERRUPTS();&amp;nbsp; // &amp;nbsp;or __asm("&lt;SPAN style="text-decoration: underline;"&gt;cpsid&lt;/SPAN&gt; i");&lt;/P&gt;&lt;P&gt;If you disable interrupts, pending interrupts will not be executed until they are enabled again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 18:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678886#M917</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-07-02T18:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to pause interrupts in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678887#M918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;If I disable to interrupt, will the registers about&amp;nbsp; interrupt(like ISER ,ISPR,IABR...) be cleared?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;pause interrupt means disable the interrupt ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 01:44:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678887#M918</guid>
      <dc:creator>panda_fei</dc:creator>
      <dc:date>2017-07-03T01:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to pause interrupts in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678888#M919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the DISABLE_INTERRUPTS() function only masks interrupts by setting PRIMASK.&amp;nbsp;So it actually doesn’t disable interrupt but if a interrupt flag is set, this interrupt will not be executed, it will become a pending interrupt. So the only registers that will be affected are ISPR (Interrupt Set Pending Register) and ICPR (Interrupt Clear Pending Register). Pending interrupts will be then executed as soon as the PRIMASK is cleared by using the ENABLE_INTERRUPTS() function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a core function, so you may refer to ARM Cortex M4 documentation for more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 19:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-pause-interrupts-in-S32K144/m-p/678888#M919</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-07-03T19:54:15Z</dc:date>
    </item>
  </channel>
</rss>

