<?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: Which int type for max TIME STRUCT time elapsed? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Which-int-type-for-max-TIME-STRUCT-time-elapsed/m-p/949925#M22975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I did not get your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me the part number that you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 23:56:21 GMT</pubDate>
    <dc:creator>vicentegomez</dc:creator>
    <dc:date>2019-07-08T23:56:21Z</dc:date>
    <item>
      <title>Which int type for max TIME STRUCT time elapsed?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Which-int-type-for-max-TIME-STRUCT-time-elapsed/m-p/949924#M22974</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&gt;I would like to use below code for a timer. &amp;nbsp; Is diff_time.MILLISECONDS an int32_t variable like a saw for max_struct_ticks? &amp;nbsp;If so, why wouldn't it be uint32_t ? &amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #000000;" title="Page 394"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN style="font-size: 10pt;"&gt;TIME_STRUCT   start_time, end_time, diff_time; ... _time_get(&amp;amp;start_time);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="font-size: 10pt;"&gt;/* Send 100 messages. */&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;_time_get(&amp;amp;end_time);&lt;BR /&gt;_time_diff(&amp;amp;start_time, &amp;amp;end_time, &amp;amp;diff_time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;printf(“Time to send 100 messages: %ld sec %ld millisec\n”, diff_time.SECONDS, diff_time.MILLISECONDS);&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2019 21:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Which-int-type-for-max-TIME-STRUCT-time-elapsed/m-p/949924#M22974</guid>
      <dc:creator>jennwasson2003</dc:creator>
      <dc:date>2019-07-07T21:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Which int type for max TIME STRUCT time elapsed?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Which-int-type-for-max-TIME-STRUCT-time-elapsed/m-p/949925#M22975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I did not get your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me the part number that you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 23:56:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Which-int-type-for-max-TIME-STRUCT-time-elapsed/m-p/949925#M22975</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2019-07-08T23:56:21Z</dc:date>
    </item>
  </channel>
</rss>

