<?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 IDEのトピックRe: Configuring Register as Analog Input on LPC4088</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Configuring-Register-as-Analog-Input-on-LPC4088/m-p/862941#M3595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Blake,&lt;/P&gt;&lt;P&gt;Pls try to cahge the code as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;#define IOCON_P0_24 0x4002C060&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;*(unsigned int *)IOCON_P0_24&amp;nbsp; |=&amp;nbsp; (0x1 &amp;lt;&amp;lt; 0);&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;*(uint32_t *)IOCON_P0_24&amp;nbsp; |=&amp;nbsp; (0x1 &amp;lt;&amp;lt; 0);&lt;/P&gt;&lt;P&gt;Pls have a try&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2019 05:27:30 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2019-03-04T05:27:30Z</dc:date>
    <item>
      <title>Configuring Register as Analog Input on LPC4088</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Configuring-Register-as-Analog-Input-on-LPC4088/m-p/862940#M3594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the LPC4088 development board and my primary goal is to configure a certain GPIO pin as an analog input. In theory, I understand what bits need to be changed in order to achieve this, but I am finding it difficult to actually program this in the LPCXpresso environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifically I want to configure&amp;nbsp; IOCON_P0_24 (0x4002 C060) to act as an analog input. My plan to do this was to define the register and then use the |= operator to change the value, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;#define IOCON_P0_24 0x4002C060&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;IOCON_P0_24&amp;nbsp; |=&amp;nbsp; (0x1 &amp;lt;&amp;lt; 0);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an error that is saying "lvalue required as left operant of assignment". This leads me to believe that I need to define IOCON_P0_24 differently or include it from somewhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone suggest what the best way to adjust the register value? Any help is very much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Mar 2019 23:41:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Configuring-Register-as-Analog-Input-on-LPC4088/m-p/862940#M3594</guid>
      <dc:creator>diamond</dc:creator>
      <dc:date>2019-03-02T23:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Register as Analog Input on LPC4088</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Configuring-Register-as-Analog-Input-on-LPC4088/m-p/862941#M3595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Blake,&lt;/P&gt;&lt;P&gt;Pls try to cahge the code as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;#define IOCON_P0_24 0x4002C060&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;*(unsigned int *)IOCON_P0_24&amp;nbsp; |=&amp;nbsp; (0x1 &amp;lt;&amp;lt; 0);&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;*(uint32_t *)IOCON_P0_24&amp;nbsp; |=&amp;nbsp; (0x1 &amp;lt;&amp;lt; 0);&lt;/P&gt;&lt;P&gt;Pls have a try&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 05:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Configuring-Register-as-Analog-Input-on-LPC4088/m-p/862941#M3595</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-03-04T05:27:30Z</dc:date>
    </item>
  </channel>
</rss>

