<?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中的主题 Lpc1769 _wfi</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540530#M7019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Wed Jul 13 23:31:44 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, I'm using LPC17xx and I want to use WFI function. However, when I use it I face with warning "implicit decleration of _WFI". I checked my "core_cm3.c" file and it does not have anything about WFI. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my question is: does WFI have any driver for itself which I don't know?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I'm using CMSISv2LPC17xx which is included in "mcb1700.code.bundle.lpc1769.lpcxpresso".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Furkan Yuksel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:52:04 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:52:04Z</dc:date>
    <item>
      <title>Lpc1769 _wfi</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540530#M7019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Wed Jul 13 23:31:44 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, I'm using LPC17xx and I want to use WFI function. However, when I use it I face with warning "implicit decleration of _WFI". I checked my "core_cm3.c" file and it does not have anything about WFI. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my question is: does WFI have any driver for itself which I don't know?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I'm using CMSISv2LPC17xx which is included in "mcb1700.code.bundle.lpc1769.lpcxpresso".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Furkan Yuksel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540530#M7019</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769 _wfi</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540531#M7020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Jul 13 23:52:50 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The definition of __WFI() [I](note the double underscore character)[/I] is in one of the CMSIS header files (exact file actually depends upon CMSIS version).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However as long as you include "LPC17xx.h" (or the corresponding top level header if using a different part), then this should give you access to __WFI().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540531#M7020</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769 _wfi</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540532#M7021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Wed Jul 13 23:58:48 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;However as long as you include "LPC17xx.h" (or the corresponding top level header if using a different part), then this should give you access to __WFI().&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, You mean that I souldn't care this warning, because I include "LPC17xx.h".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok than, Thank you so much for your help :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540532#M7021</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769 _wfi</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540533#M7022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Thu Jul 14 00:16:26 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Err, no. I am saying that if you include LPC17xx.h then you shouldn't get the error. If you are then its sound like there is something wrong with the setup of your project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is impossible without seeing your project to say what the problem might be. In the first place I would check that your include paths actually point to the directory containing LPC17xx.h. Do you get any other warnings / errors?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540533#M7022</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769 _wfi</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540534#M7023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 00:32:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems ok now. When I clean and built again for the first time it gives warning. However, when I rebuilt it for the second time warning disappears. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't realize that WFI has duble underscores so I couldn't find it, now I found. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540534#M7023</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769 _wfi</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540535#M7024</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 Jul 14 01:39:04 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Err,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;When I clean and built again for the first time it gives warning.&amp;nbsp; However, when I rebuilt it for the second time warning disappears. &lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;This just means that your file is not compiled the second time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A rebuild will only re-compile files that have changed since the last build, so if you did not change your file it does not rebuild and thus the warning does not appear. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You might want to read a manual on the Gnu compiler and how the build tools (like make) work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The double underscore does a better trick - now the function can be found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See also the timedwakeup example in the LPCXpresso1114-301_2011-01-27 example bundle that is included with LPCXpresso 4.0.5. That contains a complete example on how to use __WFI() and the DeepSleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I know: you are currently using the LPC17xx but unfortunately there is no timedwakeup example in the lpx17xx example bundle ...&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 01:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540535#M7024</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc1769 _wfi</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540536#M7025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by furkan.yuksel on Thu Jul 14 02:02:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Rob, I'll look at it to understand __WFI deeply ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But my mistake was "again!" double underscore :-S I forgot to fix it in my main func so it does not recognize _WFI. I'm so sory for wasting your time and thank you so much for all both of your quick reponses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Lpc1769-wfi/m-p/540536#M7025</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:08Z</dc:date>
    </item>
  </channel>
</rss>

