<?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: Is is possible to use the ADC interrupt for multiple ADC channels which have different operation in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-is-possible-to-use-the-ADC-interrupt-for-multiple-ADC/m-p/165698#M10461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ADC module has a single interrupt only, that occurs when the COCO flag becomes set.&amp;nbsp; With more than one channel in operation, you would need to ascertain the channel associated with the current interrupt, by reading the channel select bits from within the ISR code.&amp;nbsp; Different courses of action could then be taken for each channel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2009 00:12:13 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2009-03-24T00:12:13Z</dc:date>
    <item>
      <title>Is is possible to use the ADC interrupt for multiple ADC channels which have different operations?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-is-possible-to-use-the-ADC-interrupt-for-multiple-ADC/m-p/165697#M10460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I'm currently working on the ADC interrupt. It seems to me that I can only use it for one ADC channel. I would like to&amp;nbsp;know&amp;nbsp;if I can use the interrupt for different channels. For example, I would like to&amp;nbsp;use ADC channels AD1 and AD5, both having different operations when&amp;nbsp;interrupted. Can&amp;nbsp;I assign a unique interrupt to each of them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using MC9S08AW60 MCU, which only has one vector number for the ADC interrupt. Thx&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 16:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-is-possible-to-use-the-ADC-interrupt-for-multiple-ADC/m-p/165697#M10460</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-03-23T16:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is is possible to use the ADC interrupt for multiple ADC channels which have different operation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-is-possible-to-use-the-ADC-interrupt-for-multiple-ADC/m-p/165698#M10461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ADC module has a single interrupt only, that occurs when the COCO flag becomes set.&amp;nbsp; With more than one channel in operation, you would need to ascertain the channel associated with the current interrupt, by reading the channel select bits from within the ISR code.&amp;nbsp; Different courses of action could then be taken for each channel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 00:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Is-is-possible-to-use-the-ADC-interrupt-for-multiple-ADC/m-p/165698#M10461</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2009-03-24T00:12:13Z</dc:date>
    </item>
  </channel>
</rss>

