<?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 How use PTC3 as ADC and I/O ? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-use-PTC3-as-ADC-and-I-O/m-p/237267#M19500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i'm making a project with mc9so8sh8 and my hardwere makes me need to read one analog value on ptc3 and, other time, send a digital output form pct3. How i disable the adc and make the output? (After i need enable that, again)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2013 16:56:17 GMT</pubDate>
    <dc:creator>wendersonolivei</dc:creator>
    <dc:date>2013-09-17T16:56:17Z</dc:date>
    <item>
      <title>How use PTC3 as ADC and I/O ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-use-PTC3-as-ADC-and-I-O/m-p/237267#M19500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i'm making a project with mc9so8sh8 and my hardwere makes me need to read one analog value on ptc3 and, other time, send a digital output form pct3. How i disable the adc and make the output? (After i need enable that, again)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 16:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-use-PTC3-as-ADC-and-I-O/m-p/237267#M19500</guid>
      <dc:creator>wendersonolivei</dc:creator>
      <dc:date>2013-09-17T16:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: How use PTC3 as ADC and I/O ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-use-PTC3-as-ADC-and-I-O/m-p/237268#M19501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliveria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to rewrite Pin Control Registers during the switching, please refer to section 9.3.8-9.3.10 of the datasheet. If one port is used as analop inputs, the corresponding bit in APCTLx should be cleared, otherwise it should be set.&lt;/P&gt;&lt;P&gt;Take PTC3 as an example,&amp;nbsp; the corresponding control bit is ADPC11(take a look at Table 9-1 in page 121, you can see relationship between AD Cpins and IO pins),&amp;nbsp; Setting ADPC11 when PTC3 is used be ADC and Clearing it when it is used as Digital IO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;XWP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Sep 2013 03:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-use-PTC3-as-ADC-and-I-O/m-p/237268#M19501</guid>
      <dc:creator>weapon</dc:creator>
      <dc:date>2013-09-22T03:50:04Z</dc:date>
    </item>
  </channel>
</rss>

