<?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>Kinetis Microcontrollersのトピック(void)</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481909#M29481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt; &lt;SPAN class="hps"&gt;in a program that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;runs the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ASL&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;MK10&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the following statement&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;appears&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that I can not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;understand&lt;/SPAN&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt; &lt;SPAN class="hps atn"&gt;if (&lt;/SPAN&gt;uart-&amp;gt; &lt;SPAN class="hps"&gt;S1&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;UART_S1_RDRF_MASK&lt;/SPAN&gt;) &lt;SPAN class="hps atn"&gt;{&lt;/SPAN&gt;(void) &lt;SPAN class="hps"&gt;uart-&lt;/SPAN&gt;&amp;gt; &lt;SPAN class="hps"&gt;D&lt;/SPAN&gt;;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt; &lt;SPAN class="hps"&gt;I do not know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;what&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;means the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(void&lt;/SPAN&gt;). &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;explain?&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 07:27:36 GMT</pubDate>
    <dc:creator>nikivendola</dc:creator>
    <dc:date>2016-03-16T07:27:36Z</dc:date>
    <item>
      <title>(void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481909#M29481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt; &lt;SPAN class="hps"&gt;in a program that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;runs the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ASL&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;MK10&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the following statement&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;appears&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that I can not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;understand&lt;/SPAN&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt; &lt;SPAN class="hps atn"&gt;if (&lt;/SPAN&gt;uart-&amp;gt; &lt;SPAN class="hps"&gt;S1&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;UART_S1_RDRF_MASK&lt;/SPAN&gt;) &lt;SPAN class="hps atn"&gt;{&lt;/SPAN&gt;(void) &lt;SPAN class="hps"&gt;uart-&lt;/SPAN&gt;&amp;gt; &lt;SPAN class="hps"&gt;D&lt;/SPAN&gt;;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt; &lt;SPAN class="hps"&gt;I do not know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;what&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;means the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(void&lt;/SPAN&gt;). &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;explain?&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 07:27:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481909#M29481</guid>
      <dc:creator>nikivendola</dc:creator>
      <dc:date>2016-03-16T07:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: (void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481910#M29482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello niki,&lt;/P&gt;&lt;P&gt;I think this is just read the D register , the aim&amp;nbsp; is clear the RDRF Flag.&lt;/P&gt;&lt;P&gt;You can see this in the RM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23531iAEA3F5BEDABFF53D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you can confirm it through the your project .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 07:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481910#M29482</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-16T07:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: (void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481911#M29483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Yes&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;this is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ok&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but do not understand&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;void&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;put&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the brackets&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;And&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;'&lt;/SPAN&gt;an &lt;SPAN class="hps"&gt;education&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that I never&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;found&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;What does&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481911#M29483</guid>
      <dc:creator>nikivendola</dc:creator>
      <dc:date>2016-03-16T09:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: (void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481912#M29484</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;SPAN lang="en"&gt;&lt;SPAN class="hps atn"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;uart-&lt;/SPAN&gt;&amp;gt;&lt;SPAN class="hps"&gt;D;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;causes a read of the register D to take place. However, the compiler will often generate a warning because the read value is not being used.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps atn"&gt;&lt;/SPAN&gt;(void) &lt;SPAN class="hps"&gt;uart-&lt;/SPAN&gt;&amp;gt;&lt;SPAN class="hps"&gt;D;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;does the same but stops the compiler generating the warning.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Therefore the (void) cast is used to quieten the compiler.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Mark&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 13:59:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481912#M29484</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-03-16T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: (void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481913#M29485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;The&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(void&lt;/SPAN&gt;) &lt;SPAN class="hps"&gt;is used&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;only in this case&lt;/SPAN&gt;, or &lt;SPAN class="hps"&gt;may&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have other&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;uses&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;Thank you and greetings&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 14:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481913#M29485</guid>
      <dc:creator>nikivendola</dc:creator>
      <dc:date>2016-03-16T14:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: (void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481914#M29486</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;The use of (void) is explained (in German) at &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=https%3A%2F%2Fde.wikipedia.org%2Fwiki%2FVoid_%2528Schl%25C3%25BCsselwort%2529" rel="nofollow" target="_blank"&gt;https://de.wikipedia.org/wiki/Void_%28Schl%C3%BCsselwort%29&lt;/A&gt;&lt;/P&gt;&lt;P&gt;with links to further details in the C-programming guides/books.&lt;/P&gt;&lt;P&gt;These are the best sources for such a topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 14:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481914#M29486</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-03-16T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: (void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481915#M29487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;ok&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;also&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;recommend a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;guide for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;learning the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;interrupt handling&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;freescale&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 16:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481915#M29487</guid>
      <dc:creator>nikivendola</dc:creator>
      <dc:date>2016-03-16T16:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: (void)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481916#M29488</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;&lt;SPAN&gt;The ARM web site gives details of the Cortex interrupt handling and this is the best source for core-related details: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Finfocenter.arm.com%2Fhelp%2Findex.jsp%3Ftopic%3D%2Fcom.arm.doc.ddi0439b%2FCHDIHEAF.html" rel="nofollow" target="_blank"&gt;http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/CHDIHEAF.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Kinetis peripheral details (including interrupt and DMA operation) the Kinetis user manual should be used.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For most practical learning and efficient developments the uTasker project allows all the details to be simulated and studied (from NVIC through peripherals, interrupts and DMA to full project simulation without the normal guessing games): eg. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K60N512.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60N512.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:48:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/void/m-p/481916#M29488</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-03-16T20:48:09Z</dc:date>
    </item>
  </channel>
</rss>

