<?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: A question about PR_ SECTION(adcLists) in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/A-question-about-PR-SECTION-adcLists/m-p/1245779#M17752</link>
    <description>&lt;P&gt;Hello Maxuu,&lt;/P&gt;
&lt;P&gt;the expression "pr _SECTION" defines dedicated section in RAM memory for certain variables. it is defined in the Linker Files\*.prm file in project. It could be changed if needed. So if you use such SW example please ask author for detail explanation of intention of this memory organization.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stano.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 15:01:26 GMT</pubDate>
    <dc:creator>StanoA</dc:creator>
    <dc:date>2021-03-15T15:01:26Z</dc:date>
    <item>
      <title>A question about PR_ SECTION(adcLists)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/A-question-about-PR-SECTION-adcLists/m-p/1245434#M17750</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;How to understand" pr_ Section" , what is its function and where is its reference？&lt;/P&gt;&lt;P&gt;In addition, my command is three, if the result array is also three members, the program can not run, the result array must be four members，why？&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mycode about ADC0Command：&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PR_SECTION&lt;/STRONG&gt;(adcLists&lt;U&gt;)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;volatile&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;char&lt;/STRONG&gt;&amp;nbsp;ADC0CommandList[3][4] = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{0x40,0xD2,0x10,0x00},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{0x00,0xCB,0x00,0x00},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{0xC0,0xD3,0x00,0x00}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mycode about ADC0Result：&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;volatile&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;unsigned&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;short&lt;/STRONG&gt;&amp;nbsp;ADC0ResultList[4] = {0, 0, 0, 0};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;volatile&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;unsigned&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;short&lt;/STRONG&gt;&amp;nbsp;ADC1ResultList[4] = {0, 0, 0, 0};&lt;/P&gt;&lt;P&gt;Why should the members of the result array be larger than those of the command array in order for the program to run normally？&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 07:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/A-question-about-PR-SECTION-adcLists/m-p/1245434#M17750</guid>
      <dc:creator>maxxu</dc:creator>
      <dc:date>2021-03-15T07:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: A question about PR_ SECTION(adcLists)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/A-question-about-PR-SECTION-adcLists/m-p/1245779#M17752</link>
      <description>&lt;P&gt;Hello Maxuu,&lt;/P&gt;
&lt;P&gt;the expression "pr _SECTION" defines dedicated section in RAM memory for certain variables. it is defined in the Linker Files\*.prm file in project. It could be changed if needed. So if you use such SW example please ask author for detail explanation of intention of this memory organization.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stano.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 15:01:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/A-question-about-PR-SECTION-adcLists/m-p/1245779#M17752</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-03-15T15:01:26Z</dc:date>
    </item>
  </channel>
</rss>

