<?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: MPC5744 MSR Register Reading in C Program in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5744-MSR-Register-Reading-in-C-Program/m-p/968256#M5438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;Thanks for the hint.&lt;/P&gt;&lt;P&gt;I'll try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2019 12:02:55 GMT</pubDate>
    <dc:creator>juliusjai</dc:creator>
    <dc:date>2019-08-30T12:02:55Z</dc:date>
    <item>
      <title>MPC5744 MSR Register Reading in C Program</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5744-MSR-Register-Reading-in-C-Program/m-p/968254#M5436</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;Does anybody know how to implement in C program the reading of MPC5744&amp;nbsp;- Machine State Register (MSR) register?&lt;/P&gt;&lt;P&gt;I need this for the Critical Section implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87213iE8E5C15AC4BC2357/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 07:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5744-MSR-Register-Reading-in-C-Program/m-p/968254#M5436</guid>
      <dc:creator>juliusjai</dc:creator>
      <dc:date>2019-08-08T07:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744 MSR Register Reading in C Program</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5744-MSR-Register-Reading-in-C-Program/m-p/968255#M5437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried asm("mfmsr 4") so that register 4 will hold MSR value ?&lt;/P&gt;&lt;P&gt;You have to use extended inline assembler syntax to read the value in C variable (&lt;A class="link-titled" href="https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html" title="https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html"&gt;Using the GNU Compiler Collection (GCC): Extended Asm&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 18:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5744-MSR-Register-Reading-in-C-Program/m-p/968255#M5437</guid>
      <dc:creator>alexanderfedoto</dc:creator>
      <dc:date>2019-08-08T18:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744 MSR Register Reading in C Program</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5744-MSR-Register-Reading-in-C-Program/m-p/968256#M5438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;Thanks for the hint.&lt;/P&gt;&lt;P&gt;I'll try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 12:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5744-MSR-Register-Reading-in-C-Program/m-p/968256#M5438</guid>
      <dc:creator>juliusjai</dc:creator>
      <dc:date>2019-08-30T12:02:55Z</dc:date>
    </item>
  </channel>
</rss>

