<?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のトピックusing example ISR code from blinky and extint</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/using-example-ISR-code-from-blinky-and-extint/m-p/531438#M2494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cucheshire on Tue Sep 21 15:46:21 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I got the code to compile by including timer16.h in the file where i use these functions, i should have known better.&amp;nbsp; I also got the code to compile when i combined both files into one big file, I named interrupts.c.&amp;nbsp; So I've proven to myself that the files gpio_int.c and timer16_int.c are able to be used together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use example code from LPCXpresso1343_extint and LPCXpresso1343_blinky. These projects are in LPCXpresso1343.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In blinky, a file called timer16_int.c defines the interrupt handler functions for timer interrupts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In extint, a file called gpio_int.c defines the interrupt handler functions for GPIO interrupts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the comments, a CodeRed programmer explains that these functions have been extracted from the project 'LPC13xx_Lib' from the files timer16.c and gpio.c respectively, the goal being that projects are more independent from each other?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to somehow use a GPIO interrupt [I]and[/I] a Timer interrupt in my project, but including both timer16_int.c and gpio_int.c in my /src directory seems to be causing issues. (variables and functions i'm using from timer16.c in gpio_int.c aren't working/compiling)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help hacking these example interrupt handler files to work together. I'm thinking about using one big file containing code from both these c files, eliminating possible #include problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your input,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aaron Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:05:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:05:20Z</dc:date>
    <item>
      <title>using example ISR code from blinky and extint</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/using-example-ISR-code-from-blinky-and-extint/m-p/531438#M2494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cucheshire on Tue Sep 21 15:46:21 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I got the code to compile by including timer16.h in the file where i use these functions, i should have known better.&amp;nbsp; I also got the code to compile when i combined both files into one big file, I named interrupts.c.&amp;nbsp; So I've proven to myself that the files gpio_int.c and timer16_int.c are able to be used together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use example code from LPCXpresso1343_extint and LPCXpresso1343_blinky. These projects are in LPCXpresso1343.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In blinky, a file called timer16_int.c defines the interrupt handler functions for timer interrupts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In extint, a file called gpio_int.c defines the interrupt handler functions for GPIO interrupts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the comments, a CodeRed programmer explains that these functions have been extracted from the project 'LPC13xx_Lib' from the files timer16.c and gpio.c respectively, the goal being that projects are more independent from each other?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to somehow use a GPIO interrupt [I]and[/I] a Timer interrupt in my project, but including both timer16_int.c and gpio_int.c in my /src directory seems to be causing issues. (variables and functions i'm using from timer16.c in gpio_int.c aren't working/compiling)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help hacking these example interrupt handler files to work together. I'm thinking about using one big file containing code from both these c files, eliminating possible #include problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your input,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aaron Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/using-example-ISR-code-from-blinky-and-extint/m-p/531438#M2494</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:05:20Z</dc:date>
    </item>
  </channel>
</rss>

