<?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 to set K60 Open Drain Output in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-set-K60-Open-Drain-Output/m-p/271250#M8315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use MQX 3.8 on K60 and I want to initialize a output pin as Open Drain Output by using fopen("gpio:output"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefor MQX uses gpio_cpu_configure() in io_gpio_kgpio.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could'nt see how to send the parameter for setting ODE bit in PORTx_PCRyy register.&lt;/P&gt;&lt;P&gt;I did'nt find any define for ODE bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to set ODE bit using fopen("gpio:output"...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 07:02:51 GMT</pubDate>
    <dc:creator>CaesarI</dc:creator>
    <dc:date>2013-04-17T07:02:51Z</dc:date>
    <item>
      <title>How to set K60 Open Drain Output</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-set-K60-Open-Drain-Output/m-p/271250#M8315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use MQX 3.8 on K60 and I want to initialize a output pin as Open Drain Output by using fopen("gpio:output"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefor MQX uses gpio_cpu_configure() in io_gpio_kgpio.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could'nt see how to send the parameter for setting ODE bit in PORTx_PCRyy register.&lt;/P&gt;&lt;P&gt;I did'nt find any define for ODE bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to set ODE bit using fopen("gpio:output"...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 07:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-set-K60-Open-Drain-Output/m-p/271250#M8315</guid>
      <dc:creator>CaesarI</dc:creator>
      <dc:date>2013-04-17T07:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to set K60 Open Drain Output</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-set-K60-Open-Drain-Output/m-p/271251#M8316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Caesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately the legacy "gpio" driver has that limitation (ODE bit not supported). MQX 4.0 lwgpio driver supports ODE bit. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 07:31:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-set-K60-Open-Drain-Output/m-p/271251#M8316</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2013-04-17T07:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to set K60 Open Drain Output</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-set-K60-Open-Drain-Output/m-p/271252#M8317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx Martin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 07:55:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-set-K60-Open-Drain-Output/m-p/271252#M8317</guid>
      <dc:creator>CaesarI</dc:creator>
      <dc:date>2013-04-17T07:55:49Z</dc:date>
    </item>
  </channel>
</rss>

