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.

MSP430F5359: Compiler produces error with TI code

Part Number: MSP430F5359
Other Parts Discussed in Thread: MSPDRIVERLIB

Please refer to the screen capture attached.

 

In our source file “ctrlTimer.c” line 9 calls out the TI definition file: “include timer_a.h”. In line 23 we use one of TI’s definitions: “ Timer_A_initUpDownModeParam.”  The compiler shows an error: “declaration is incompatible with Timer_A_initUpDownModeParam”

 

On the left side it can be seen that for timer_a.h “Timer_A_initUpDownModeParam” has been defined.   Why is it showing an error when we are using TI code definitions?

We are using IAR tools.

Thank you.

 

**Attention** This is a public forum