<?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: LPC55S69 : POWER_EnterPowerDown() preconditions in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001755#M39352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you enter the device into Power-down, the chip it is only working with the sufficient&amp;nbsp; modules to prevent to return from this mode, it is like in your Laptop if you put the device, not in sleep but you go into Power Down, but not shut off, so you cannot enter in Power Down if you disable the interrupts even in unprivileged or handle mode.&amp;nbsp; Regarding the SRAM, you should allocate only the interrupts that you plan to use to restart from Power-down in the SRAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2020 23:34:42 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2020-02-04T23:34:42Z</dc:date>
    <item>
      <title>LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001754#M39351</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;it is not so clear from UM if&amp;nbsp;&lt;STRONG&gt;POWER_EnterPowerDown()&lt;/STRONG&gt; can be called when&amp;nbsp; all &lt;STRONG&gt;interrupts is disabled&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;by&amp;nbsp;_disable_irq() or when CPU run in &lt;STRONG&gt;unprivileged&lt;/STRONG&gt; or handler mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is important to undestand at what place of FreeRTOS framework I can call this function and where is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in remark mentioned :&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;The HARD FAULT handler should execute from SRAM and not from Flash. (The hard&lt;BR /&gt;fault handler should initiate a full chip reset).&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;I can allocate HF handler in SRAM but will it work or I should allocate entire Interrupt table in SRAM and modify VTOR ?&lt;/P&gt;&lt;P&gt;or handler is enough ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2020 19:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001754#M39351</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-01-25T19:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001755#M39352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you enter the device into Power-down, the chip it is only working with the sufficient&amp;nbsp; modules to prevent to return from this mode, it is like in your Laptop if you put the device, not in sleep but you go into Power Down, but not shut off, so you cannot enter in Power Down if you disable the interrupts even in unprivileged or handle mode.&amp;nbsp; Regarding the SRAM, you should allocate only the interrupts that you plan to use to restart from Power-down in the SRAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 23:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001755#M39352</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2020-02-04T23:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001756#M39353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/soledad"&gt;soledad&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I' using&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;POWER_EnterPowerDown()&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; in secure side via NSC call from Nonsecure side.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;and secure and nonsecure interrupts are used as wakeup sources.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;_disable_irq() is called on nonsecure side&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;and&amp;nbsp;secureportDISABLE_SECURE_INTERRUPTS(); can be called on Secure side.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;But looks like it is dosn't matter -&amp;gt; wakeup happens in any case.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;in UM mantioned that API manipulate with NVIC-&amp;gt;ISER and may be they need privileged access as well.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Also POWER_API code located in ROM what also need to have Secure attributes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;So there are a lot of limitations if API should be used in real system.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;May be if I use secure and nonsecure interrupts for wakeup I should allocate call on Secure side.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;But it would be nice to understand&amp;nbsp;all limitation/preconditions for this API from UM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Regards !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Eugene&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 12:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001756#M39353</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-02-05T12:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001757#M39354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply. I will be taking over this case, you are correct POWER_EnterPowerDown API modifies NVIC-&amp;gt;ISER so if you disable interrupts before calling it, the API will set their interrupt wake-up source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 15:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001757#M39354</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-02-13T15:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001758#M39355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/nxf46115"&gt;nxf46115&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling this API on secure side and what is not clear if it manipulate with global interrupt enable as well.&lt;/P&gt;&lt;P&gt;Some wake up interrupts processed on secure side and some of those on nonsecure side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it be like this :&lt;/P&gt;&lt;P&gt;at entry to&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;POWER_EnterPowerDown&lt;SPAN&gt;&amp;nbsp;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;- enable all interrupts what is need for wakeup ( secure and nonsecure side)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;- enable global interrupts , secure and nonsecure side.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;---&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;at exit :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;- disable global interrupts if the were disabled at entry point&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;- disable wakeup interrupts if they were disabled at entry to this API.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;So at exit API return back all interrupts registers to state what were at entry moment.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Can it be so ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Or it manipulate with local/global interrupt in other way ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Eugene&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 06:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001758#M39355</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-02-17T06:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001759#M39356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The User Manual states the following:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;• CPU0 interrupt enable registers (NVIC-&amp;gt;ISER) are modified by POWER_EnterDeepSleep, POWER_EnterPowerDown, and POWER_EnterDeepPowerDown power APIs. They are restored in case of CPU retention (deep-sleep and in power-down) or if the low power mode is not entered (for example, a pending interrupt).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;• The Non Maskable Interrupt (NMI) is disabled and its configuration before calling this function will be restored back in case of CPU retention – deep-sleep and in power-down - or if the low power mode is not entered (for instance because an interrupt is pending).&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You are correct, API should return back all interrupts registers to their initial state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:24:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001759#M39356</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-02-20T17:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001760#M39357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/felipegsoto"&gt;felipegsoto&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what about global interrupt on secure and nonsecure side ?&lt;/P&gt;&lt;P&gt;Can they be disabled or must be enabled or how PowerDown API handle PRIMASK register ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 07:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001760#M39357</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-02-21T07:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001761#M39358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer to the POWER_EnterSleep implementation in user manual. This will give you an idea if how POWER API handles global interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;POWER_EnterSleep&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
   uint32_t pmsk&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
   pmsk &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;__get_PRIMASK&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* Save interrupt configuration */&lt;/SPAN&gt;
   &lt;SPAN class="token function"&gt;__disable_irq&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* Disable all interrupts */&lt;/SPAN&gt;
   SCB&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;SCR &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;SCB_SCR_SLEEPDEEP_Msk&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* processor uses sleep */&lt;/SPAN&gt;
   &lt;SPAN class="token function"&gt;__WFI&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* Enter sleep mode */&lt;/SPAN&gt;
   &lt;SPAN class="token function"&gt;__set_PRIMASK&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pmsk&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;/* Restore interrupt configuration */&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 16:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001761#M39358</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-02-26T16:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001762#M39359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/felipegsoto"&gt;felipegsoto&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what about PowerDown API call on Secure side ?&lt;/P&gt;&lt;P&gt;Does it handle Secure and Nonsecure global interrupts in similar way ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2020 09:47:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001762#M39359</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-02-28T09:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : POWER_EnterPowerDown() preconditions</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001763#M39360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be similar way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 22:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-POWER-EnterPowerDown-preconditions/m-p/1001763#M39360</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-03-03T22:09:25Z</dc:date>
    </item>
  </channel>
</rss>

