<?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: KL25Z ADC  PORT MUX PCR (0x07) in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386914#M20862</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;What Jorge is saying is just right. Sometimes the code generated by Processor Expert is not easy to understand and you may think that there is a lot of code for a simple PORTB_PCR0 = 0x00; or nothing because this Pin is by default in its Analog alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2014 18:00:59 GMT</pubDate>
    <dc:creator>adriancano</dc:creator>
    <dc:date>2014-11-07T18:00:59Z</dc:date>
    <item>
      <title>KL25Z ADC  PORT MUX PCR (0x07)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386912#M20860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I am a little bit confusing with this.&lt;/P&gt;&lt;P&gt;I am using processor expert to configure the ADC and it came up with&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORTB_PCR0 &amp;amp;= (uint32_t)~(uint32_t)((PORT_PCR_ISF_MASK | PORT_PCR_MUX(0x07)));&lt;/P&gt;&lt;P&gt;why the mux is 07? i have read the manual and the adc would be ALT(0). is this 07 right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 17:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386912#M20860</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2014-11-07T17:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z ADC  PORT MUX PCR (0x07)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386913#M20861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Edriano:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the option for ADC in PTB0 is 0x0. Actually the 0x07 is just a mask for the &lt;STRONG&gt;AND&lt;/STRONG&gt; operation ( &lt;STRONG&gt;&amp;amp;= ~(...)&lt;/STRONG&gt;). So the written value to PORTB_PCR0[MUX] is 000.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Fri, 07 Nov 2014 17:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386913#M20861</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-11-07T17:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z ADC  PORT MUX PCR (0x07)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386914#M20862</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;What Jorge is saying is just right. Sometimes the code generated by Processor Expert is not easy to understand and you may think that there is a lot of code for a simple PORTB_PCR0 = 0x00; or nothing because this Pin is by default in its Analog alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 18:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386914#M20862</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-11-07T18:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z ADC  PORT MUX PCR (0x07)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386915#M20863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks.&lt;/P&gt;&lt;P&gt;Ok they like to complicate things. know i see they are doing an &amp;amp; and then inverting everything in order to fit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why can't they just write thinks like we can follow the manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 13:22:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-ADC-PORT-MUX-PCR-0x07/m-p/386915#M20863</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2014-11-10T13:22:21Z</dc:date>
    </item>
  </channel>
</rss>

