Jump to content
Sign in to follow this  
tmoriamez

File Includes

Recommended Posts

Hello, I'm new to C2K, and I asked about the file includes:
is there a difference between the files here:

C: \ ti \ controlSUITE \ development_kits \ C2000_LaunchPad \ f2802x_common \ include

and here:

C: \ ti \ controlSUITE \ development_kits \ C2000_LaunchPad \ f2802x_headers \ include?

Because I see that in the "GEL" directory of each, the files are different.

Can I use the file instead of DSP2802x_Peripheral.gel F28027.gel ?

For example, is that adc.h is identical to F2802x_Adc.h ?

thank you.

Share this post


Link to post
Share on other sites

Hi!

 

Yes, there are differences between these files.  The f2802x_common directory contains drivers and some helper files like linker command files.  The F2802x_headers directory contains header files that can be used to access the peripherals using structures.

 

You shouldn't need to use anything in the GEL directories.  CCS will automatically take care of this.

 

adc.h is not identical to F2802x_adc.h.  adc.h is a header file for the driver library while f2802x_adc.h is header for some legacy driver code.

 

Try starting out by importing some of the examples and figuring out how they work.

Share this post


Link to post
Share on other sites

Ok, thank you trey.
I think it will take me a good course in C + + in French if I want to understand this card, which is quite confusing when it comes from arduino .. ;).
A soon.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...