<?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>LPC Microcontrollersのトピックlpc55s69 ADC software trigger</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc55s69-ADC-software-trigger/m-p/1555767#M50750</link>
    <description>&lt;P&gt;Hello, I am using the config tools and SDK to set up an ADC instance, the tools has a pop out window that says "software triggers are available" just wondering if anyone can point me towards a worked example please, I want to call a sample from within a loop.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 11:10:58 GMT</pubDate>
    <dc:creator>sanders7284</dc:creator>
    <dc:date>2022-11-17T11:10:58Z</dc:date>
    <item>
      <title>lpc55s69 ADC software trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc55s69-ADC-software-trigger/m-p/1555767#M50750</link>
      <description>&lt;P&gt;Hello, I am using the config tools and SDK to set up an ADC instance, the tools has a pop out window that says "software triggers are available" just wondering if anyone can point me towards a worked example please, I want to call a sample from within a loop.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 11:10:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc55s69-ADC-software-trigger/m-p/1555767#M50750</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2022-11-17T11:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: lpc55s69 ADC software trigger</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc55s69-ADC-software-trigger/m-p/1555838#M50753</link>
      <description>&lt;P&gt;I have figured this out, for reference should anyone else need this:-&lt;/P&gt;&lt;P&gt;uint32_t read_adc()&lt;BR /&gt;{&lt;BR /&gt;lpadc_conv_result_t config;&lt;/P&gt;&lt;P&gt;LPADC_DoSoftwareTrigger(ADC0, 1); //trigger ADC read&lt;BR /&gt;while (!LPADC_GetConvResult(ADC0, &amp;amp;config, 0U)){}; //wait for result&lt;BR /&gt;return (uint32_t) config.convValue; //return data&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 13:35:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc55s69-ADC-software-trigger/m-p/1555838#M50753</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2022-11-17T13:35:45Z</dc:date>
    </item>
  </channel>
</rss>

