<?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>LPCXpresso IDEのトピックRe: GCC has a function &amp;quot;delay ()&amp;quot; default / standard?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592507#M30028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed Jan 18 16:03:59 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How can it? The compiler doesn't know the clock speed of your part, or how many wait states of the memory the code is running from (flash/ram), or whether there is cache, or ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:47:38 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:47:38Z</dc:date>
    <item>
      <title>GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592505#M30026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Wed Jan 18 12:35:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GCC has a function "delay" that is portable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592505#M30026</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592506#M30027</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 Wed Jan 18 15:14:26 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;timing in programs is never portable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to use one of the hardware timers or systick in order to create a delay that is accurate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592506#M30027</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592507#M30028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed Jan 18 16:03:59 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How can it? The compiler doesn't know the clock speed of your part, or how many wait states of the memory the code is running from (flash/ram), or whether there is cache, or ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592507#M30028</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592508#M30029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Wed Jan 18 20:34:33 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Boys are not so negative, please.:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Free Pascal for example, often implements the same functions for all systems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I know that the compiler does not know, but humans.;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your comments.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592508#M30029</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592509#M30030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Jan 19 00:20:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Luis Digital&lt;/STRONG&gt;&lt;BR /&gt;Boys are not so negative, please.:)&lt;BR /&gt;&lt;BR /&gt; Free Pascal for example, often implements the same functions for all systems.&lt;BR /&gt;&lt;BR /&gt; I know that the compiler does not know, but humans.;)&lt;BR /&gt;&lt;BR /&gt;Thanks for your comments.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Presumably free pascal runs on a host operating system so can use the facilities of that os. If your application was running on an operating system, it could do the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592509#M30030</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592510#M30031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Thu Jan 19 06:54:54 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: TheFallGuy&lt;/STRONG&gt;&lt;BR /&gt;Presumably free pascal runs on a host operating system...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Free Pascal runs on microcontrollers as well (AVR, ARM), but do not know if they have support for delays.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592510#M30031</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592511#M30032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Thu Jan 19 14:42:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally I'm using the kernel timer (SysTickTimer), the manual says it is a standard form.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592511#M30032</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: GCC has a function "delay ()" default / standard?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592512#M30033</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 Thu Jan 19 14:56:11 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Luis Digital&lt;/STRONG&gt;&lt;BR /&gt;Finally I'm using the kernel timer (SysTickTimer), the manual says it is a standard form.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The systick timer is a timer that is a standard peripheral for all M0/M3 processors. So if you buy an Arm Cortex M3 from TI, NXP, Renesas, ST or whatever other silicon vendor, they will all contain the systick timer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is done in order to allow for easy porting of different operating systems. They can use the systick timer to generate a "system tick" used for the scheduler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the systick in your own program is perfectly valid but be aware that you may (will) run into problems when you use the systick timer and later on want to place the whole thing on top of some OS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use systick as a 1 msec interval timer for the scheduler. Most timers run as software timers in the OS, when timing is more critical I use one of the timers in the lpc1754.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GCC-has-a-function-quot-delay-quot-default-standard/m-p/592512#M30033</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:40Z</dc:date>
    </item>
  </channel>
</rss>

