<?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 SysTick.h in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-h/m-p/568652#M19345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by deBoogle on Mon Feb 21 14:44:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a quick question. I was looking through all the header files for systick functions and found the following in the systick header:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Exported functions ------------------------------------------------------- */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_Handler(void);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void delaySysTick(DWORD tick);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_CLKSourceConfig(DWORD SysTick_CLKSource);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_SetReload(DWORD Reload);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_CounterCmd(DWORD SysTick_Counter);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_ITConfig(FunctionalState NewState);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DWORD SysTick_GetCounter(void);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FlagStatus SysTick_GetFlagStatus(BYTE SysTick_FLAG);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are these functions for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using the flagstatus function and it didn't work!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found a way around this using the examples provided, and also written some code to detect flag status like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define count_flag (1&amp;lt;&amp;lt;16)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;flag_status = SysTick-&amp;gt; &amp;amp; count_flag;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wondred what those functions in the header were for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, (I know big post syndrome!),&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can I find the defs / declrations for this function which is in the example, I can't see it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;__INLINE static void systick_delay (uint32_t delayTicks)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why __INLINE??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;deBoogle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:24:09 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:24:09Z</dc:date>
    <item>
      <title>SysTick.h</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-h/m-p/568652#M19345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by deBoogle on Mon Feb 21 14:44:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a quick question. I was looking through all the header files for systick functions and found the following in the systick header:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Exported functions ------------------------------------------------------- */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_Handler(void);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void delaySysTick(DWORD tick);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_CLKSourceConfig(DWORD SysTick_CLKSource);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_SetReload(DWORD Reload);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_CounterCmd(DWORD SysTick_Counter);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void SysTick_ITConfig(FunctionalState NewState);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DWORD SysTick_GetCounter(void);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FlagStatus SysTick_GetFlagStatus(BYTE SysTick_FLAG);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are these functions for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using the flagstatus function and it didn't work!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found a way around this using the examples provided, and also written some code to detect flag status like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define count_flag (1&amp;lt;&amp;lt;16)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;flag_status = SysTick-&amp;gt; &amp;amp; count_flag;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wondred what those functions in the header were for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, (I know big post syndrome!),&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can I find the defs / declrations for this function which is in the example, I can't see it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;__INLINE static void systick_delay (uint32_t delayTicks)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why __INLINE??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;deBoogle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-h/m-p/568652#M19345</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:09Z</dc:date>
    </item>
  </channel>
</rss>

