<?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>MCUXpresso GeneralのトピックRe: REGISTER ACCESS IN MCUXPRESSO</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/1475685#M4636</link>
    <description>&lt;P&gt;sir i have problem in register read in MKV6F16 controller card&lt;/P&gt;&lt;P&gt;problem like hard fault&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 03:32:23 GMT</pubDate>
    <dc:creator>k1</dc:creator>
    <dc:date>2022-06-17T03:32:23Z</dc:date>
    <item>
      <title>REGISTER ACCESS IN MCUXPRESSO</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/965793#M2615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;While writing a code for pwm generation in MCUXPRESSO for the FRDMKV31F board with a MKV31F512VLL12 controller on it , I realized that I wasn't able to access registers like FTMx_CnSC ,CnV unlike the rest of them. What is the proper syntax to access such registers?&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Apurv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 11:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/965793#M2615</guid>
      <dc:creator>maratheapurv</dc:creator>
      <dc:date>2019-07-10T11:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: REGISTER ACCESS IN MCUXPRESSO</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/965794#M2616</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 style="color: #51626f; background-color: #ffffff;"&gt;FTMx_CnSC , and CnV are accessed through the "CONTROLS" register from the FTM_Type structure. Please check the fsl_ftm.c driver file for the&amp;nbsp;&lt;SPAN&gt;FRDMKV31F&amp;nbsp;, where you will see that these registers are accessed like in the following example:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;FTM_SetupOutputCompare&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;FTM_Type &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;base&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                            ftm_chnl_t chnlNumber&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                            ftm_output_compare_mode_t compareMode&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                            uint32_t compareValue&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    uint32_t reg&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;/* Setup the channel output behaviour when a match occurs with the compare value */&lt;/SPAN&gt;
    base&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;CONTROLS&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;chnlNumber&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CnSC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; reg&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

    &lt;SPAN class="comment token"&gt;/* Set output on match to the requested level */&lt;/SPAN&gt;
    base&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;CONTROLS&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;chnlNumber&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CnV &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; compareValue&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ricardo Delsordo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 15:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/965794#M2616</guid>
      <dc:creator>nxf51211</dc:creator>
      <dc:date>2019-07-10T15:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: REGISTER ACCESS IN MCUXPRESSO</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/965795#M2617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ricardo,&lt;/P&gt;&lt;P&gt;Thank you for your help! Appreciate it!&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Apurv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 05:10:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/965795#M2617</guid>
      <dc:creator>maratheapurv</dc:creator>
      <dc:date>2019-07-11T05:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: REGISTER ACCESS IN MCUXPRESSO</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/1475685#M4636</link>
      <description>&lt;P&gt;sir i have problem in register read in MKV6F16 controller card&lt;/P&gt;&lt;P&gt;problem like hard fault&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 03:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/REGISTER-ACCESS-IN-MCUXPRESSO/m-p/1475685#M4636</guid>
      <dc:creator>k1</dc:creator>
      <dc:date>2022-06-17T03:32:23Z</dc:date>
    </item>
  </channel>
</rss>

