<?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 Print the raw data generated by the uxTaskGetSystemState() function to uart in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586682#M27322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by julitoss on Mon Oct 21 09:35:56 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How could I print the raw data generated by the uxTaskGetSystemState() function to uart?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Julito&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:47:53 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:47:53Z</dc:date>
    <item>
      <title>Print the raw data generated by the uxTaskGetSystemState() function to uart</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586682#M27322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by julitoss on Mon Oct 21 09:35:56 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How could I print the raw data generated by the uxTaskGetSystemState() function to uart?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Julito&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586682#M27322</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Print the raw data generated by the uxTaskGetSystemState() function to uart</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586683#M27323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Sat Oct 26 07:50:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to print the raw data in a readable form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
for(i=0; i&amp;lt; max_index; i++)
{
printf("Task: [%d] \"%s\" is in state: ", taskStatusArray&lt;I&gt;.xTaskNumber, taskStatusArray&lt;I&gt;.pcTaskName);

switch(taskStatusArray&lt;I&gt;.eCurrentState)
{
case eReady:printf("Ready\n");
break;
case eRunning:printf("Running\n");
break;
case eBlocked:...
case eSuspended:...
case eDeleted:...
}

printf(...);
}
&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586683#M27323</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Print the raw data generated by the uxTaskGetSystemState() function to uart</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586684#M27324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by julitoss on Mon Oct 28 04:43:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, but I would like to know how to send a string&amp;nbsp; (store in write buffer) to uart &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Julito&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:47:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586684#M27324</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Print the raw data generated by the uxTaskGetSystemState() function to uart</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586685#M27325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Mon Oct 28 09:50:41 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;you could just use on of the examples in the LPCXpresso (e.g. lpc17xx\examples.lpc17xxnew.zip\uart&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That example shows how to write characters and a string to the uart. For formatting, using sprintf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The nice way is of course to create a write function that attaches to printf (lib_small_printf_m3 in the same .zip file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:47:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Print-the-raw-data-generated-by-the-uxTaskGetSystemState/m-p/586685#M27325</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:47:55Z</dc:date>
    </item>
  </channel>
</rss>

