<?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>SensorsのトピックRe: FXTH871 Interrupt Enable/Disable Question</title>
    <link>https://community.nxp.com/t5/Sensors/FXTH871-Interrupt-Enable-Disable-Question/m-p/807237#M5181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the S08 microcontroller, clearing the interrupt mask bit (CLI) enables the interrupts and setting the interrupt mask bit (SEI) disables the interrupts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Disabling the interrupts will not prevent a wake up from STOP1 but will prevent the execution of the interrupt vector: the FXTH will wake up from STOP1 even if the interrupts are disabled, but the interrupt vector will be not be accessed after the device wakes up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not possible to keep the FXTH in STOP1 indefinitely, the FXTH will always wake up on a PWU interrupt. The PWU cannot be disabled, but can be configured to the maximum period in order to wake up with the longest period possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2018 07:56:27 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2018-07-16T07:56:27Z</dc:date>
    <item>
      <title>FXTH871 Interrupt Enable/Disable Question</title>
      <link>https://community.nxp.com/t5/Sensors/FXTH871-Interrupt-Enable-Disable-Question/m-p/807236#M5180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking through the code for the FXTH871, and I noticed that the code has this defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define EnableInterrupts __asm CLI /*!&amp;lt; Macro to enable all interrupts. */&lt;BR /&gt;#define DisableInterrupts __asm SEI /*!&amp;lt; Macro to disable all interrupts. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLI means Clear Interrupts in Assembly&lt;BR /&gt;SEI means Set Interrupts in Assembly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shouldn't these be reversed?&amp;nbsp; Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I was wondering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable all interrupts, and then call STOP1, can I keep the device disabled until I clock the Reset Pin?&amp;nbsp; I want to keep it in STOP1 indefinitely, until I trigger the Reset Pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXTH871-Interrupt-Enable-Disable-Question/m-p/807236#M5180</guid>
      <dc:creator>csaunders9526</dc:creator>
      <dc:date>2026-02-03T21:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: FXTH871 Interrupt Enable/Disable Question</title>
      <link>https://community.nxp.com/t5/Sensors/FXTH871-Interrupt-Enable-Disable-Question/m-p/807237#M5181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the S08 microcontroller, clearing the interrupt mask bit (CLI) enables the interrupts and setting the interrupt mask bit (SEI) disables the interrupts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Disabling the interrupts will not prevent a wake up from STOP1 but will prevent the execution of the interrupt vector: the FXTH will wake up from STOP1 even if the interrupts are disabled, but the interrupt vector will be not be accessed after the device wakes up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not possible to keep the FXTH in STOP1 indefinitely, the FXTH will always wake up on a PWU interrupt. The PWU cannot be disabled, but can be configured to the maximum period in order to wake up with the longest period possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 07:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXTH871-Interrupt-Enable-Disable-Question/m-p/807237#M5181</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2018-07-16T07:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: FXTH871 Interrupt Enable/Disable Question</title>
      <link>https://community.nxp.com/t5/Sensors/FXTH871-Interrupt-Enable-Disable-Question/m-p/807238#M5182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Tomas.&amp;nbsp; I really appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 17:07:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXTH871-Interrupt-Enable-Disable-Question/m-p/807238#M5182</guid>
      <dc:creator>csaunders9526</dc:creator>
      <dc:date>2018-07-16T17:07:00Z</dc:date>
    </item>
  </channel>
</rss>

