<?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>MQX Software SolutionsのトピックRe: about _int_disable</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/about-int-disable/m-p/171441#M1970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what you really want, function _int_disable() do not mask all interrupts (it is not global interrupt mask like &lt;EM&gt;cpsid i&lt;/EM&gt;) but changing BASEPRI only. This means, you can have high priority interrupts which can't be disabled with _int_disable() but be careful, this high priority interrupt can't call any MQX function.﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Oct 2011 23:11:35 GMT</pubDate>
    <dc:creator>cyborgnegotiato</dc:creator>
    <dc:date>2011-10-03T23:11:35Z</dc:date>
    <item>
      <title>about _int_disable</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/about-int-disable/m-p/171440#M1969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find _int_disable in MQX seems not disable interrupt actually. see the following codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_int_disable();&lt;/P&gt;&lt;P&gt;for(i=0;i&amp;lt;3;i++){&lt;/P&gt;&lt;P&gt;file = fopen("a:init.txt","a+");&lt;/P&gt;&lt;P&gt;if(file!=NULL)&lt;/P&gt;&lt;P&gt;break;&lt;/P&gt;&lt;P&gt;}﻿&lt;/P&gt;&lt;P&gt;if(i==3){&lt;/P&gt;&lt;P&gt;return -1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;fseek(file,0,IO_SEEK_SET);&lt;/P&gt;&lt;P&gt;_bsp_serve_wdog();&lt;/P&gt;&lt;P&gt;i = write(file,(char*)&amp;amp;board_info,sizeof(board_info));﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;fclose(file);&lt;/P&gt;&lt;P&gt;_int_enable();﻿&lt;/P&gt;&lt;P&gt;return 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find other tasks can get cpu running after _int_disable, and if another task also call above codes, the synchronization trouble occur!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2011 22:07:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/about-int-disable/m-p/171440#M1969</guid>
      <dc:creator>bluehacker</dc:creator>
      <dc:date>2011-10-03T22:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: about _int_disable</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/about-int-disable/m-p/171441#M1970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what you really want, function _int_disable() do not mask all interrupts (it is not global interrupt mask like &lt;EM&gt;cpsid i&lt;/EM&gt;) but changing BASEPRI only. This means, you can have high priority interrupts which can't be disabled with _int_disable() but be careful, this high priority interrupt can't call any MQX function.﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2011 23:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/about-int-disable/m-p/171441#M1970</guid>
      <dc:creator>cyborgnegotiato</dc:creator>
      <dc:date>2011-10-03T23:11:35Z</dc:date>
    </item>
  </channel>
</rss>

