This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Where's the function list and instructions

I'm learning MSp430 mcu now, want to use CCE , I found some code of the header file in the CCE V3.1 lib , like this " _EINT() " , How many functions the CCE V3.1 have supply for us, what's the meaning , Where can I find the list and instructions?

Hope someone can help me!

  • _EINT() is an intrinsic function.  Intrinsics are essentially compiler-specific directives usually used for optimization purposes or readability.  You can find the list of intrinisic functions that CCE supports by searching "intrinsic functions" in the CCE help.  They are also listed in <intrinsics.h> - you'll notice that _EINT() is not in intrinsic.h because it's an IAR-specific directive (another very widely used MSP430 IDE).  The file <in430.h> maps the IAR intrinsic functions to CCE intrinsic functions for those more accustomed to IAR.

    Just FYI, this is how I find .h files with ease.  For instance, if I wanted to look at in430.h, I would type " #include <in430.h> " in my code.  Then save the file.  Then look at the outline view (Window -> Show View -> Outline), I think the window is placed on the right by default.  Double click the in430.h in the outline view and the source code should come up.

  • Thanks, It's helpfull[:D]

**Attention** This is a public forum