<?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: Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322050#M14505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;To use the GetFieldValue the proper configurations are necessary in the GPIO_LDD component; you need to set a different Field value for each pin to read the each pin. If you need to read the states of all the pins you configured you need to call the GetPortValue method and pass the pointer you get from the init method.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;In the attachments you can find an example compiled in CodeWarrior 10.x for the TWR-K20D50 board. In this application when the SW2 (PTC1) is pressed the yellow led is turned on (PTC9) and when SW3 (PTC2) is pressed the orange led is turned on (PTC10) this part of the application is handled with the value returned by the GetFieldValue method. In the console is printed the value of this two pins (PTC1 and PTC2 this pins are the only configured in the GPIO_LDD component); this is the complete value of the pins in the component and are configured in different fields in the component inspector.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Here are the configurations I did for the GPIO_LDD component&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="GPIO_LDD.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45161iAF1FDE33951F6D45/image-size/large?v=v2&amp;amp;px=999" role="button" title="GPIO_LDD.png" alt="GPIO_LDD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 20:03:43 GMT</pubDate>
    <dc:creator>adriancano</dc:creator>
    <dc:date>2014-07-21T20:03:43Z</dc:date>
    <item>
      <title>Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322048#M14503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 6 ports that i am using like buttons and i have an interrupt by falling edge. I have to use low level but don´t work because all the six pins (PTC1 to PTC6 tha i am using) stay in 0V. I have pull-up in all. On falling edge this problem don´t appear. I am trying to use the function GetFieldValue but doesn´t work correctly. How can i read the pin PTC1 or PTC2 or PTC3 for example. I need to read one pin but the function doesn´t work correctly. Anybody can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 11:54:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322048#M14503</guid>
      <dc:creator>alexandrevoigtd</dc:creator>
      <dc:date>2014-07-18T11:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322049#M14504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hello Alex,&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This question is in the generic space for questions about how to use the community.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you can provide some more detail on the product you are using, I will move it to the space where it will get more visibility from our technical community members.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 13:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322049#M14504</guid>
      <dc:creator>Paul_Kuhn</dc:creator>
      <dc:date>2014-07-18T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322050#M14505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;To use the GetFieldValue the proper configurations are necessary in the GPIO_LDD component; you need to set a different Field value for each pin to read the each pin. If you need to read the states of all the pins you configured you need to call the GetPortValue method and pass the pointer you get from the init method.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;In the attachments you can find an example compiled in CodeWarrior 10.x for the TWR-K20D50 board. In this application when the SW2 (PTC1) is pressed the yellow led is turned on (PTC9) and when SW3 (PTC2) is pressed the orange led is turned on (PTC10) this part of the application is handled with the value returned by the GetFieldValue method. In the console is printed the value of this two pins (PTC1 and PTC2 this pins are the only configured in the GPIO_LDD component); this is the complete value of the pins in the component and are configured in different fields in the component inspector.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Here are the configurations I did for the GPIO_LDD component&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="GPIO_LDD.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45161iAF1FDE33951F6D45/image-size/large?v=v2&amp;amp;px=999" role="button" title="GPIO_LDD.png" alt="GPIO_LDD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 20:03:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322050#M14505</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-21T20:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322051#M14506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the help. Now I got it. Excellent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 11:55:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322051#M14506</guid>
      <dc:creator>alexandrevoigtd</dc:creator>
      <dc:date>2014-07-22T11:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322052#M14507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 11:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322052#M14507</guid>
      <dc:creator>alexandrevoigtd</dc:creator>
      <dc:date>2014-07-22T11:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322053#M14508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your exempla code, you have used: "SW2_value = SW_GetFieldValue(SW_DeviceData, SW2);"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How can I see and configure the 'SW_DeviceData' field??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 14:13:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-to-use-valor-GPIO1-GetFieldValue-TECLADO-0-on-MK10DN32/m-p/322053#M14508</guid>
      <dc:creator>alissonporto</dc:creator>
      <dc:date>2014-11-11T14:13:30Z</dc:date>
    </item>
  </channel>
</rss>

