<?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>Kinetis Software Development KitのトピックUsage of UART receive callback function</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Usage-of-UART-receive-callback-function/m-p/446606#M2986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I am using KSDK1.2.0 with KDS 3.0.0 with FRDM-KL25Z board. I am trying to understand the purpose of the UART receive callback function when setting the parameters of UART in processor expert. In the callback function generated, there are 2 input parameters: uint32_t instance and void *uartState. How do i make use of these to obtain the received character in the UART?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 02:42:05 GMT</pubDate>
    <dc:creator>eugenephua</dc:creator>
    <dc:date>2015-09-14T02:42:05Z</dc:date>
    <item>
      <title>Usage of UART receive callback function</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Usage-of-UART-receive-callback-function/m-p/446606#M2986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I am using KSDK1.2.0 with KDS 3.0.0 with FRDM-KL25Z board. I am trying to understand the purpose of the UART receive callback function when setting the parameters of UART in processor expert. In the callback function generated, there are 2 input parameters: uint32_t instance and void *uartState. How do i make use of these to obtain the received character in the UART?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 02:42:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Usage-of-UART-receive-callback-function/m-p/446606#M2986</guid>
      <dc:creator>eugenephua</dc:creator>
      <dc:date>2015-09-14T02:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of UART receive callback function</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Usage-of-UART-receive-callback-function/m-p/446607#M2987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can get it for example by this way:&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14422582336386733 jive_text_macro" data-renderedposition="71_8_1231_96" jivemacro_uid="_14422582336386733"&gt;&lt;P&gt;void uartCom1_RxCallback(uint32_t instance, void * uartState)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Write your code here ... */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t buffer[5]={0};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART_DRV_ReceiveData(instance,buffer,1);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where instance is UART number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 19:18:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Usage-of-UART-receive-callback-function/m-p/446607#M2987</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-09-14T19:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of UART receive callback function</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Usage-of-UART-receive-callback-function/m-p/446608#M2988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 00:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Usage-of-UART-receive-callback-function/m-p/446608#M2988</guid>
      <dc:creator>eugenephua</dc:creator>
      <dc:date>2015-09-15T00:16:27Z</dc:date>
    </item>
  </channel>
</rss>

