<?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>8-bit MicrocontrollersのトピックLocating header files for source code used in DEMO9S08QG8</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144098#M6750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to know where I can find the following header files for these include statements:&lt;BR /&gt;&lt;BR /&gt;#include "adc.h"&lt;BR /&gt;#include "buzzer.h"&lt;BR /&gt;#include "SCItx.h"&lt;BR /&gt;&lt;BR /&gt;I'm using sample source code provided in application note AN3397.pdf, "Implementing Positioning Algorithms Using Accelerometers"&lt;BR /&gt;&lt;BR /&gt;Those 3 headers are not amongst all the code samples in the various CW folders.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~Tim&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2007 03:37:05 GMT</pubDate>
    <dc:creator>tjm</dc:creator>
    <dc:date>2007-08-31T03:37:05Z</dc:date>
    <item>
      <title>Locating header files for source code used in DEMO9S08QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144098#M6750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to know where I can find the following header files for these include statements:&lt;BR /&gt;&lt;BR /&gt;#include "adc.h"&lt;BR /&gt;#include "buzzer.h"&lt;BR /&gt;#include "SCItx.h"&lt;BR /&gt;&lt;BR /&gt;I'm using sample source code provided in application note AN3397.pdf, "Implementing Positioning Algorithms Using Accelerometers"&lt;BR /&gt;&lt;BR /&gt;Those 3 headers are not amongst all the code samples in the various CW folders.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~Tim&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 03:37:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144098#M6750</guid>
      <dc:creator>tjm</dc:creator>
      <dc:date>2007-08-31T03:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Locating header files for source code used in DEMO9S08QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144099#M6751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Does anyone know where I can locate these files?&amp;nbsp; Im working with the accerelometers and I need to know what functions are in theses headers.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 10:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144099#M6751</guid>
      <dc:creator>M4v3r1ck</dc:creator>
      <dc:date>2007-12-06T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Locating header files for source code used in DEMO9S08QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144100#M6752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I don't know specifically where you will find these files.&amp;nbsp; However, I would expect that these header files would contain function definitions (prototypes), and perhaps some macros definitions&amp;nbsp;for the various peripheral items ADC, buzzer and SCI transmit operation.&amp;nbsp; There should be no code within the header files.&amp;nbsp; It may well be possible to re-construct the contents of&amp;nbsp;these files.&amp;nbsp; It may also be possible that some of the definitions are never used within the final code.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;If you have .c files of similar names, you can&amp;nbsp;immediately determine the function definitions from the code for&amp;nbsp;each function.&amp;nbsp; If the functions are within a library file&amp;nbsp;for which you do not have the source code, you might need to do some experimentation by examining the way in which&amp;nbsp;each function is called.&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;The compiler should provide warnings for those functions where a function definition&amp;nbsp;cannot be&amp;nbsp;not found, or does not match the&amp;nbsp;code for the function.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The compiler should also provide warnings where a macro definition is missing.&amp;nbsp; These might pose&amp;nbsp;a greater difficulty for re-construction, if complex.&amp;nbsp; But first you will need to ascertain the extent of the problem by examination of compiler warnings and errors.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 11:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144100#M6752</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-12-06T11:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Locating header files for source code used in DEMO9S08QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144101#M6753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;After posting last night,I threw the code in to the compiler to see which variables and functions where giving me warnings.&amp;nbsp; I am missing a function called ADC_GetAllAxis(); which would not be hard to rewrite, an END_OF_FRAME variable, some accelerationx[] and y[] arrays, and a SCITxMsg() function.&amp;nbsp; I am assuming my best best would be to rewrite everything from the giving flowchart and use the code as a guide if I get stuck.&amp;nbsp; I just find it surprising that they would provide source code without providing a means to the other necessary files for the code.Thanks for you help Mac.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 05:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144101#M6753</guid>
      <dc:creator>M4v3r1ck</dc:creator>
      <dc:date>2007-12-07T05:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Locating header files for source code used in DEMO9S08QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144102#M6754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;It sounds like more than just the header files are missing if the function code cannot be found by the linker.&amp;nbsp; The header file should not contain any code, but only the declaration or prototype for its associated functions.&amp;nbsp; I might expect there should&amp;nbsp;exist separate&amp;nbsp;.c files, with names similar to the header files.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;For example, I suspect there should be a file ADC.c that would contain the code for tha function ADC_GetAllAxis().&amp;nbsp;&amp;nbsp;It may also&amp;nbsp;contain code for other (private) functions called by this function.&amp;nbsp; It is possible that the x[ ] and y[ ] arrays are global variables defined in the same file.&amp;nbsp; The header file ADC.h would contain the prototype for the ADC_GetAllAxis() function, and declarations for the global arrays.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;END_OF_FRAME is likely to be a macro definition (rather than a variable).&amp;nbsp; Perhaps it is associated with use of the SCI function(s).&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 13:15:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Locating-header-files-for-source-code-used-in-DEMO9S08QG8/m-p/144102#M6754</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-12-07T13:15:48Z</dc:date>
    </item>
  </channel>
</rss>

