<?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>MQX Software SolutionsのトピックRe: lwgpio pin grouping</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/lwgpio-pin-grouping/m-p/265939#M7995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;The older GPIO driver has been deprecated as it was very convolved/convoluted.obtuse/abstracted/big/confusing/etc...and was replaced with the lwgpio driver.&lt;/P&gt;&lt;P&gt;Not sure why in MQX4.0.x we have moved the lwgpio driver example from ~/examples/lwgpio to ~/examples/gpio but that is what has happened.&lt;/P&gt;&lt;P&gt;Please look at the gpio folder example for the lwgpio pin implementation.&lt;/P&gt;&lt;P&gt;(C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio).&lt;/P&gt;&lt;P&gt;The ~/docs/mqx/MQXIOUG.pdf has a lwgpio chapter than explains that we no longer support pin grouping but only control of gpio on a "per-pin" basis.&lt;/P&gt;&lt;P&gt;Any grouping operation is one you would have to implement.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 21:22:26 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2013-10-08T21:22:26Z</dc:date>
    <item>
      <title>lwgpio pin grouping</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/lwgpio-pin-grouping/m-p/265938#M7994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I found an old example using full gpio for pin grouping and wondering if there exists similar one for lwgpio and MQX 4.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; GPIO_PIN_STRUCT pins[] = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP_LED1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP_LED2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP_LED3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIO_LIST_END&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;followed by:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;
pins[0] |= GPIO_PIN_STATUS_1;&amp;nbsp;&amp;nbsp; //LED1 on
pins[1] &amp;amp;= ~GPIO_PIN_STATUS_0;&amp;nbsp; //LED2 off
pins[2] |= GPIO_PIN_STATUS_1;&amp;nbsp;&amp;nbsp; //LED3 on

ioctl(output_port, GPIO_IOCTL_WRITE, &amp;amp;pins);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 14:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/lwgpio-pin-grouping/m-p/265938#M7994</guid>
      <dc:creator>leepenn</dc:creator>
      <dc:date>2013-10-07T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: lwgpio pin grouping</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/lwgpio-pin-grouping/m-p/265939#M7995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;The older GPIO driver has been deprecated as it was very convolved/convoluted.obtuse/abstracted/big/confusing/etc...and was replaced with the lwgpio driver.&lt;/P&gt;&lt;P&gt;Not sure why in MQX4.0.x we have moved the lwgpio driver example from ~/examples/lwgpio to ~/examples/gpio but that is what has happened.&lt;/P&gt;&lt;P&gt;Please look at the gpio folder example for the lwgpio pin implementation.&lt;/P&gt;&lt;P&gt;(C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio).&lt;/P&gt;&lt;P&gt;The ~/docs/mqx/MQXIOUG.pdf has a lwgpio chapter than explains that we no longer support pin grouping but only control of gpio on a "per-pin" basis.&lt;/P&gt;&lt;P&gt;Any grouping operation is one you would have to implement.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:22:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/lwgpio-pin-grouping/m-p/265939#M7995</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-10-08T21:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: lwgpio pin grouping</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/lwgpio-pin-grouping/m-p/265940#M7996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lee Penn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;an addition to David's reply: There's HMI layer (an example also), which groups buttons, LEDs, touch controls. Might be what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;0xc0170&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 06:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/lwgpio-pin-grouping/m-p/265940#M7996</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2013-10-09T06:18:49Z</dc:date>
    </item>
  </channel>
</rss>

